--- Quote Start ---
The strange behavior is that it didn't work and then suddenly it started working.
gpio14 is coming from another FPGA with a very low frequency, there shouldn't be any timing issue since I don't use the clock for that process.
I ran it now for a few times and it works fine.
--- Quote End ---
Hi,
but you use the gpio14 as a clock ! (gpio14'event and gpio14 = '1'). If you use signals generated in this block in a block with a different clock
your design will not work stable. BTW did you connect yor reset signal ?
Kind regards
GPK