Commit 26d0d907 authored by Matthieu Cattin's avatar Matthieu Cattin

Fix bug in wishbone interface.

Was not porperly generating the command strobe to ddr interface in case
of wishbone block transfers.
parent 46df8a79
......@@ -261,8 +261,8 @@ begin
else
ddr_cmd_en_d <= ddr_cmd_en;
if (((ddr_burst_cnt = c_DDR_BURST_LENGTH) or
--(wb_we_f_edge = '1') or
(wb_stb_f_edge = '1' and wb_cyc_d = '1')) and ddr_cmd_full_i = '0') and (ddr_cmd_en = '0')then
(wb_cyc_f_edge = '1' and wb_we_d = '1') or
(wb_stb_f_edge = '1' and wb_we_d = '0')) and ddr_cmd_full_i = '0') and (ddr_cmd_en = '0') then
ddr_cmd_en <= '1'; -- might have problem if burst_cnt = BURST_LENGTH for more than 2 clk cycles
else
ddr_cmd_en <= '0';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment