scratchpad optimization for stack access using custom bank offset aligned to stack size
This commit is contained in:
@@ -66,4 +66,10 @@
|
||||
|
||||
`define UP(x) (((x) > 0) ? x : 1)
|
||||
|
||||
`define SAFE_RNG(h,l) `MAX(h,l) : l
|
||||
|
||||
`define RTRIM(x,s) x[$bits(x)-1:($bits(x)-s)]
|
||||
|
||||
`define LTRIM(x,s) x[s-1:0]
|
||||
|
||||
`endif
|
||||
Reference in New Issue
Block a user