Hi
I need to design an interface between the OMAP l138 and the fpga through the emifa to read/write. I am a beginner in development. From what I have read so far I have come to understand that the following steps are needed to configure the emifa:
- Set the PSC power up for the emif.
- Set the pin mux
- Configure the appropriate CEnCFG register and other required registers.
As I need to first complete the design I haven't tried any coding. How do you generate an interrupt from the emif? Is it through the EMA_WAIT pin or can I set the EMIFA_INT in the interrupt enable register directly?
Also how do I send a read/write request to the emifa? In the CEnCFG register if i configure only the Read_setup, Read_hold and Read_strobe, then does it mean its a read request? How will I know when the emifa is ready to begin reading or writing?
The following are the pins that have been connected to the fpga:
- EMA_D
- EMA_A
- EMA_BA
- EMA_CLK
- EMA_WE
- EMA_OE
- EMA_CS
- EMA_RNW
- EMA_WAIT
I need to code in verilog hdl. Please help me.
Thanks and regards
Reshma Angelin