T
Tim
Guest
I want to do the following
addr mod 320
but because the base is not a factor of 2^x, it's not synthesizable.
What's the optimum way of performing this calculation? The easiest but
computationally expensive way would be
while temp>=320 loop
temp <= input - 100;
end loop;
output <= temp;
but I'm certain there's a better way but just don't know what.
Thanks,
Tim
addr mod 320
but because the base is not a factor of 2^x, it's not synthesizable.
What's the optimum way of performing this calculation? The easiest but
computationally expensive way would be
while temp>=320 loop
temp <= input - 100;
end loop;
output <= temp;
but I'm certain there's a better way but just don't know what.
Thanks,
Tim