Hello everyone!
I just started to play with OVM. I’m using cadence irun utility.
As recommended I started with very simple project which is shipped with OVM.
This is hello_world example.
I launch this script with the following command line:
irun -f compile_ius.f
compile_ius.f contais few lines only:
-ovm
hello_world.sv
With irun report I can easily see that before ncsim everything is working well without any error messages.
But when ncsim starts error message occurs: *E,IMPDLL
Loading snapshot worklib.hello_world:sv .................... Done
ncsim: *E,IMPDLL: Unable to load the implicit shared object.
OSDLERROR: /home/user/WORK/ovm_example/ovm-2.1/ovm_lib/ovm_sv/examples/hello_world/ovm/INCA_libs/worklib/hello_world/sv/_sv_export.so: cannot open shared object file: No such file or directory or file is not valid ELFCLASS32 library..
ncsim> source /opt/INCISIV10.20/tools/inca/files/ncsimrc
ncsim> source /opt/INCISIV10.20/tools/ovm/files/tcl/ovm_sim.tcl
ncsim> run
SVSEED default: 1
----------------------------------------------------------------
CDNS-OVM-2.1.1 (10.20-p008)
(C) 2007-2009 Mentor Graphics Corporation
(C) 2007-2009 Cadence Design Systems, Inc.
----------------------------------------------------------------
OVM_INFO @ 0 ns: reporter [RNTST] Running test ...
OVM_INFO @ 0 ns: reporter [OVMTOP] OVM testbench topology:
----------------------------------------------------------------
Name Type Size Value
----------------------------------------------------------------
top top - -
consumer consumer #(T) - -
in ovm_blocking_put_i+ - -
recording_de+ ovm_verbosity 32 OVM_LOW
out ovm_get_port - -
recording_de+ ovm_verbosity 32 OVM_LOW
count integral 32 'd0
recording_deta+ ovm_verbosity 32 OVM_LOW
fifo tlm_fifo #(T) - -
get_ap ovm_analysis_port - -
recording_de+ ovm_verbosity 32 OVM_LOW
get_peek_export ovm_get_peek_imp - -
recording_de+ ovm_verbosity 32 OVM_LOW
put_ap ovm_analysis_port - -
recording_de+ ovm_verbosity 32 OVM_LOW
put_export ovm_put_imp - -
recording_de+ ovm_verbosity 32 OVM_LOW
recording_deta+ ovm_verbosity 32 OVM_LOW
producer1 producer #(T) - -
out ovm_blocking_put_p+ - -
recording_de+ ovm_verbosity 32 OVM_LOW
proto packet - -
num_packets integral 32 'd2
count integral 32 'd0
recording_deta+ ovm_verbosity 32 OVM_LOW
producer2 producer #(T) - -
out ovm_blocking_put_p+ - -
recording_de+ ovm_verbosity 32 OVM_LOW
proto packet - -
num_packets integral 32 'd4
count integral 32 'd0
recording_deta+ ovm_verbosity 32 OVM_LOW
recording_detail ovm_verbosity 32 OVM_LOW
----------------------------------------------------------------
OVM_INFO producer.sv(46) @ 0 ns: top.producer2 [producer] Starting.
SDI/Verilog Transaction Recording Facility Version 10.20-p008
SDI2 Transaction Recording API Version 10.20-p008
OVM_INFO producer.sv(62) @ 0 ns: top.producer2 [producer] Sending producer2-0
OVM_INFO producer.sv(46) @ 0 ns: top.producer1 [producer] Starting.
OVM_INFO producer.sv(62) @ 0 ns: top.producer1 [producer] Sending producer1-0
OVM_INFO producer.sv(62) @ 10 ns: top.producer2 [producer] Sending producer2-1
OVM_INFO producer.sv(62) @ 20 ns: top.producer2 [producer] Sending producer2-2
OVM_INFO consumer.sv(57) @ 40 ns: top.consumer [consumer] Received producer1-0 local_count=1
OVM_INFO producer.sv(62) @ 50 ns: top.producer1 [producer] Sending producer1-1
OVM_INFO consumer.sv(57) @ 80 ns: top.consumer [consumer] Received producer2-0 local_count=2
OVM_INFO producer.sv(62) @ 90 ns: top.producer2 [producer] Sending producer2-3
OVM_INFO consumer.sv(57) @ 120 ns: top.consumer [consumer] Received producer1-1 local_count=3
OVM_INFO producer.sv(73) @ 130 ns: top.producer1 [producer] Exiting.
OVM_INFO consumer.sv(57) @ 160 ns: top.consumer [consumer] Received producer2-1 local_count=4
OVM_INFO producer.sv(73) @ 170 ns: top.producer2 [producer] Exiting.
OVM_INFO consumer.sv(57) @ 200 ns: top.consumer [consumer] Received producer2-2 local_count=5
OVM_INFO consumer.sv(57) @ 240 ns: top.consumer [consumer] Received producer2-3 local_count=6
--- OVM Report Summary ---
** Report counts by severity
OVM_INFO : 18
OVM_WARNING : 0
OVM_ERROR : 0
OVM_FATAL : 0
** Report counts by id
[OVMTOP] 1
[RNTST] 1
[consumer] 6
[producer] 10
Simulation complete via $finish(1) at time 1 US + 7
/opt/INCISIV10.20/tools/ovm/ovm_lib/ovm_sv/sv/base/ovm_root.svh:533 $finish;
ncsim> exit
So it looks like simulation works well. Is it true in that occasion ?
Should I care about ERROR message above ?
Thanks in advance.