You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ verilator --lint-only Foo.v
%Warning-WIDTH: Foo.v:7:30: Operator AND expects 32 or 4 bits on the LHS, but LHS's NEQ generates 1 bits. : ... In instance Foo 7 | assign O = _GEN[I != 8'hFF & I[0]];| ^
... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.
%Warning-WIDTH: Foo.v:7:30: Operator AND expects 32 or 4 bits on the RHS, but RHS's SEL generates 1 bits. : ... In instance Foo 7 | assign O = _GEN[I != 8'hFF & I[0]];| ^
%Error: Exiting due to 2 warning(s)
The text was updated successfully, but these errors were encountered:
@rsetaluri given your knowledge of the verilog width inference rules, is this an issue with the way the verilog is generated? Or is it an issue with the verilator implementation of the width inference?
Magma
MLIR
verilog
lint result
The text was updated successfully, but these errors were encountered: