common/ad_ss_422to444.v: Fix warning
Using a localparam in a port declaration, causes the following warning: "identifier 'DW' is used before its declaration".main
parent
0152b645a6
commit
f0a29a682f
|
@ -45,12 +45,12 @@ module ad_ss_422to444 #(
|
||||||
|
|
||||||
input clk,
|
input clk,
|
||||||
input s422_de,
|
input s422_de,
|
||||||
input [DW:0] s422_sync,
|
input [DELAY_DATA_WIDTH-1:0] s422_sync,
|
||||||
input [ 15:0] s422_data,
|
input [ 15:0] s422_data,
|
||||||
|
|
||||||
// 444 outputs
|
// 444 outputs
|
||||||
|
|
||||||
output reg [DW:0] s444_sync,
|
output reg [DELAY_DATA_WIDTH-1:0] s444_sync,
|
||||||
output reg [ 23:0] s444_data);
|
output reg [ 23:0] s444_data);
|
||||||
|
|
||||||
localparam DW = DELAY_DATA_WIDTH - 1;
|
localparam DW = DELAY_DATA_WIDTH - 1;
|
||||||
|
|
Loading…
Reference in New Issue