suoto / hdl_checker

Repurposing existing HDL tools to help writing better code
GNU General Public License v3.0
192 stars 22 forks source link

No compiler flags applied even though hdl_checker.config exists #96

Open JDuchniewicz opened 3 years ago

JDuchniewicz commented 3 years ago

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.

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.