Commit 717d0f1e authored by Denia Bouhired-Ferrag's avatar Denia Bouhired-Ferrag Committed by Maciej Lipinski

Since generic fifo has been fixed in general cores, the threshold values have…

Since generic fifo has been fixed in general cores, the threshold values have been corrected accordingle and the threshold for transmission needn't have an offset to work
parent 210f944f
......@@ -509,7 +509,7 @@ module main;
//Tx TEST 2: Check that when timeout is reached, frame is transmitted
//-------------------------------------------------------------------------
current_test = "Tx TIMEOUT";
blk_size = $urandom_range(g_tx_thr - 2, 1); //send less words than minimum threshold
blk_size = $urandom_range(g_tx_thr - 1, 1); //send less words than minimum threshold
frm_size = 1 ; //For timeout test no need for multiple blocks
gen_send_frm(frm, frm_size, blk_size);
tx_frm_queue.push_back(frm);
......@@ -532,7 +532,7 @@ module main;
//Tx TEST 3: Check that minimum number of words/frame triggers transmission
//-------------------------------------------------------------------------
current_test = "Tx MIN WORDS";
blk_size = g_tx_thr + 2; //Tx 1 more words that the limit
blk_size = g_tx_thr ; //Tx 1 more words that the limit
frm_size = 1;
gen_send_frm(frm, frm_size, blk_size); //generate and send a frame
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment