Forum Discussion
Altera_Forum
Honored Contributor
9 years agoThis looks very much like a software approach to digital electronics - it will not work. You cannot have a register that is clocked from two clocks in FPGAs. And reading registers in one clock domain that is registered in another clock domain is very poor practice unless you're doing safe clock domain crossing.
Altera already provides a dual clock FIFO for free - check out the IP catalog.