From 66a15cd6e0ef6529fd64573279169b5c98cd2f52 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 8 May 2026 16:43:53 +0300 Subject: [PATCH] test: more cases for accum --- rtl/accum/tests/accum_full_tb.sv | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rtl/accum/tests/accum_full_tb.sv b/rtl/accum/tests/accum_full_tb.sv index 66d0071..f736609 100644 --- a/rtl/accum/tests/accum_full_tb.sv +++ b/rtl/accum/tests/accum_full_tb.sv @@ -9,7 +9,7 @@ module tb_accumulator_top; localparam PACKET_SIZE = 1024; localparam READ_BATCH_SIZE = (PACKET_SIZE*8)/ACCUM_WIDTH; localparam MAX_WORDS = N_MAX; - localparam MAX_SEQ_NUM = 64; + localparam MAX_SEQ_NUM = 256; logic clk_in; logic eth_clk_in; @@ -325,6 +325,9 @@ module tb_accumulator_top; run_test(4, 2, 12 * WINDOW_SIZE, 1'b1, 0, "random_seq7_smp12"); run_test(5, 4, 256 * WINDOW_SIZE, 1'b1, 0, "random_max_smpnum"); run_test(6, 2, 1500 * WINDOW_SIZE, 1'b1, 0, "random_max_smpnum2"); + run_test(7, 20, 1 * WINDOW_SIZE, 1'b1, 0, "random_20seq"); + run_test(8, 20, 3 * WINDOW_SIZE, 1'b1, 0, "random_20seqx3"); + run_test(9, 200, 1 * WINDOW_SIZE, 1'b1, 0, "random_200seq"); $display("\n========================================"); $display("ALL TESTS COMPLETED");