The REN signal on the generated component is connected to the write port block select input (A_BLK) for each LSRAM block according to the block depth within the component and synchronized with RCLK.
Depth | A_BLK[2] | A_BLK[1] | A_BLK[0] | A_REN | Read-Data when REN=0 |
---|---|---|---|---|---|
RA_MSB < N |
1 |
1 |
1 |
REN |
Hold |
RA_MSB = N |
REN |
1 |
decode( RADDR[N:N], D%2) |
1 |
0 |
RA_MSB = N+1 |
REN |
decode( RADDR[N+1:N+1], (D/ 2)%2) |
decode (RADDR[N:N], D%2) |
1 |
0 |
RA_MSB > N+1 |
REN & decode( RADDR[RA_MSB:N+2], D/4) |
decode( RADDR[N+1:N+1], (D/ 2)%2) |
decode (RADDR[N:N], D%2) |
1 |
0 |