ad_ip_jesd204_tpl_dac_framer: fix localparam ordering
The parameters were not in the order of invocation and this causes an error in the vivado simulator (xsim).main
parent
9364c8501a
commit
6da4f61786
|
@ -89,11 +89,11 @@ module ad_ip_jesd204_tpl_dac_framer #(
|
||||||
* ordered in either case. That means lower bits are in the LSBs.
|
* ordered in either case. That means lower bits are in the LSBs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
localparam FRAMES_PER_BEAT = OCTETS_PER_BEAT * 8 / BITS_PER_LANE_PER_FRAME;
|
|
||||||
localparam SAMPLES_PER_BEAT = DAC_DATA_WIDTH / CONVERTER_RESOLUTION;
|
|
||||||
localparam BITS_PER_CHANNEL_PER_FRAME = BITS_PER_SAMPLE * SAMPLES_PER_FRAME;
|
localparam BITS_PER_CHANNEL_PER_FRAME = BITS_PER_SAMPLE * SAMPLES_PER_FRAME;
|
||||||
localparam BITS_PER_LANE_PER_FRAME = BITS_PER_CHANNEL_PER_FRAME *
|
localparam BITS_PER_LANE_PER_FRAME = BITS_PER_CHANNEL_PER_FRAME *
|
||||||
NUM_CHANNELS / NUM_LANES;
|
NUM_CHANNELS / NUM_LANES;
|
||||||
|
localparam FRAMES_PER_BEAT = OCTETS_PER_BEAT * 8 / BITS_PER_LANE_PER_FRAME;
|
||||||
|
localparam SAMPLES_PER_BEAT = DAC_DATA_WIDTH / CONVERTER_RESOLUTION;
|
||||||
localparam TAIL_BITS = BITS_PER_SAMPLE - CONVERTER_RESOLUTION;
|
localparam TAIL_BITS = BITS_PER_SAMPLE - CONVERTER_RESOLUTION;
|
||||||
|
|
||||||
wire [LINK_DATA_WIDTH-1:0] link_data_msb_s;
|
wire [LINK_DATA_WIDTH-1:0] link_data_msb_s;
|
||||||
|
|
Loading…
Reference in New Issue