Limit outstanding range

outstanding can only ever be -1 to 2 at the moment (0 or 1 on a
rising clock edge). Vivado is synthesizing a much wider adder
which is silly. Constrain it with a range statement. This should
be good for timing and saves us about 85 LUTs.

This will get relaxed when we add more pipelining, but only by a
few bits.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
jtag-port
Anton Blanchard 5 years ago committed by Anton Blanchard
parent 3c6e66dc96
commit 4016f69e70

@ -40,7 +40,7 @@ architecture behaviour of decode2 is

type reg_internal_type is record
state : state_type;
outstanding : integer;
outstanding : integer range -1 to 2;
end record;

type reg_type is record

Loading…
Cancel
Save