URL
https://opencores.org/ocsvn/qaz_libs/qaz_libs/trunk
Subversion Repositories qaz_libs
Compare Revisions
- This comparison shows the changes necessary to convert path
/qaz_libs/trunk/PCIe/sim
- from Rev 36 to Rev 37
- ↔ Reverse comparison
Rev 36 → Rev 37
/src/riffa_agent_class_pkg.sv
57,8 → 57,7
task queue_tx_constant(int len, int off, bit last, logic [(8*N)-1:0] value); |
tr_h = new(len, off, last); |
tr_h.constant(len, off, last, value); |
tx_h.put(tr_h); |
tx_q.put(tr_h); |
queue_tx(tr_h); |
endtask: queue_tx_constant |
|
|
67,8 → 66,7
task queue_tx_counting(int len, int off, bit last); |
tr_h = new(len, off, last); |
tr_h.counting(len, off, last); |
tx_h.put(tr_h); |
tx_q.put(tr_h); |
queue_tx(tr_h); |
endtask: queue_tx_counting |
|
|
77,8 → 75,7
task queue_tx_random(int len, int off, bit last); |
tr_h = new(len, off, last); |
tr_h.random(len, off, last); |
tx_h.put(tr_h); |
tx_q.put(tr_h); |
queue_tx(tr_h); |
endtask: queue_tx_random |
|
|
/src/riffa_bfm_class_pkg.sv
111,7 → 111,7
begin |
if(error_count > max_mismatches) |
break; |
if(this.data[i] != to.data[i]) |
if(this.data[i] !== to.data[i]) |
begin |
$display("!!! %16.t | ERROR! | 0x%x | this != to | 0x%x != 0x%x", $time, i, this.data[i], to.data[i]); |
error_count++; |
/tests/tb_riffa_register_file/the_test.sv
67,9 → 67,15
|
// -------------------------------------------------------------------- |
tb_top.a_h.queue_rx(RW*B, 0, 1); |
tb_top.a_h.wait_for_rx(); |
#200ns; |
|
// -------------------------------------------------------------------- |
tb_top.a_h.tr_h = new(RW, 0, 1); |
tb_top.a_h.tr_h.constant(RW, 0, 1, 1); |
tb_top.a_h.queue_tx(tb_top.a_h.tr_h); |
tb_top.a_h.wait_for_tx(); |
|
// -------------------------------------------------------------------- |
#200ns; |
|
// -------------------------------------------------------------------- |