Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21345 Discussions

Latching asynchronous signal

Altera_Forum
Honored Contributor II
1,311 Views

Hi, 

 

I need to design a circuit for latching an asynchronous signal and later I need to do some processing on this signal. 

I am planning to use double registering of the signal before its used for processing.  

Are there any specialized sync D-Flip flops to do this or just the normal flip flops would do the job? 

I am using Arria V FPGA, VHDL language. 

 

Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
460 Views

Normal flip flops will do it, but if it's coming from an external source, you'll want to make sure it uses the fast IO registers in the IO pin. (this should be done automatically but you can force it via assignments or attributes)

0 Kudos
Altera_Forum
Honored Contributor II
460 Views

My guess is that the tool would not like io register as it wants the two flips to be as close as possible to reduce MTBF. So I assume a pair of fabric registers would be chosen. io registers are not in pairs and the external delay of async input is irrelevant.

0 Kudos
Reply