Altera_Forum
Honored Contributor
15 years agoInterfacing the FPGA to a micrcontroller
I am designing a circuit that is to carry out a correlation funciton on two sets of input waveforms. The value after the calculation is stored in D flip flops. It is update continuosly as the calculation proceeds.
The specification requires me to interface the circuit to a microcontroller. I am struggling with how to achieve this. Usually there would the readNot, chipSelect, Address bus & Data bus coming over from the Microcontroller. How do I make the circuit that I turn on the tri state buffers only when the Microcontroller wants to get something from my circuit? Also I need to have registers that shall store which of the calculated values have been Read by the Microcontroller already so that when all the values have been read the DataAvailable signal shall go low. Any advice on this topic is Very Very highly appreciated. Any link that can help me in understanding how to do this is also very appreciated. :)