axi_jesd204: Cleanup unused parameter

main
Laszlo Nagy 2022-08-19 14:56:18 +01:00 committed by Laszlo Nagy
parent a1d31b4913
commit ee3af4c9c6
4 changed files with 5 additions and 17 deletions

View File

@ -44,9 +44,7 @@
`timescale 1ns/100ps `timescale 1ns/100ps
module jesd204_up_sysref #( module jesd204_up_sysref (
parameter DATA_PATH_WIDTH_LOG2 = 2
) (
input up_clk, input up_clk,
input up_reset, input up_reset,

View File

@ -130,8 +130,6 @@ module axi_jesd204_rx #(
localparam PCORE_VERSION = 32'h00010761; // 1.07.a localparam PCORE_VERSION = 32'h00010761; // 1.07.a
localparam PCORE_MAGIC = 32'h32303452; // 204R localparam PCORE_MAGIC = 32'h32303452; // 204R
localparam DATA_PATH_WIDTH_LOG2 = (DATA_PATH_WIDTH == 8) ? 3 : 2;
/* Register interface signals */ /* Register interface signals */
reg [31:0] up_rdata = 'h0; reg [31:0] up_rdata = 'h0;
reg up_wack = 1'b0; reg up_wack = 1'b0;
@ -279,9 +277,7 @@ module axi_jesd204_rx #(
.status_synth_params1(status_synth_params1), .status_synth_params1(status_synth_params1),
.status_synth_params2(status_synth_params2)); .status_synth_params2(status_synth_params2));
jesd204_up_sysref #( jesd204_up_sysref i_up_sysref (
.DATA_PATH_WIDTH_LOG2(DATA_PATH_WIDTH_LOG2)
) i_up_sysref (
.up_clk(s_axi_aclk), .up_clk(s_axi_aclk),
.up_reset(up_reset), .up_reset(up_reset),
@ -304,8 +300,7 @@ module axi_jesd204_rx #(
jesd204_up_rx #( jesd204_up_rx #(
.NUM_LANES(NUM_LANES), .NUM_LANES(NUM_LANES),
.DATA_PATH_WIDTH(DATA_PATH_WIDTH), .DATA_PATH_WIDTH(DATA_PATH_WIDTH)
.DATA_PATH_WIDTH_LOG2(DATA_PATH_WIDTH_LOG2)
) i_up_rx ( ) i_up_rx (
.up_clk(s_axi_aclk), .up_clk(s_axi_aclk),
.up_reset(up_reset), .up_reset(up_reset),

View File

@ -46,8 +46,7 @@
module jesd204_up_rx #( module jesd204_up_rx #(
parameter NUM_LANES = 1, parameter NUM_LANES = 1,
parameter DATA_PATH_WIDTH = 4, parameter DATA_PATH_WIDTH = 4
parameter DATA_PATH_WIDTH_LOG2 = 2
) ( ) (
input up_clk, input up_clk,
input up_reset, input up_reset,

View File

@ -122,8 +122,6 @@ module axi_jesd204_tx #(
localparam PCORE_VERSION = 32'h00010661; // 1.06.a localparam PCORE_VERSION = 32'h00010661; // 1.06.a
localparam PCORE_MAGIC = 32'h32303454; // 204T localparam PCORE_MAGIC = 32'h32303454; // 204T
localparam DATA_PATH_WIDTH_LOG2 = (DATA_PATH_WIDTH == 8) ? 3 : 2;
wire up_reset; wire up_reset;
/* Register interface signals */ /* Register interface signals */
@ -259,9 +257,7 @@ module axi_jesd204_tx #(
.status_synth_params1(status_synth_params1), .status_synth_params1(status_synth_params1),
.status_synth_params2(status_synth_params2)); .status_synth_params2(status_synth_params2));
jesd204_up_sysref #( jesd204_up_sysref i_up_sysref (
.DATA_PATH_WIDTH_LOG2(DATA_PATH_WIDTH_LOG2)
) i_up_sysref (
.up_clk(s_axi_aclk), .up_clk(s_axi_aclk),
.up_reset(up_reset), .up_reset(up_reset),