axi_dacfifo: DAC side CDC fifo control update

The fifo will ask for a new data from the DDR, if the current
level is lower than the high threshold. This will prevent overflow.
By deleting the lower threshold, we can avoid ocassional underflows,
when the DAC rate is closer to the max DDRx rate.
main
Istvan Csomortani 2017-07-06 09:52:39 +01:00
parent a0b33898d2
commit 7340d8aa16
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ module axi_dacfifo_dac #(
axi_mem_addr_diff <= axi_mem_addr_diff_s[AXI_ADDRESS_WIDTH-1:0];
if (axi_mem_addr_diff >= AXI_BUF_THRESHOLD_HI) begin
axi_dready <= 1'b0;
end else if (axi_mem_addr_diff <= AXI_BUF_THRESHOLD_LO) begin
end else begin
axi_dready <= 1'b1;
end
end