Guest
Hi
I need to code an enormous arbiter, with 16 identical choices. I have
coded it the long way.
case present_state is
when a0 =>
if fred(1)='1' and (condition) then present_state <= a1;
elsif fred(2)='1' and (condition) then present_state <= a2;
...
elsif fred(15)..
...
...
when a15 =>
...
...
all the signals (fred and everything in the (condition))are arrays
so it's crying out for nested loops. The problem is that present_state
then becomes a vector which limits the choices of the synthesis tool.
Any ideas appreciated.
Colin
I need to code an enormous arbiter, with 16 identical choices. I have
coded it the long way.
case present_state is
when a0 =>
if fred(1)='1' and (condition) then present_state <= a1;
elsif fred(2)='1' and (condition) then present_state <= a2;
...
elsif fred(15)..
...
...
when a15 =>
...
...
all the signals (fred and everything in the (condition))are arrays
so it's crying out for nested loops. The problem is that present_state
then becomes a vector which limits the choices of the synthesis tool.
Any ideas appreciated.
Colin