mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-09 00:48:40 -08:00
stats: Add defaults for inputs
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user