Altera_Forum
Honored Contributor
14 years agoA question about the asynchronous clear signal of dual clock FIFO
Hi,
I used a MegaWizard generated dual clock FIFO in a design. FIFO width is 16 bits and its depth is 2048. The write and read clock of this FIFO is 90 MHz and 60 MHz respectively. Both of them are generated through the same PLL with the input clock of 30MHz. The aclr signal of this FIFO is generated in the 90 MHz clock domain, which means it is synchronous with the 90 MHz clock and the aclr pulse width is 6 clock period of 90 MHz. I turned on the Recovery/Removal analysis in the Quartus. And the final timing report shows that the Recovery timing requirement can not be achieved in many paths starting from this aclr signal. According to the Quartus handbook, Recovery time is the minimum length of time the de-assertion of an asynchronous control signal, for example, clear and preset, must be stable before the next active clock edge. Whose edge does the next active clock edge here mean? the rising edge of the 90 MHz write clock or the 60 MHz read clock in my design? Does this Recovery timing failure mean some data in the FIFO can not be cleared in one period of 90 MHz clock? If so, can I just ignore this Recovery timing failure since there is always a delay(about 1 us) between the assertion of aclr signal and next write FIFO operation in my design? In addition, is there any requirement on the width of the aclr pulse? Is one write clock period enough?