My Driver, Monitor & Scoreboard run at 0 Semulation time... Whats the problam

Code Link:-

UVM_INFO testbench.sv(481) @ 0: uvm_test_top.env.sco [occ scoreboard] Inside Build Phase!
UVM_INFO testbench.sv(247) @ 0: uvm_test_top.env.agnt.dri [occ_driver] Inside Constructor
UVM_INFO testbench.sv(328) @ 0: uvm_test_top.env.agnt.mon [occ_monitor] Inside Constructor
UVM_INFO testbench.sv(253) @ 0: uvm_test_top.env.agnt.dri [occ_driver] Inside Build Phase
UVM_INFO testbench.sv(336) @ 0: uvm_test_top.env.agnt.mon [occ_monitor] Inside Build Phase
UVM_INFO testbench.sv(486) @ 0: uvm_test_top.env.sco [occ scoreboard] Inside Build Phase!
UVM_INFO testbench.sv(264) @ 0: uvm_test_top.env.agnt.dri [occ_driver] inside Connect Phase
UVM_INFO testbench.sv(347) @ 0: uvm_test_top.env.agnt.mon [occ_monitor] inside Connect Phase
UVM_INFO /xcelium23.09/tools/methodology/UVM/CDNS-1.2/sv/src/base/uvm_root.svh(605) @ 0: reporter [UVMTOP] UVM testbench topology:

Name Type Size Value

uvm_test_top occ_test - @1850
env occ_env - @1918
agnt occ_agent - @1952
dri occ_driver - @1893
rsp_port uvm_analysis_port - @2125
seq_item_port uvm_seq_item_pull_port - @2073
mon occ_monitor - @2022
monitor_port uvm_analysis_port - @2216
seqr occ_sequencer - @2247
rsp_export uvm_analysis_export - @2307
seq_item_export uvm_seq_item_pull_imp - @2867
arbitration_queue array 0 -
lock_queue array 0 -
num_last_reqs integral 32 'd1
num_last_rsps integral 32 'd1
sco occ_scoreboard - @1984
scoreboard_port uvm_analysis_imp - @2959

UVM_INFO testbench.sv(497) @ 0: uvm_test_top.env.sco [occ_scoreboard] Inside Run Phase
UVM_INFO testbench.sv(354) @ 0: uvm_test_top.env.agnt.mon [occ_monitor] Inside Run Phase
UVM_INFO testbench.sv(271) @ 0: uvm_test_top.env.agnt.dri [occ_driver] Inside Run Phase
UVM_INFO /xcelium23.09/tools/methodology/UVM/CDNS-1.2/sv/src/base/uvm_objection.svh(1271) @ 2495: reporter [TEST_DONE] ‘run’ phase is ready to proceed to the ‘extract’ phase
UVM_INFO /xcelium23.09/tools/methodology/UVM/CDNS-1.2/sv/src/base/uvm_report_server.svh(847) @ 2495: reporter [UVM/REPORT/SERVER]
— UVM Report Summary —

** Report counts by severity
UVM_INFO : 15
UVM_WARNING : 0
UVM_ERROR : 0
UVM_FATAL : 0
** Report counts by id
[RNTST] 1
[TEST_DONE] 1
[UVM/RELNOTES] 1
[UVMTOP] 1
[occ scoreboard] 2
[occ_driver] 4
[occ_monitor] 4
[occ_scoreboard] 1


Your simulation does not stop at time 0. It is time 2495. Your problem is the svan_en is 'x but not '0 as you checking in the scoreboard.
See here

1 Like

Thank you @chr_sue i think i understand whats the problam in my code … one more question is i want to randomise my scan_en signal is high for 100ns and then low for 100ns and then continue this toggaing, how to write this constraint…

pls see line no. 42 in top module

You should not rely on waht you are setting but what you get. See the simulation here