fix driver bug and rename test

This commit is contained in:
2026-10-06 02:10:17 -04:00
parent 69bb88630e
commit a3ca7244bd
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -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
+1
View File
@@ -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);