Jump to content

Test stop [TEST_DONE] before the sequencer drop_objection


Recommended Posts

I try to write my first UVM verification test environment, but I found the test is stopped before the sequencer drop_objection.

I highlight when the sequencer raise objection and when it drop it. But another highlight is [TEST_DONE] which happened before sequencer drop objection.

I have no idea why it happened and any could have a look to it.

Thanks.

# UVM_INFO ../src/sample_env.sv(66) @ 0: uvm_test_top.sample_tb0.sample_env0 [RUN] Starting up 'uvm_test_top.sample_tb0.sample_env0'

# UVM_INFO ../../lib/sample_pkg/sample_agent.sv(40) @ 0: uvm_test_top.sample_tb0.sample_env0.agent [RUN] String up 'uvm_test_top.sample_tb0.sample_env0.agent'

# UVM_INFO verilog_src/uvm-1.1a/src/base/uvm_objection.svh(1120) @ 0: reporter [TEST_DONE] 'run' phase is ready to proceed to the 'extract' phase

# UVM_INFO ../../lib/sample_pkg/sample_seq_lib.sv(19) @ 0: uvm_test_top.sample_tb0.sample_env0.agent.sequencer@@sample_quick_test_sequence [sample_quick_test_sequence] sample_quick_test_sequence pre_body() raising main objection

...

# UVM_INFO ../../lib/cpu_pkg/cpu_driver.sv(54) @ 157833000: uvm_test_top.sample_tb0.sample_env0.cpu_drv [DRIVER] @(6) 9018

# UVM_INFO ../../lib/cpu_pkg/cpu_driver.sv(54) @ 158015000: uvm_test_top.sample_tb0.sample_env0.cpu_drv [DRIVER] @(7) c907

# UVM_INFO ../../lib/cpu_pkg/cpu_driver.sv(62) @ 158067000: uvm_test_top.sample_tb0.sample_env0.cpu_drv [cpu_driver] Dropping objection

# UVM_INFO ../../lib/cpu_pkg/cpu_driver.sv(38) @ 158067000: uvm_test_top.sample_tb0.sample_env0.cpu_drv [cpu_driver] Raising objection

# UVM_INFO ../../lib/cpu_pkg/cpu_driver.sv(41) @ 160870000: uvm_test_top.sample_tb0.sample_env0.cpu_drv [DRV] Sample Number = 1

# UVM_INFO ../../lib/cpu_pkg/cpu_driver.sv(54) @ 160979000: uvm_test_top.sample_tb0.sample_env0.cpu_drv [DRIVER] @(0) 21f0

# UVM_INFO ../../lib/cpu_pkg/cpu_driver.sv(62) @ 161031000: uvm_test_top.sample_tb0.sample_env0.cpu_drv [cpu_driver] Dropping objection

# UVM_INFO verilog_src/uvm-1.1a/src/base/uvm_objection.svh(1120) @ 161031000: reporter [TEST_DONE] 'run' phase is ready to proceed to the 'extract' phase

# UVM_INFO ../../lib/sample_pkg/sample_driver.sv(46) @ 161090000: uvm_test_top.sample_tb0.sample_env0.agent.driver [DRIVER] item = Sample Number = 6, Sample Delay = 10

# UVM_INFO ../../lib/cpu_pkg/cpu_driver.sv(38) @ 161090000: uvm_test_top.sample_tb0.sample_env0.cpu_drv [cpu_driver] Raising objection

/top/uANA_RAMP_MON/uSAMPLE_DATA_BUFFER/U0/native_mem_module/mem_module/async_coll

# UVM_INFO ../../lib/cpu_pkg/cpu_driver.sv(41) @ 185670000: uvm_test_top.sample_tb0.sample_env0.cpu_drv [DRV] Sample Number = 6

# UVM_INFO ../../lib/cpu_pkg/cpu_driver.sv(54) @ 185783000: uvm_test_top.sample_tb0.sample_env0.cpu_drv [DRIVER] @(0) 43c

# UVM_INFO ../../lib/sample_pkg/sample_seq_lib.sv(30) @ 185870000: uvm_test_top.sample_tb0.sample_env0.agent.sequencer@@sample_quick_test_sequence [sample_quick_test_sequence] sample_quick_test_sequence post_body() dropping main objection

# UVM_INFO ../src/sample_base_test.sv(33) @ 185870000: uvm_test_top [test_10_seq_item] ** UVM TEST PASSED **

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...