pbernardi
Full Member level 3

Hello,
I would like to have a parameterizable array (let us say, for N in range of 32 to 128 elements), with a high number of parallel R/W access (up to 8 accesses, also parameterizable).
So, when I define the register:
it try to infers a distributed RAM, which is not good because 8x parallel accesses to a distributed RAM generate a huge logic. I need the synthesis tool to generate an array of N single registers instead of a distributed RAM. Is this possible?
Alternatively, is it possible to use a generate or other king of loop/parallel processing to a) generate and b) access a set of N individual registers?
I would like to have a parameterizable array (let us say, for N in range of 32 to 128 elements), with a high number of parallel R/W access (up to 8 accesses, also parameterizable).
So, when I define the register:
Code:
reg [REGSIZE-1:0] g [0:N-1];
it try to infers a distributed RAM, which is not good because 8x parallel accesses to a distributed RAM generate a huge logic. I need the synthesis tool to generate an array of N single registers instead of a distributed RAM. Is this possible?
Alternatively, is it possible to use a generate or other king of loop/parallel processing to a) generate and b) access a set of N individual registers?