Jump to content
Sign in to follow this  
zeno

VMM 1.2.2 compilation error by using Questasim 10.0b

Recommended Posts

Hi experts,

(1) I downloaded vmm 1.2.2 and wanted to compile it by Questasim 10.0b, but there was an error during the compilation process as :

# QuestaSim-64 vlog 10.0b Compiler 2011.05 May 5 2011

# ** Error: ../../../sv/std_lib/vmm.sv(4450): near "rst_typ": syntax error, unexpected IDENTIFIER, expecting ::

# ** Error: gen.sv(4450): near "=": syntax error, unexpected '=', expecting class

# ** Error: /Tools/linux/mentor/questasim10.0b/questasim/linux_x86_64/vlog failed.

# Error in macro ./run_questa line 5

# /Tools/linux/mentor/questasim10.0b/questasim/linux_x86_64/vlog failed.

# while executing

(2) I also downloaded another Questasim compatible version of vmm 1.1 c from OVM world contribution website, and there was no error during compilation and loading process, but when I ran the test an error is shown as below:

# ** Error: (vsim-8385) ../../../sv/std_lib/vmm_xactor.sv(26): fork..join_none statements in function 'new' only allowed if the calling process originates in an initial or always block.

# ** Error: (vsim-8385) ../../../sv/std_lib/vmm_channel.sv(25): fork..join_none statements in function 'new' only allowed if the calling process originates in an initial or always block.

Could anyone help me?

Thank you in advance.

BR

zeno

Share this post


Link to post
Share on other sites

Zeno,

For 1) you will need to contact Synopsys or Mentor to get the recently released VMM 1.2.2 version that is SystemVerilog compliant to run on all simulators.

For 2), your test most likely has a static class variable that initializes with a call to its constructor . Get rid of that static initialization and call new() in an initial block instead.

Dave

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×