axi_ad9434: Fix bad parameter definition

Assigning the value of a local parameter(localparam) to a parameter
will end up with a conflict(not highlighted by the tool). In this
case, the parameter type was defined as a string instead of an
integer. Furthermore, this scenario leads to an undesired choice
between primitive types.
main
AndreiGrozav 2018-01-18 14:46:08 +02:00
parent 2e59a70cdd
commit d44f7d1e4f
1 changed files with 1 additions and 4 deletions

View File

@ -38,7 +38,7 @@
module axi_ad9434 #( module axi_ad9434 #(
parameter ID = 0, parameter ID = 0,
parameter DEVICE_TYPE = SERIES7, parameter DEVICE_TYPE = 0,
parameter IO_DELAY_GROUP = "dev_if_delay_group") ( parameter IO_DELAY_GROUP = "dev_if_delay_group") (
// physical interface // physical interface
@ -82,9 +82,6 @@ module axi_ad9434 #(
input [ 2:0] s_axi_awprot, input [ 2:0] s_axi_awprot,
input [ 2:0] s_axi_arprot); input [ 2:0] s_axi_arprot);
localparam SERIES7 = 0;
localparam SERIES6 = 1;
// internal clocks & resets // internal clocks & resets
wire adc_rst; wire adc_rst;