mahmood.n
Member level 5
There is a entity with 32 bit integers and the simulations on active-hdl student edition works fine. On Quartus however, I see that the port sizes are 5 which is shown as [4..0]. Please see the picture which I highlighted that.
What does that mean?
Code:
package types is
constant bitWidth: integer := 32;
end;
entity cmp is
port (x, y: in integer range 0 to bitWidth-1;
s, b: out integer range 0 to bitWidth-1);
end;
What does that mean?