fix driver bug and rename test
This commit is contained in:
@@ -67,6 +67,7 @@ class cpu_driver #(
|
||||
cpuVif.cb.w_en <= 1;
|
||||
@(cpuVif.cb);
|
||||
cpuVif.cb.w_en <= 0;
|
||||
@(cpuVif.cb);
|
||||
endtask : xbar_write
|
||||
|
||||
// Send one read through the external memory port and wait for its data
|
||||
@@ -99,6 +100,7 @@ class cpu_driver #(
|
||||
end
|
||||
|
||||
cpuVif.cb.r_en <= 0;
|
||||
@(cpuVif.cb);
|
||||
endtask : xbar_read
|
||||
|
||||
// Drive a start request for one CPU run
|
||||
|
||||
@@ -285,6 +285,7 @@ module cpu_tb_top;
|
||||
|
||||
drv.reset_task();
|
||||
init_memories();
|
||||
sb.set_test("random_xbar_traffic");
|
||||
seqr.gen_xbar(NUM_RANDOM_XBAR);
|
||||
seqr.wait_for_empty();
|
||||
repeat (2) @(cpu_if.cb);
|
||||
|
||||
Reference in New Issue
Block a user