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 37 to Rev 36
- ↔ Reverse comparison
Rev 37 → Rev 36
/tests/tb_riffa_register_file/the_test.sv
67,15 → 67,9
|
// -------------------------------------------------------------------- |
tb_top.a_h.queue_rx(RW*B, 0, 1); |
#200ns; |
tb_top.a_h.wait_for_rx(); |
|
// -------------------------------------------------------------------- |
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; |
|
// -------------------------------------------------------------------- |
/src/riffa_agent_class_pkg.sv
57,7 → 57,8
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); |
queue_tx(tr_h); |
tx_h.put(tr_h); |
tx_q.put(tr_h); |
endtask: queue_tx_constant |
|
|
66,7 → 67,8
task queue_tx_counting(int len, int off, bit last); |
tr_h = new(len, off, last); |
tr_h.counting(len, off, last); |
queue_tx(tr_h); |
tx_h.put(tr_h); |
tx_q.put(tr_h); |
endtask: queue_tx_counting |
|
|
75,7 → 77,8
task queue_tx_random(int len, int off, bit last); |
tr_h = new(len, off, last); |
tr_h.random(len, off, last); |
queue_tx(tr_h); |
tx_h.put(tr_h); |
tx_q.put(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++; |