run_test doesn't run

127 views
Skip to first unread message

Varun Rain

unread,
Jul 22, 2021, 5:59:07 AM7/22/21
to EDA Playground
I have a simple mux code and am trying to create a complete TB for the verification that includes uvm driver, monitor and so on. However I find the run_test doesn't run or hangs up during the compilation or simulation.

Attached is the link to my code.

Any help is appreciated.

Thank you

EDA Playground

unread,
Jul 23, 2021, 4:41:17 AM7/23/21
to EDA Playground
At the moment, it doesn't compile. I guess you are busy modifying it.

Kazuki Terada

unread,
Jul 23, 2021, 5:12:13 AM7/23/21
to EDA Playground
I'm still not sure why your test stops before going "body" of the sequence.
However, I just wanted to say about a few points on your code:
  1. uvm_test is not created at the top module. You can delete this line - t = new("TEST", null);
  2. run_test() requires a valid test name or you can indicate test name with +UVM_TESTNAME=...
  3. The latest sequence may not have an issue but previously your sequence doesn't have any start_item / finish_item. You can use some pre-defined macro like `uvm_do or so.
Currently your code cannot be compiled as someone mentioned. If your code will be fixed and I have some time, I'll be back to see this.
2021年7月23日金曜日 17:41:17 UTC+9 EDA Playground:
Reply all
Reply to author
Forward
0 new messages