Forum Discussion

TAnde27's avatar
TAnde27
Icon for New Contributor rankNew Contributor
6 years ago
Solved

Why won't Quartus give me an error or warning for this obvious Verilog error during compilation?

Hi, In my Verilog HDL projects, it seems Quartus provides no notification (errors, warnings, or messages in the compilation log) if I accidentally declare a port as an input but then assign it with...
  • ak6dn's avatar
    6 years ago

    This is why such tools as 'VeriLint' were developed that try to check the semantics of what your code is doing vs pure syntax.

    Your example has correct language syntax, but the semantics of what you are doing is not (necessarily) meaningful. It could be, or not.

    You can't expect the QuartusII verilog parser to figure these things out. VHDL language is much more strict, Verilog is looser.