Altera_Forum
Honored Contributor
14 years agoUsing LCELL as a delay
Hi,
I implemented a LCELL to add a delay to a tristate function for a bidir pin. This buffer is a output pin on the device. I wanted to add a delay because a glitch occurs when the IO switched from an input to an output. The data from the previous clock cycle shows up as a glitch until the correct data propagates to the IO buffer. I use an AND gate to add more delay when IO makes a 0=>1 transition and minimal delay during 1=>0 transition. I understand that using LCELL as delay element is not good practice, but I wasn't really sure how else to implement this. I also would prefer not to waste a clock cycle by pre drive the IO buffer and burn up a clock cycle. Thanks for any help.