library/commmon: Fix data width warnings

ad_tdd_control.v: Set ON and OFF local parameters on just one bit.
up_dac_common.v: Set CLK_EDGE_SEL parameter on just one bit.
main
stefan.raus 2020-09-22 16:21:09 +01:00 committed by SRaus
parent 1e31b9dd97
commit d2ef1bcef5
2 changed files with 3 additions and 3 deletions

View File

@ -92,8 +92,8 @@ module ad_tdd_control#(
output [23:0] tdd_counter_status);
localparam ON = 1;
localparam OFF = 0;
localparam [ 0:0] ON = 1;
localparam [ 0:0] OFF = 0;
// tdd control related

View File

@ -45,7 +45,7 @@ module up_dac_common #(
parameter [ 7:0] SPEED_GRADE = 0,
parameter [ 7:0] DEV_PACKAGE = 0,
parameter CONFIG = 0,
parameter CLK_EDGE_SEL = 1'b0,
parameter [ 0:0] CLK_EDGE_SEL = 1'b0,
parameter COMMON_ID = 6'h10,
parameter DRP_DISABLE = 0,
parameter USERPORTS_DISABLE = 0,