Altera_Forum
Honored Contributor
11 years agoFIFO write, data and wreq
Hi!
I want to write into alter FIFO from state machine. I have registered data and wrreq signals. Now i am wondering, is it unsafe to set them both on the same clock cycle? Or should i set data first and then wrreq on next cycle? I am thinking that if i write them at same clock, some race conditon could happen, because this is the same cycle FIFO is sampling them. FPGA hurts my brain :/ Thanks!