Forum Discussion

VRb's avatar
VRb
Icon for New Contributor rankNew Contributor
3 years ago

How to infer a FIFO using registers/ALM and not block RAM ?

The synchronous logic being used for FIFO is infering Block RAM. I have tried ramstyle as auto,MLAB,LCs but it still does infer block RAM. How can I infer the FIFO using registers. It is a 512x5 register but Quartus is inferring 13 block rams on one of Stratix 10 device. I want this FIFO to use an ALM. (13 Block RAM for 2560 bits of memory is too much). Read and write can happen in same clock(this has a show ahead feature meaning read data is there at the output before reading).

The design uses other 82 block RAM's but that seems reasonable for the depth instantiated.

6 Replies