ad_serdes: SERDES_FACTOR handover missing

In modules ad_serdes_in/ad_serdes_out the handover of the parameter
SERDES_FACTOR did not exist, causing unwanted behavioral in case of
factors less than 8.
SERDES_FACTOR must be hand over to DATA_WIDTH parameter of the SERDES
primitive.
main
Istvan Csomortani 2016-10-10 16:38:42 +03:00
parent f34aa67029
commit ff980551e6
2 changed files with 6 additions and 6 deletions

View File

@ -174,7 +174,7 @@ module ad_serdes_in #(
if (DEVICE_TYPE == DEVICE_7SERIES) begin if (DEVICE_TYPE == DEVICE_7SERIES) begin
ISERDESE2 #( ISERDESE2 #(
.DATA_RATE (DATA_RATE), .DATA_RATE (DATA_RATE),
.DATA_WIDTH (8), .DATA_WIDTH (SERDES_FACTOR),
.DYN_CLKDIV_INV_EN ("FALSE"), .DYN_CLKDIV_INV_EN ("FALSE"),
.DYN_CLK_INV_EN ("FALSE"), .DYN_CLK_INV_EN ("FALSE"),
.INIT_Q1 (1'b0), .INIT_Q1 (1'b0),
@ -223,7 +223,7 @@ module ad_serdes_in #(
if (DEVICE_TYPE == DEVICE_6SERIES) begin if (DEVICE_TYPE == DEVICE_6SERIES) begin
ISERDESE1 #( ISERDESE1 #(
.DATA_RATE (DATA_RATE), .DATA_RATE (DATA_RATE),
.DATA_WIDTH (8), .DATA_WIDTH (SERDES_FACTOR),
.DYN_CLKDIV_INV_EN ("FALSE"), .DYN_CLKDIV_INV_EN ("FALSE"),
.DYN_CLK_INV_EN ("FALSE"), .DYN_CLK_INV_EN ("FALSE"),
.INIT_Q1 (1'b0), .INIT_Q1 (1'b0),
@ -267,7 +267,7 @@ module ad_serdes_in #(
ISERDESE1 #( ISERDESE1 #(
.DATA_RATE (DATA_RATE), .DATA_RATE (DATA_RATE),
.DATA_WIDTH (8), .DATA_WIDTH (SERDES_FACTOR),
.DYN_CLKDIV_INV_EN ("FALSE"), .DYN_CLKDIV_INV_EN ("FALSE"),
.DYN_CLK_INV_EN ("FALSE"), .DYN_CLK_INV_EN ("FALSE"),
.INIT_Q1 (1'b0), .INIT_Q1 (1'b0),

View File

@ -84,7 +84,7 @@ module ad_serdes_out #(
OSERDESE2 #( OSERDESE2 #(
.DATA_RATE_OQ ("DDR"), .DATA_RATE_OQ ("DDR"),
.DATA_RATE_TQ ("SDR"), .DATA_RATE_TQ ("SDR"),
.DATA_WIDTH (8), .DATA_WIDTH (SERDES_FACTOR),
.TRISTATE_WIDTH (1), .TRISTATE_WIDTH (1),
.SERDES_MODE ("MASTER")) .SERDES_MODE ("MASTER"))
i_serdes ( i_serdes (
@ -121,7 +121,7 @@ module ad_serdes_out #(
OSERDESE1 #( OSERDESE1 #(
.DATA_RATE_OQ ("DDR"), .DATA_RATE_OQ ("DDR"),
.DATA_RATE_TQ ("SDR"), .DATA_RATE_TQ ("SDR"),
.DATA_WIDTH (8), .DATA_WIDTH (SERDES_FACTOR),
.INTERFACE_TYPE ("DEFAULT"), .INTERFACE_TYPE ("DEFAULT"),
.TRISTATE_WIDTH (1), .TRISTATE_WIDTH (1),
.SERDES_MODE ("MASTER")) .SERDES_MODE ("MASTER"))
@ -158,7 +158,7 @@ module ad_serdes_out #(
OSERDESE1 #( OSERDESE1 #(
.DATA_RATE_OQ ("DDR"), .DATA_RATE_OQ ("DDR"),
.DATA_RATE_TQ ("SDR"), .DATA_RATE_TQ ("SDR"),
.DATA_WIDTH (8), .DATA_WIDTH (SERDES_FACTOR),
.INTERFACE_TYPE ("DEFAULT"), .INTERFACE_TYPE ("DEFAULT"),
.TRISTATE_WIDTH (1), .TRISTATE_WIDTH (1),
.SERDES_MODE ("SLAVE")) .SERDES_MODE ("SLAVE"))