Forum Discussion
keegandent
New Contributor
2 years agoError (10742): Verilog HDL error: constant expression cannot contain a hierarchical identifier
It seems this issue may not have been resolved, at least not in a way that applies to SystemVerilog `interface` objects. This is a toy example, but I can provide Quartus project upon request. I am u...
YossiTeamen
New Contributor
1 year agoI'm having a similar issue that happens only in quartus 23.
I'm receiving a parameter to a module as followed : "Parameter = '{x: 'h0, y: 'hfff}"
and I later use it for a local param like this: "localparam something = Parameter.x"
The errors I receive is "constant expression cannot contain a hierarchical identifier" and "x is not a constant"
How can I resolve this in a way that I won't have to go back to older quartus version?