Forum Discussion
Altera_Forum
Honored Contributor
16 years agoFFT Source_valid
Hello everyone,
i have some trouble with the fft core (quartus 8.1) i am using a 512 fft with streaming interface. the fft core does not give any output. after transfering some data packages, the sink_valid kept high, no sink/source_errors, the core should assert the "source_valid" high - but it isn't. please can anybody help me? I have attached the timing.11 Replies
- Altera_Forum
Honored Contributor
I don't see any input going in after reset release ...
- Altera_Forum
Honored Contributor
yes, but some input data does not change anything. nevertheless the source_valid should go high after transformation.
- Altera_Forum
Honored Contributor
--- Quote Start --- .. after transfering some data packages, the sink_valid kept high, no sink/source_errors, the core should assert the "source_valid" high - but it isn't. --- Quote End --- why do you say there are no errors? it clearly shows source_error=1 which means missing sop. Recheck you sop eop, they should be one clock long and correctly spaced. To improve your test validity you should really put some data !=0. DC or just put random pattern. Edit:[Be aware that the very first input sample having sink_valid=1, sink_ready=1 MUST also have SOP=1, otherwise you get missing sop] - Altera_Forum
Honored Contributor
finally it works, i only got it running when the "generate a clk_ena pin" is checked (in the mega wizard fft generation tool)
- Altera_Forum
Honored Contributor
--- Quote Start --- finally it works, i only got it running when the "generate a clk_ena pin" is checked (in the mega wizard fft generation tool) --- Quote End --- Hi, Luis_Altera, I am having the same problem with you. Could you please tell me more specifically on where to check the "generate a clk_ena pin"? I am using Quartus II 9.0 sp2. Thanks a million! - Altera_Forum
Honored Contributor
Hello,
i am using quartus 8.1 but i think there is no difference. you will find the "Global Clock Enable" checkbox at "Step 1: Parametrize" -> "Implementation Options". Hope that will help you. - Altera_Forum
Honored Contributor
--- Quote Start --- Hello, i am using quartus 8.1 but i think there is no difference. you will find the "Global Clock Enable" checkbox at "Step 1: Parametrize" -> "Implementation Options". Hope that will help you. --- Quote End --- Hello, Thank you very much. I don't quite understand why inserting such a signal would make such a difference? It seems like an optional signal. - Altera_Forum
Honored Contributor
yes that's true, but if i don't insert it it defenitly does not work. so is your design working now?
- Altera_Forum
Honored Contributor
--- Quote Start --- yes that's true, but if i don't insert it it defenitly does not work. so is your design working now? --- Quote End --- Hello, I am now trying to simulate and view the results. However, the simulation has taken my twenty minutes but still stuck at 53%. How could it be? My clock periods are 10ns and 20ns. I have set my simulation time to 2ms. Is it because the time interval is too long? But my fft has to taken 64 data for one output data excluding the latency. How long did you wait for your results to come out? regards - Altera_Forum
Honored Contributor
--- Quote Start --- Hi, Luis_Altera, I am having the same problem with you. Could you please tell me more specifically on where to check the "generate a clk_ena pin"? I am using Quartus II 9.0 sp2. Thanks a million! --- Quote End --- Hello, I am using Quartus II 9.0 too.I have got my data,but the source_valid is always low.I don't know how to find the "Global Clock Enable".I saw the word "Step 1: Parametrize" -> "Implementation Options",but can you tell me where is the "Parametrize"? And if you can tell me what cause the source_error,it will be better . My english isn't good but I hope you can understand my mean . my box :[email protected]. I hope to receive you message.Please send mail to my box:[email protected] .