Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

UVM Simulation inquestasim 10.0b version

$
0
0

Can Anybody please tell me how to simulate UVM Program in Questasim 10.0b 

 

I'm getting the following errors for hello world program The program is in attached file.

 

 

# -- Compiling package my_pkg

# -- Importing package mtiUvm.uvm_pkg (uvm-1.0p1 Built-in)

# ** Error: hello_world/class.sv(4): (vlog-2163) Macro `uvm_component_utils is undefined.

# ** Error: hello_world/class.sv(4): near "(": syntax error, unexpected '(', expecting function or task

# -- Compiling module dut

# ** Error: hello_world/dut.sv(2): Undefined variable: dif.

# ** Error: hello_world/dut.sv(2): Illegal use of 'automatic' for variable declaration (dif).

# ** Error: hello_world/dut.sv(1): Identifier must be declared with a port mode: dif.

# ** Error: hello_world/inf.sv(4): near "m": syntax error, unexpected IDENTIFIER, expecting class

# ** Error: hello_world/top.sv(1): near "module": syntax error, unexpected module, expecting IDENTIFIER or TYPE_IDENTIFIER

# C:/questasim_10.0b/win32/vlog failed.

 

 

In the attached file program is there.

 

 

Please help me.

Attached Files


Viewing all articles
Browse latest Browse all 756

Trending Articles