ad_csc_RGB2CrYCb: localparam can not be used in port definition

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

View File

@ -47,14 +47,14 @@ module ad_csc_RGB2CrYCb #(
// R-G-B inputs // R-G-B inputs
input clk, input clk,
input [DW:0] RGB_sync, input [DELAY_DATA_WIDTH-1:0] RGB_sync,
input [23:0] RGB_data, input [23:0] RGB_data,
// Cr-Y-Cb outputs // Cr-Y-Cb outputs
output [DW:0] CrYCb_sync, output [DELAY_DATA_WIDTH-1:0] CrYCb_sync,
output [23:0] CrYCb_data); output [23:0] CrYCb_data);
localparam DW = DELAY_DATA_WIDTH - 1; localparam DW = DELAY_DATA_WIDTH - 1;