URL
https://opencores.org/ocsvn/turbo8051/turbo8051/trunk
[/] [turbo8051/] [trunk/] [verif/] [tb/] [tb_tasks.v] - Diff between revs 15 and 28
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 15 |
Rev 28 |
Line 17... |
Line 17... |
reg_cs = 1;
|
reg_cs = 1;
|
reg_wr = 0;
|
reg_wr = 0;
|
reg_be = 4'hF;
|
reg_be = 4'hF;
|
reg_addr = address;
|
reg_addr = address;
|
@(posedge reg_ack);
|
@(posedge reg_ack);
|
read_data = #1 reg_rdata;
|
#1 read_data = reg_rdata;
|
@(posedge app_clk);
|
@(posedge app_clk);
|
reg_cs = 0;
|
reg_cs = 0;
|
//$display ("Config-Read: Id: %h Addr = %h, Data = %h", block_id,address, read_data);
|
//$display ("Config-Read: Id: %h Addr = %h, Data = %h", block_id,address, read_data);
|
end
|
end
|
endtask
|
endtask
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.