Commit 7a1b9191 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

swcore: multiport LL, fix write ports split

parent a72c35b0
......@@ -131,7 +131,7 @@ architecture syn of swc_multiport_linked_list is
variable nidx : integer range 0 to g_num_ports;
begin
if idx_h > g_num_ports-1 then
nidx := g_num_ports;
nidx := g_num_ports-1;
else
nidx := idx_h;
end if;
......
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