Closed NikLeberg closed 2 weeks ago
I've added a --check-synthesis
analysis option that does this. See test/simp/synth1.vhd for examples of cases it detects. I tried it on a few real world projects too and didn't notice any false positives.
Amazing! Thanks for adding this. It might save some poor souls a few hours of debugging. I know it would (and will) have helped me. 😅
Hi there, I have a small feature request. Given NVC's history as a linter (a long time ago), it would be awesome if it could report a mismatch between a VHDL process's sensitivity list and the signals actually read within the process. For example, if a signal is read but not included in the list, a warning would be emitted.
MWE:
For the above entity, running
nvc -a test.vhd
would emit a warning about missingb
signal in process sensitivity list.For ModelSim/Questa the flag
-check_synthesis
tovcom
does exactly this and emits:Thanks!