hdl_checker icon indicating copy to clipboard operation
hdl_checker copied to clipboard

No compiler flags applied even though hdl_checker.config exists

Open JDuchniewicz opened this issue 4 years ago • 0 comments

Having a very simple .hdl_checker.config with just:

{
    "vhdl": {
        "flags": {
            "global": ["--std=08"]
        }
    }
}

yields no application of 2008 VHDL standard when I run vim in the directory on a VHDL source file. The expected result is to have the VHDL 2008 syntax rules applied. When I run ghdl analyze --std=08 ALU.vhd I obtain correct output and no errors due to unknown(2008) syntax.

  • Output of hdl_checker -V: 0.7.4
  • Python version used: Python 3.9.7
  • OS: Arch Linux x86
    • ghdl --version:
GHDL 1.0.0 (tarball) [Dunoon edition]
 Compiled with GNAT Version: 11.1.0
 GCC back-end code generator
Written by Tristan Gingold.

Copyright (C) 2003 - 2021 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

JDuchniewicz avatar Sep 17 '21 15:09 JDuchniewicz