diff --git a/library/util_dacfifo/util_dacfifo_bypass.v b/library/util_dacfifo/util_dacfifo_bypass.v index 9a008ca64..62d99a460 100644 --- a/library/util_dacfifo/util_dacfifo_bypass.v +++ b/library/util_dacfifo/util_dacfifo_bypass.v @@ -65,7 +65,7 @@ module util_dacfifo_bypass #( localparam MEM_RATIO = (DMA_DATA_WIDTH > DAC_DATA_WIDTH) ? DMA_DATA_WIDTH/DAC_DATA_WIDTH : DAC_DATA_WIDTH/DMA_DATA_WIDTH; - localparam DAC_ADDRESS_WIDTH = 10; + localparam DAC_ADDRESS_WIDTH = 4; localparam DMA_ADDRESS_WIDTH = (MEM_RATIO == 1) ? DAC_ADDRESS_WIDTH : (MEM_RATIO == 2) ? ((DMA_DATA_WIDTH > DAC_DATA_WIDTH) ? (DAC_ADDRESS_WIDTH - 1) : (DAC_ADDRESS_WIDTH + 1)) : (MEM_RATIO == 4) ? ((DMA_DATA_WIDTH > DAC_DATA_WIDTH) ? (DAC_ADDRESS_WIDTH - 2) : (DAC_ADDRESS_WIDTH + 2)) :