willyboy19
Full Member level 3
register file
I plan to use 80 register files in a design. Since I only use 80 of 128 register files, do I have to declare all the register files as following?
reg [23:0] REF_FILE [127:0]
The 80 register files I used do not have continuous address assignment (mostly to easy state machine address decoding).
Another question is: even if I declare 128 24-bit register file here, during the synthesis, can DC actually synthesize into 80 register files (which I actually used) in stead of generating all the 128 24-bit register files? If so, how to avoid this waste?
Thanks.
I plan to use 80 register files in a design. Since I only use 80 of 128 register files, do I have to declare all the register files as following?
reg [23:0] REF_FILE [127:0]
The 80 register files I used do not have continuous address assignment (mostly to easy state machine address decoding).
Another question is: even if I declare 128 24-bit register file here, during the synthesis, can DC actually synthesize into 80 register files (which I actually used) in stead of generating all the 128 24-bit register files? If so, how to avoid this waste?
Thanks.