@@ -64,10 +64,10 @@ class cpu_driver #(
|
|||||||
// TODO: Drive one external write through the clocking block for one request,
|
// TODO: Drive one external write through the clocking block for one request,
|
||||||
// then return the port to idle
|
// then return the port to idle
|
||||||
|
|
||||||
cpuVif.cb.addr <= addr;
|
cpuVif.cb.addr <= addr;
|
||||||
cpuVif.cb.wdata <= data;
|
cpuVif.cb.data <= data;
|
||||||
|
|
||||||
cpuVif.cb.w_en <= 1;
|
cpuVif.cb.w_en <= 1;
|
||||||
@(cpuVif.cb);
|
@(cpuVif.cb);
|
||||||
cpuVif.cb.w_en <= 0;
|
cpuVif.cb.w_en <= 0;
|
||||||
endtask : xbar_write
|
endtask : xbar_write
|
||||||
|
|||||||
Reference in New Issue
Block a user