SOC memory wishbone should clear ACK regardless of STB

The memory wishbone doesn't clear ACK and move the state machine on
until STB is de-asserted. This seems like it isn't compliant with
the spec and results in a maximum throughput of 1 transfer every
3 cycles.

Fixing this improves the situation to one transfer every 2 cycles.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
nia-debug
Anton Blanchard 5 years ago committed by Anton Blanchard
parent 67446709ca
commit 6cbf456388

@ -92,10 +92,8 @@ begin
state <= ACK; state <= ACK;
end if; end if;
when ACK => when ACK =>
if wishbone_in.stb = '0' then read_ack <= '0';
read_ack <= '0'; state <= IDLE;
state <= IDLE;
end if;
end case; end case;
else else
state <= IDLE; state <= IDLE;

Loading…
Cancel
Save