Commit e32c6815 authored by Dimitris Lampridis's avatar Dimitris Lampridis Committed by Konstantinos Blantos

cleanup white space and fix comments

parent bf25e050
......@@ -175,7 +175,7 @@ begin
when SEND_PAYLOAD_ODD =>
-- Read payload
-- By default, if not overriden below, keep requesting the same payload
inb_o <= (sel => '1',
adr => std_logic_vector(state.addr),
dat => (others => 'X'),
......@@ -190,8 +190,6 @@ begin
error => '0');
if src_i.ready = '1' then
if payload_last = '1' then
-- Packet was sent, discard it.
inb_o <= (sel => '1',
......@@ -204,15 +202,12 @@ begin
addr => (others => 'X'),
pkt_last_addr => (others => 'X'));
else
-- Read next payload
-- 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