Forum Discussion
Altera_Forum
Honored Contributor
11 years agoLooks like this is very prone to glitches. You should'nt use logic as a clock.
Make a rising edge(CLK) and inside the rising_edge(CLK) put your if nDB_BUF_EN = '1' to latch the data. It will generate FFs with an ENABLE port connected to the nDB_BUF_EN signal.