mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-02-26 08:43:26 +00:00
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>
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user