I have a module which takes two parameters,
ParameterTwo. I use their ratio a lot, so I gave it a name
const integer Ratio = ParameterOne/ParameterTwo.
I want to have a signal whose width is this ratio, so I defined a signal
logic [Ratio-1:0] wires. However, I get the error message
Range must be bounded by constant expressions. This leaves me perplexed, as this range is bounded by a constant expression (I explicitly declare it to be
Does anyone here know why it's complaining about this code?