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
Hi,
I am linting the clic_apb module with Verilator using verilator --lint-only --top-module clic_apb $(bender script verilator).
There are a few warnings, but no errors.
However, when I change the parameter INTCTLBITS of clic_apb to a non-default value (e.g. 4), I get the following error:
%Error: [...]/clic/src/clic.sv:114:19: SEL unexpected in assignment to unpacked array
114 | .prio_i (intctl),
| ^~~~~~
This happens because signal intctl has a hardcoded width of 8 and not INTCTLBITS bits (same for signal irq_max).
The error can likely be fixed by changing the width of these signals, but I am not sure if any other logic needs to be changed also.
The text was updated successfully, but these errors were encountered:
Hi,
I am linting the
clic_apb
module with Verilator usingverilator --lint-only --top-module clic_apb $(bender script verilator)
.There are a few warnings, but no errors.
However, when I change the parameter
INTCTLBITS
ofclic_apb
to a non-default value (e.g. 4), I get the following error:This happens because signal
intctl
has a hardcoded width of 8 and notINTCTLBITS
bits (same for signalirq_max
).The error can likely be fixed by changing the width of these signals, but I am not sure if any other logic needs to be changed also.
The text was updated successfully, but these errors were encountered: