View Full Version : IUS version for OVM
ayari
01-11-2008, 03:19 AM
Hello,
with which IUS version can i run the OVM examples? (a short demo on some example would be very helpful!)
Thanks
stuart
01-11-2008, 09:27 AM
OVM 1.0 works with IUS 6.2-p1 and later releases. All OVM examples are run with the command:
irun -f compile_ius.f
-Stuart
elmar
02-22-2008, 05:12 AM
Hi,
Incisive license for irun 6,2 is not available to universities.
Is there any way to run OVM without irun, using ncverilog 6.2 or alike ?
Thanks
pjigar
02-23-2008, 09:32 AM
If you have IUS 6.2 installed then you have access to irun utility. It is very similar to ncverilog but in addition to Verilog and SystemVerilog, irun can accept VHDL, e, SystemC, AMS, etc.
elmar
02-25-2008, 11:06 AM
Correct, I can launch irun but I get errors messages because I do not have the license to run it. This is because I am a university professor and the Cadence University license does not inlcude irun. So my question is this:
Do I absolutely need irun to use OVM or is there any other tool from IUS 6.2
which is able to support OVM?
I am only interested in SystemVerilog and not in VHDL, nor SystemC, nor AMS (at least not at this moment).
umery
03-09-2008, 07:45 PM
Hi,
You can use ncverilog with IUS6.2 to run OVM. Do you have access to ncverilog?
See a simple example below.
file ncver_test.sv
module test;
`include "ovm.svh"
class test1 extends ovm_test;
`ovm_component_utils(test1)
function new(string name, ovm_component parent);
super.new(name, parent);
endfunction
task run();
`message (OVM_NONE, ("Running test1"))
endtask
endclass
initial run_test("test1");
endmodule
To run the example, you can use ncverilog or 3 step compile process by first running svpp as shown below.
1) `ncroot`/tools/urm/bin/svpp -incdir $OVMHOME/src ncver_test.sv
2) ncverilog +sv +incdir+INCA_libs/svpplib/specials +incdir+INCA_libs/svpplib/$OVMHOME/src INCA_libs/svpplib/ncver_test.sv +nowarn+PMBDVX
Umer
elmar
03-10-2008, 03:42 PM
Hi Umer,
I have access to ncverilog, like so:
file hello.sv
module hello;
logic [3:0] a;
initial begin
a = 3;
$display("Hello ", a);
end
endmodule
ncverilog +sv hello.sv
...
ncsim> run
Hello 3
...
However, when I try Your example I get:
Trying to check out license...
Incisive_Verif_Engine 6.2 - Failed
Incisive_Design_Team_Simulator 6.2 - Failed
Incisive_Enterprise_Simulator 6.2 - Failed
ncsim: *F,NOLICN: Unable to checkout license for the simulation. (flag - 10) 'lic_error -18'.
just the same what I get when I use irun.
Perhaps it is really svpp, not only irun, that needs the Incisive lincese ?
Regards,
Elmar
umery
03-11-2008, 08:45 AM
Hello Elmar,
svpp does not consume a license.
To run OVM, the simulator checks out a Design Team Simulator license. Please contact your Cadence Account Manager to get the correct license or you can send me an email and I can put you in touch with the right person.
Thanks,
Umer
syemets
07-22-2008, 06:42 AM
Hi, All.
I've found same trouble with IUS8.1 (08.10-s003).
The examples from ovm folder (ius/tools/ovm) do not compile either with ncverilog -ovm nor with irun -f compile_ius.f command.
I use the following options in compile_ius.f
+OVM_TESTNAME=test
+incdir+/usr/ius81/tools/ovm/src
-nowarn PMBDVX
-svpp -q
===============
trivial
------------- from log ----------------
...
Processing file /usr/ius81/tools/ovm/src/compatibility/urm_type_compatibility.svh ...
Processing file /usr/ius81/tools/ovm/src/compatibility/urm_meth_compatibility.svh ...
Processing file /usr/ius81/tools/ovm/src/cdns_additions/cdns_tcl_interface.svh ...
file: component.sv
import ovm_pkg::*;
|
ncvlog: *E,NOPBIND (component.sv,26|13): Package ovm_pkg could not be bound.
function new(string name, ovm_component parent);
|
ncvlog: *E,PKGDOCU (component.sv,30|40): SV package not allowed to access items declared in Compilation unit scope.
function new(string name, ovm_component parent);
...
--------------
hello_world/ovm
------------- from log ----------------
...
Processing file /usr/ius81/tools/ovm/src/cdns_additions/cdns_tcl_interface.svh ...
Processing file packet.sv ...
Processing file producer.sv ...
Processing file consumer.sv ...
svpp: *W,DUPDEF: block 'consumer' already defined in file ./consumer.sv. Current file=consumer.sv, line=22
Processing file top.sv ...
Processing file ./packet.sv ...
Processing file ./producer.sv ...
svpp: *W,DUPDEF: block 'producer' already defined in file producer.sv. Current file=./producer.sv, line=22
Processing file ./top.sv ...
file: consumer.sv
class consumer #(type T=packet) extends ovm_threaded_component;
|
ncvlog: *E,SVNOTY (consumer.sv,22|29): Syntactically this identifier appears to begin a datatype but it does not refer to a visible datatype in the current scope.
class consumer #(type T=packet) extends ovm_threaded_component;
...
--------------
BUT example from umery compiles and works with simple
irun -ovm file.sv
Is some dedicated options/environment required to run OVM examples under NCVERILOG?
What I should do to run the examples?
BR,
Sergey.
phuynh
07-22-2008, 03:48 PM
For the trivial example, you will need to compile the ovm_pkg. You can use the following command to compile the ovm_pkg & the trivial example:
irun +incdir+../../src ../../src/ovm_pkg.sv component.sv -ovm
Or you can change your compile_ius.f to:
+incdir+/usr/ius81/tools/ovm/src
-nowarn PMBDVX
-svpp -q
/usr/ius81/tools/ovm/src/ovm_pkg.sv
component.sv
For the hello_world example, please use the command below:
irun +incdir+../../../src/ -ovm hello_world.sv
BTW, you can use "-ovm" to replace "-nowarn PMBDVX -svpp".
syemets
07-23-2008, 02:42 AM
Thank You.
The examples work.
BR,
Sergey.
syemets
07-24-2008, 05:59 AM
It is better to take ovm sources from this site than from IUS distribution.
IUS exampes do not include compile file lists (compile_ius.f).
So it is required some additional efforts from beginer to write the files.
BR,
Sergey.
Powered by vBulletin™ Version 4.0.3 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.