Line 55... |
Line 55... |
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
//
|
//
|
task queue_tx_constant(int len, int off, bit last, logic [(8*N)-1:0] value);
|
task queue_tx_constant(int len, int off, bit last, logic [(8*N)-1:0] value);
|
tr_h = new(len, off, last);
|
tr_h = new(len, off, last);
|
tr_h.constant(len, off, last, value);
|
tr_h.constant(len, off, last, value);
|
tx_h.put(tr_h);
|
queue_tx(tr_h);
|
tx_q.put(tr_h);
|
|
endtask: queue_tx_constant
|
endtask: queue_tx_constant
|
|
|
|
|
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
//
|
//
|
task queue_tx_counting(int len, int off, bit last);
|
task queue_tx_counting(int len, int off, bit last);
|
tr_h = new(len, off, last);
|
tr_h = new(len, off, last);
|
tr_h.counting(len, off, last);
|
tr_h.counting(len, off, last);
|
tx_h.put(tr_h);
|
queue_tx(tr_h);
|
tx_q.put(tr_h);
|
|
endtask: queue_tx_counting
|
endtask: queue_tx_counting
|
|
|
|
|
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
//
|
//
|
task queue_tx_random(int len, int off, bit last);
|
task queue_tx_random(int len, int off, bit last);
|
tr_h = new(len, off, last);
|
tr_h = new(len, off, last);
|
tr_h.random(len, off, last);
|
tr_h.random(len, off, last);
|
tx_h.put(tr_h);
|
queue_tx(tr_h);
|
tx_q.put(tr_h);
|
|
endtask: queue_tx_random
|
endtask: queue_tx_random
|
|
|
|
|
// --------------------------------------------------------------------
|
// --------------------------------------------------------------------
|
//
|
//
|