mirror of
https://github.com/verilator/verilator.git
synced 2025-01-14 18:44:02 +00:00
3c849d7ce0
When using a "if" statement inside an always block, part of the code may be unreachable. This can be used to avoid errors, but it generated an error, this commit demotes this to a warning. Partly fixes #2625.
11 lines
597 B
Plaintext
11 lines
597 B
Plaintext
%Warning-LITENDIAN: t/t_select_bad_msb.v:12:8: Little bit endian vector: left < right of bit range: [0:22]
|
|
: ... In instance t
|
|
12 | reg [0:22] backwd;
|
|
| ^
|
|
... Use "/* verilator lint_off LITENDIAN */" and lint_on around source to disable this message.
|
|
%Warning-SELRANGE: t/t_select_bad_msb.v:16:16: [1:4] Range extract has backward bit ordering, perhaps you wanted [4:1]
|
|
: ... In instance t
|
|
16 | sel2 = mi[1:4];
|
|
| ^
|
|
%Error: Exiting due to
|