Altera_Forum
Honored Contributor
17 years agoDual-Clock FIFO with clear in Cyclone III
I use the megawizard to get a dual clock FIFO with aclr. If there was a synchronized clear I would use it, but the megawizard provides no such option.
To get the best synthesis, should I clear it from the read or write side? I have made sure that there are serveral idle clocks between clear and first use. It seems that the "Synchronize aclr to wrclk" adds a piece of sync logic (2 Registers). aclr fans out to a number of components, both after and before the sync stage. For some reason, however, serveral registers gets the unsynchronized aclr despite beeing clocked by wrclock. This upsets TimeQuest. According to some appnote the *dffpipe* nodes can be disregarded, but there are other nodes too (I can find out exactly which ones, but I seem to miss some obvious problem with this).