stats: Add defaults for inputs

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-04-14 16:44:03 -07:00
parent 1f1c15ba8d
commit b505167348

View File

@@ -34,7 +34,7 @@ module taxi_stats_collect #
* Increment inputs * Increment inputs
*/ */
input wire logic [INC_W-1:0] stat_inc[CNT], input wire logic [INC_W-1:0] stat_inc[CNT],
input wire logic stat_valid[CNT], input wire logic stat_valid[CNT] = '{CNT{1'b1}},
/* /*
* Statistics increment output * Statistics increment output
@@ -44,7 +44,7 @@ module taxi_stats_collect #
/* /*
* Control inputs * Control inputs
*/ */
input wire logic update input wire logic update = 1'b0
); );
localparam STAT_INC_W = m_axis_stat.DATA_W; localparam STAT_INC_W = m_axis_stat.DATA_W;