Hello. I have a problem with the asynchronous input signal synchronization. I am trying to make the IIC_Slave based on Cyclone III FPGA Starter Kit. Altera Quartus II 13.1.0 x64
I saw 3 cases:
Oscillograms and verilog file are attached. Here are explanations for the oscillograms.
The digital signal D7 reset for the counter. The digital signals D6-D1 bits of the shift counter. The yellow analog signal data line from IIC. The green analog signal clock line from IIC.
Please tell me if you have any idea about this situation. I am trying to make it works about a week and have a strong headache. I cant even formulate a appropriate question for google.
I saw 3 cases:
- If I not use synchronization triggers, I can enjoy by metastable clock control that affects as a number of pos- and neg- edges in each clock front. It is shown at pic 1.
- If I use the synchronization triggers, this number of fronts is disappear (as expected) but a new bug is appeared (it looks like a reset signal on some negedges of the clock signal). At the same time the reset signal are not detected by oscilloscope.
- If I use the case 2 conditions with the SignalTap generated module all works correct! But it is not a valid possibility to solve problems. (738 logic elements and 41000 memory bits are wasted)
Oscillograms and verilog file are attached. Here are explanations for the oscillograms.
The digital signal D7 reset for the counter. The digital signals D6-D1 bits of the shift counter. The yellow analog signal data line from IIC. The green analog signal clock line from IIC.
Please tell me if you have any idea about this situation. I am trying to make it works about a week and have a strong headache. I cant even formulate a appropriate question for google.