Article Details

ID: 1822
Case Type: faq
Category: Simulation
Related To: Aldec
Family: LatticeECP3

Search Answer Database

Search Text Image

Simulation: Why does my PMI FIFO get a simulation error, "Error! Fifo depth can only be power of 2!"?

Simulation: The PMI FIFO (First In First Out) simulation model has a check to prevent invalid FIFO depth. This message is meant to provide an accurate model of the generated FIFO. Giving FIFO depths as a power of 2 (such as 512) will prevent this error. Since hardware Embedded Block RAM (EBR) memories have a hardened architecture, software has to implement a full EBR and the unused data and control lines are tied to logic '0'.