ad_ss_444to422: localparam can not be used in port definition

main
Istvan Csomortani 2019-10-14 16:02:07 +03:00 committed by István Csomortáni
parent b62aab985d
commit 5bcaf05355
1 changed files with 6 additions and 6 deletions

View File

@ -43,15 +43,15 @@ module ad_ss_444to422 #(
// 444 inputs // 444 inputs
input clk, input clk,
input s444_de, input s444_de,
input [DW:0] s444_sync, input [DELAY_DATA_WIDTH-1:0] s444_sync,
input [23:0] s444_data, input [23:0] s444_data,
// 422 outputs // 422 outputs
output reg [DW:0] s422_sync, output reg [DELAY_DATA_WIDTH-1:0] s422_sync,
output reg [15:0] s422_data); output reg [15:0] s422_data);
localparam DW = DELAY_DATA_WIDTH - 1; localparam DW = DELAY_DATA_WIDTH - 1;