Commit 958f1d43 authored by Tristan Gingold's avatar Tristan Gingold

Merge branch…

Merge branch '26-rmq-tx-interface-erroneously-fetches-next-data-from-out-slot-when-client-is-not-ready' into 'master'

Resolve "RMQ TX interface erroneously fetches next data from out slot when client is not ready"

Closes #26

See merge request be-cem-edl/common/mockturtle!18
parents b2fe5302 fec2696a
......@@ -9,6 +9,12 @@ Change Log
Format: `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_
Versioning: `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_
Unreleased
==========
Fixed
-----
- [hdl] RMQ TX interface flow control (#26)
[4.1.0] - 2023-01-12
====================
Added
......
......@@ -175,9 +175,9 @@ begin
when SEND_PAYLOAD_ODD =>
-- Read next payload
-- By default, if not overriden below, keep requesting the same payload
inb_o <= (sel => '1',
adr => std_logic_vector(state.addr + 4),
adr => std_logic_vector(state.addr),
dat => (others => 'X'),
we => '0',
wmask => "XXXX");
......@@ -202,6 +202,12 @@ begin
addr => (others => 'X'),
pkt_last_addr => (others => 'X'));
else
-- Request next payload
inb_o <= (sel => '1',
adr => std_logic_vector(state.addr + 4),
dat => (others => 'X'),
we => '0',
wmask => "XXXX");
n_state <= (state => SEND_PAYLOAD_EVEN,
addr => state.addr + 4,
pkt_last_addr => state.pkt_last_addr);
......
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