mirror of
https://github.com/fpganinja/taxi.git
synced 2025-12-09 00:48:40 -08:00
xfcp: Fix localparam definition
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -38,8 +38,8 @@ module taxi_xfcp_switch #
|
||||
taxi_axis_if.snk xfcp_dsp_us[PORTS]
|
||||
);
|
||||
|
||||
parameter CL_PORTS = PORTS > 1 ? $clog2(PORTS) : 1;
|
||||
parameter CL_PORTS_P1 = $clog2(PORTS+1);
|
||||
localparam CL_PORTS = PORTS > 1 ? $clog2(PORTS) : 1;
|
||||
localparam CL_PORTS_P1 = $clog2(PORTS+1);
|
||||
|
||||
// check configuration
|
||||
if (PORTS < 1 || PORTS > 256)
|
||||
|
||||
Reference in New Issue
Block a user