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...
RichardT_altera
Super Contributor
1 year agoUnfortunately, modport interfaces are not supported in Quartus Standard. Consequently, any struct (SystemVerilog) used in a port list must have all members defined as either in or out directions.
Additionally, Quartus Prime Standard Edition has limited support for SystemVerilog.
If the same design is compiled in Quartus Pro, it should compile successfully.
Regards,
Richard Tan