WHENs_wr_burst=>-- Performs the burst portion (word 2+)
WHENs_wr_burst=>-- Performs the rest of burst when burst_size > 1
IFctlr_miso.waitrequest_n='1'THEN
IFwr_snk_in.valid='1'THEN-- it is allowed that valid is not always active during a burst
wr_snk_out.ready<='1';-- wr side uses latency of 0, so wr_snk_out.ready<='1' acknowledges a successful write request.
...
...
@@ -190,9 +190,9 @@ BEGIN
nxt_state<=s_wr_request;-- initiate a new wr burst or goto idle via the wr_request state, simulation shows going directly idle by checking address_cnt_is_0 here does not save a cycle
ENDIF;
ENDIF;
ENDIF;
ENDIF;
WHENs_wr_request=>-- Performs 1 write access and goes into s_wr_burst when requested write words >1
WHENs_wr_request=>-- Performs 1 write access and goes into s_wr_burst when requested burst_size >1