Altera_Forum
Honored Contributor
17 years agoMega Wizard FIR compiler HELP
I have some questions about the FIR compiler in Quartus 7.2. Would be very thankful if you could help me.
I am using a Cyclone 2 on a DE2 board. And no English is not my native language. It only says it wants a clock, not what frequency. What frequency does it want, sampling frequency, in my case 48000(sampling freq) or the 50MHz clock? If I am already in a project when i create a FIR filter, are all files automatically included or do i have to include files manually? It generates a lot of files. I am using block schematic, what file do I have to use in the schematic. just the "filter.vhd" file? My "filter.vhd" block has several inputs and outputs Left side (inputs) CLK, reset_n, ast_sink_data[7..0], ast_sink_valid, ast_source_ready and ast_sink_error[1..0] I now send ~48000 (little higher) on CLK Reset is active low ast_sink_data, constant flow of samples that are updated at freq of ~48000 and then keep that value until next value is done. ast_sink_valid, no idea what this does, tried to just connect it to ast_source_valid of the same block, did not work. What do i send here? ast_source_ready, no idea here either. Is it constant 1 on both? ast_sink_error, no idea here either, read somewhere that you could just send 00 . Left side (outputs) ast_source_data[16..0], ast_source_valid, ast_sink_ready and ast_source_error[1..0] I guess ast_source_data[16..0] is the filtered data. The rest is if you connect several blocks I figure. Which I will do later, but want to try do make one filter first. Any other pointers would be great.