Skip to content

Commit

Permalink
basic-sink: fix message loop exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-Hartwig committed Dec 10, 2024
1 parent d4c2c02 commit fa7f4cd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion hdl/ip/vhd/vunit_components/basic_stream/basic_sink.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ begin
push_std_ulogic_vector(reply_msg, data);
reply(net, msg, reply_msg);
ready <= '0';
exit;
end if;
ready <= '0';
exit;
end loop;
else
unexpected_msg_type(msg_type);
Expand Down
34 changes: 17 additions & 17 deletions hdl/ip/vhd/vunit_components/basic_stream/sims/th_basic_stream.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@ begin
clk <= not clk after 4 ns;

basic_source_vc : entity work.basic_source
generic map (
source => source)
port map (
clk => clk,
valid => valid,
ready => ready,
data => data
);
generic map (
source => source)
port map (
clk => clk,
valid => valid,
ready => ready,
data => data
);

basic_sink_vc : entity work.basic_sink
generic map (
sink => sink)
port map (
clk => clk,
valid => valid,
ready => ready,
data => data
);
basic_sink_vc : entity work.basic_sink
generic map (
sink => sink)
port map (
clk => clk,
valid => valid,
ready => ready,
data => data
);
end architecture;

0 comments on commit fa7f4cd

Please sign in to comment.