From b62aab985db28f99cc107f1923972e63165c2fa7 Mon Sep 17 00:00:00 2001 From: Istvan Csomortani Date: Mon, 14 Oct 2019 16:01:33 +0300 Subject: [PATCH] ad_csc_RGB2CrYCb: localparam can not be used in port definition --- library/common/ad_csc_RGB2CrYCb.v | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/common/ad_csc_RGB2CrYCb.v b/library/common/ad_csc_RGB2CrYCb.v index 6ec0b8f07..d1b15fb87 100644 --- a/library/common/ad_csc_RGB2CrYCb.v +++ b/library/common/ad_csc_RGB2CrYCb.v @@ -47,14 +47,14 @@ module ad_csc_RGB2CrYCb #( // R-G-B inputs - input clk, - input [DW:0] RGB_sync, - input [23:0] RGB_data, + input clk, + input [DELAY_DATA_WIDTH-1:0] RGB_sync, + input [23:0] RGB_data, // Cr-Y-Cb outputs - output [DW:0] CrYCb_sync, - output [23:0] CrYCb_data); + output [DELAY_DATA_WIDTH-1:0] CrYCb_sync, + output [23:0] CrYCb_data); localparam DW = DELAY_DATA_WIDTH - 1;