diff --git a/testbench/scb_top/main.sv b/testbench/scb_top/main.sv index 017f0e2c6089d114e1798b160ff5d451290daeea..1f2bbae649fe5746bc9c53c1e49b0b6f4a1e3e64 100644 --- a/testbench/scb_top/main.sv +++ b/testbench/scb_top/main.sv @@ -1977,7 +1977,7 @@ module main; /* * test 100% load **/ -///* +/* initial begin portUnderTest = 18'b100000000000000001; // portUnderTest = 18'b111111111111111111; @@ -2003,8 +2003,119 @@ module main; // tx ,rx ,opt // trans_paths[0] = '{0 ,17 ,1000}; // trans_paths[17] = '{17 ,0 ,1000}; + end +*/ + + /** *************************** test scenario 62 ************************************* **/ + /* + * test 100% (high) load for 2 streams of small frames + **/ +/* + initial begin + portUnderTest = 18'b110000000000000011; + g_enable_pck_gaps = 0; + repeat_number = 500000; + tries_number = 1; + g_force_payload_size = 46; + + g_is_qvlan = 0; + // tx ,rx ,opt + trans_paths[0] = '{0 ,17 ,0}; + trans_paths[17] = '{17 ,0 ,0}; + + trans_paths[1] = '{1 ,16 ,0}; + trans_paths[16] = '{16 ,1 ,0}; + + end +*/ + + /** *************************** test scenario 63 ************************************* **/ + /* + * test 100% (high) load for tagged frames + **/ +/* + initial begin + portUnderTest = 18'b100000000000000001; + g_enable_pck_gaps = 0; + repeat_number = 500000; + tries_number = 1; + g_force_payload_size = 46; + g_is_qvlan = 1; + + // tx ,rx ,opt + trans_paths[0] = '{0 ,17 ,0}; + trans_paths[17] = '{17 ,0 ,0}; + end //*/ + /** *************************** test scenario 64 ************************************* **/ + /* + * test 100% (high) with tagging/untagging + **/ +///* + initial begin + portUnderTest = 18'b100000000000000001; + g_enable_pck_gaps = 0; + repeat_number = 500000; + tries_number = 1; +// g_force_payload_size = 331;//46; + g_force_payload_size = 88; // it should be 106 of the entire frame +// g_set_untagging = 1; +// qmode = 3; + g_is_qvlan = 0; + + // strange config -> make some strange wholes.... check this +// qmode = 3; +// g_is_qvlan = 1; + // tx ,rx ,opt + trans_paths[0] = '{0 ,17 ,0}; + trans_paths[17] = '{17 ,0 ,0}; + + end +//*/ + /** *************************** test scenario 65 ************************************* **/ + /* + * test 100% (high) with tagging/untagging + **/ +/* + initial begin + portUnderTest = 18'b100000000000000001; + g_enable_pck_gaps = 0; + repeat_number = 500000; + tries_number = 1; + g_force_payload_size = 128;//46; + g_set_untagging = 1; +// qmode = 3; +// g_is_qvlan = 0; +// + // strange config -> make some strange wholes.... check this + qmode = 3; + g_is_qvlan = 1; + // tx ,rx ,opt + trans_paths[0] = '{0 ,17 ,0}; + trans_paths[17] = '{17 ,0 ,0}; + + end + */ + /** *************************** test scenario 66 ************************************* **/ + /* + * test 100% (high) with tagging/untagging + **/ +/* + initial begin + portUnderTest = 18'b100000000000000001; + g_enable_pck_gaps = 0; + repeat_number = 500000; + tries_number = 1; + g_force_payload_size = 46; + + g_is_qvlan = 0; + // tx ,rx ,opt + trans_paths[0] = '{0 ,17 ,0}; + trans_paths[17] = '{17 ,0 ,0}; + + end + */ ////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////