Altera_Forum
Honored Contributor
16 years agoNo output in simulation after connecting FIR and FFT using SOPC Builder
Hi, all,
Sorry if I have posted in a wrong place. But I am really desperate now. Here is my problem: I am using Quartus II 9.0sp2. Now I am trying to connect FIR compiler to FFT using SOPC builder with FIR being the master and FFT being the slave. I suppose the SOPC builder could automatically generate the interconnection fabric for me. After simulation, I found that there is simply no output from the FFT side no matter how I put these two signals. In addition, after a while, the source_error signals from FFT will have the value "01" which indicates missing sop signal. Now I realize it might be the problem of the Avalon ST interface I used. I have to assert startofpacket and endofpacket signals to FFT manually in the simulation file since the FIR cannot generate them. However, the problem is that I don't know when will the sink_ready and sink_valid signal to the FFT will be asserted. According to the user guide of FFT, sink_read and sink_valid should be asserted at the same time for a successful data transfer, hence I guess my sink_sop should also be asserted when those two signals are both high. Am I right? Anyone have such experience to deal with the sink_sop and sink_eop signals in system generated using the Avalon ST interface in SOPC builder?? p.s. I have attached the screen shot of my simulation results, connection inside SOPC as well as the Avalon ST interface settings when I created the FIR and FFT components. I will really be grateful if anyone can take a look and give some advice. I have been trying for a long time but no progress so far on this matter. All I need is to see some output from the FFT.