Compliation error on OVM_RGM2.2 Release

When I tried to run the xbus_integration examples using demo.sh. But I am getting following errors.

file: …/…/sv/ovm_rgm_pkg.sv
if($cast(r, this) && (r.get_register_kind()==RGM_SHARED || r.get_register_kind==RGM_INDIRECT )&& name==“”)
|
ncvlog: *E,FUNOTR (…/…/sv/ovm_rgm_base.sv,551|83): A function (not called) is not a legal rvalue [10.3(IEEE)].
if(regs[i].get_full_name_list(s, this) != ADDR_ERR) begin
|
ncvlog: *E,TYCMPAT (…/…/sv/ovm_rgm_container.sv,1079|38): formal and actual do not have assignment compatible data types (expecting datatype compatible with ‘queue of string’ but found ‘dynamic array of string’ instead).
bytes=b;
|
ncvlog: *E,TYCMPAT (…/…/sv/ovm_rgm_reg_op.sv,173|10): assignment operator type check failed (expecting datatype compatible with ‘dynamic array of byte’ but found ‘queue of byte’ instead).
if(tmp_reg.get_register_kind==RGM_INDIRECT)
|
ncvlog: *E,FUNOTR (…/…/sv/ovm_rgm_sequencer.sv,175|37): A function (not called) is not a legal rvalue [10.3(IEEE)].
package worklib.ovm_rgm_pkg:sv
errors: 4, warnings: 0

Hi,

 I have a feeling that OVM_RGM_HOME is not getting pointed to right path. Can you send me the simulator version and log?

 -Vishal
 [email]vishalj@cadence.com[/email]

Hi Vishal,

I am using IUS 8.2.s009.
I have set the path of my ovm_home and ovm_rgm_home also.

Please find the attached log ([ATTACH]116[/ATTACH]) file after running demo.sh from xbus_integration of ovm_rgm.

Best Regards,
Pinal Patel

Hi Pinal,

Your IUS version is too old. Please try to move to latest IUS vesion and you should not see these errors.

Rgds,

-Vishal

Hi Vishal
Thanks for your help.

After using the latest IUS tool version (v9) its now working fine.

Best Regards,
Pinal Patel