Wrong error in SVeditor code parser with tasks inside interfaces
Status: Beta
Brought to you by:
mballance
Dear SVEditor developers,
I have the following code that compiles without problem. The code is inside a SV interface.
The highlight debug tool of SVEditor says that there is a problem with that. I think it should work.
If you can correct this or do you have an idea, it would be appreciated.
task force_reg_rn_1(logic [31:0] value); `ifdef VCS $hdl_xmr_force("secure_core_tb_top.u_secure_core_wrp.secure_core_top_1.u00.u05.U04.SR_REG_RN_1", "value", "0 ps", "freeze", , 0); `else //QUESTA force secure_core_tb_top.u_secure_core_wrp.secure_core_top_1.u00.u05.U04.SR_REG_RN_1 = value;//direct force DUT intern signal `endif endtask task release_reg_rn_1(logic [31:0] value); `ifdef VCS $hdl_xmr_release("secure_core_tb_top.u_secure_core_wrp.secure_core_top_1.u00.u05.U04.SR_REG_RN_1", 0); `else //QUESTA release secure_core_tb_top.u_secure_core_wrp.secure_core_top_1.u00.u05.U04.SR_REG_RN_1 = value;//direct release DUT intern signal `endif endtask
See picture.
BR
Jonathan
Sorry i close this ticket. The error was that i was calling wrong the command release for Questa flavor. It should be