--- Quote Start ---
do you have a look to 2nd picture
i need to get the output trigraph alone because i will use it
how can i do it??
--- Quote End ---
if you pick up only those write addresses for read as well then it defeats the purpose as we want to read in the full order of addressing. If it slow you can use faster rate.
The alternative to be considered is this:
If your data set is small then you can implement your memory as registers in the fabric (hence addressable all at any time), I mean a 2D register, each register set will have index (as address e.g. 0 ~ 15 ). Once you write to these registers you can check nonzero data from index zero to 15 in one clock and then decide to read out only those with nonzero data in succession.