ywguo
|
Hi urian,
In section 7.3.6.3, VerilogAMS LRM 2.3.1, it reads that an analog primary (variable, potential, or flow) whose value is .... In section 7.3.6.5, VerilogAMS LRm 2.3.1, it reads that a digital primary (reg, wire, integer, etc.) whose value is ....
Obviously variable, potential and flow are primary in analog context, and reg, wire, integer, etc. are primary in analog context.
In your module, I is defined as a parameter. It results in illegal primary expression because I is access function of flow in verilogAMS.
Best Regards, Yawei
|