Hi all,
I am designing a decoder and my design uses memory. For some of the memory blocks I am using compiled memories and for other memory blocks I am synthesizing it as flipflops(synthesizing as flipflops increasing area). I am thinking of synthesizing the memory as latches.
Is it ok to synthesize memory as latches?
No, it is not. It's a terrible idea. Even discrete latches will be bigger than compiled memory (on a per bit basis), not to mention all the issues with testability of latches.