資源簡(jiǎn)介
quartus11.0 FFT IP核的實(shí)現(xiàn) modelsim仿真通過(guò)

代碼片段和文件信息
%?function?[y?exp_out]?=?fft_core_model(xNINVERSE)?????????
%???????????????????????????????????????????????????????????????????????????????????????????
%???calculates?the?complex?block-floating?point?FFT/IFFT?of?length?N?of?a??????????????????
%???complex?input?vector?x???????????????????????????????????????????????????????????????????
%????????????????????????????????????????????????????????????????????????????????????????????
%???Inputs:???x??????????:?Input?complex?vector?of?length?B*N?where?B?is?????????????????????
%??????????????????????????the?number?of?blocks?over?which?the?length-N?FFT?is?to??????????
%??????????????????????????be?applied.?If?the?length?of?the?vector?is?not????????????????????
%??????????????????????????an?integral?multiple?of?N?zeros?are???????????????????????????????
%??????????????????????????appended?to?the?input?sequence?appropriately.?????????????????????
%?????????????N??????????:?Transform?Length??????????????????????????????????????????????????
%?????????????INVERSE????:?FFT?direction?????????????????????????????????????????????????????
%??????????????????????????0?=>?FFT??????????????????????????????????????????????????????????
%??????????????????????????1?=>?IFFT??????????????????????????????????????????????????????????
%??????????????????????????????????????????????????????????????????????????????????????????
%???Outputs???y??????????:?The?transform-domain?complex?vector?output????????????????????????
%?????????????exp_out????:?Block?exponent?value???????????????????????????????????????????????
%????????????????????????????????????????????????????????????????????????????????????????????
%???2001-2009?Altera?Corporation?All?Rights?Reserved?
%??????????????????????????????????????????????????????????????????????????????????????????????????
%???Automatically?Generated:?FFT?MegaCore?Function?11.0?Build?208?May?2011???????????????????????????????????????????????????????????????????????????????????????????????????
%
function?[y?exp_out]?=?fft_core_model(xNINVERSE)?
addpath(strcat(getenv(‘QUARTUS_ROOTDIR‘)‘/../ip/altera/fft/lib/‘));
%?Parameterization?Space???
THROUGHPUT=4;
ARCH=0;
DATA_PREC=8;
TWIDDLE_PREC=8;
input_vector_length?=?length(x);??????????????????????????????????????????????????????????????
number_of_blocks?=?ceil(input_vector_length/N);???????????????????????????????????????????????
%?Zero-stuff?last?block?if?necessary??????????????????????????????????????????????????????????
x?=?[x?zeros(1number_of_blocks?*?N?-?input_vector_length)];?????????????????????????????????
y=[];?????????????????????????????????????????????????????????????????????????????????????????
exp_out=[];???????????????????????????????????????????????????????????????????????????????????
for?i=1:number_of_blocks??????????????????????????????????????????????????????????????????????
????rin?=?real(x((i-1)*N?+?1:?i*N));??????????????????????????????????????????????????????????
????iin?=?imag(x((i-1)*N?+?1:?i*N));?????????????
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????目錄???????????0??2015-10-21?10:52??fft_core_test\
?????文件????????1782??2015-08-21?16:42??fft_core_test\cnt64.bsf
?????文件?????????309??2015-09-02?15:40??fft_core_test\cnt64.v
?????文件??????????71??2015-08-19?20:15??fft_core_test\cnt64.v.bak
?????目錄???????????0??2015-10-21?11:00??fft_core_test\db\
?????文件????????1857??2015-09-02?14:54??fft_core_test\db\add_sub_gnj.tdf
?????文件????????1857??2015-09-02?14:54??fft_core_test\db\add_sub_mnj.tdf
?????文件???????24291??2015-09-02?14:54??fft_core_test\db\altsyncram_0tf1.tdf
?????文件???????22240??2015-09-02?14:54??fft_core_test\db\altsyncram_gku3.tdf
?????文件????????9528??2015-08-19?20:28??fft_core_test\db\altsyncram_hra1.tdf
?????文件????????9676??2015-09-02?14:54??fft_core_test\db\altsyncram_nf91.tdf
?????文件????????9676??2015-09-02?14:54??fft_core_test\db\altsyncram_of91.tdf
?????文件????????9676??2015-09-02?14:54??fft_core_test\db\altsyncram_pf91.tdf
?????文件????????9676??2015-09-02?14:54??fft_core_test\db\altsyncram_sf91.tdf
?????文件????????9676??2015-09-02?14:54??fft_core_test\db\altsyncram_tf91.tdf
?????文件????????9676??2015-09-02?14:54??fft_core_test\db\altsyncram_uf91.tdf
?????文件????????5918??2015-09-02?14:54??fft_core_test\db\a_dpfifo_po81.tdf
?????文件????????1815??2015-09-02?14:54??fft_core_test\db\cmpr_gs8.tdf
?????文件????????2964??2015-09-02?14:54??fft_core_test\db\cntr_ao7.tdf
?????文件????????2853??2015-09-02?14:54??fft_core_test\db\cntr_tnb.tdf
?????文件????????2986??2015-09-02?14:54??fft_core_test\db\cntr_unb.tdf
?????文件????????3225??2015-09-02?14:54??fft_core_test\db\ded_mult_p391.tdf
?????文件????????1316??2015-09-02?14:54??fft_core_test\db\dffpipe_b3c.tdf
?????文件????????2397??2015-09-08?20:27??fft_core_test\db\ifft.(0).cnf.cdb
?????文件????????1507??2015-09-08?20:27??fft_core_test\db\ifft.(0).cnf.hdb
?????文件????????2186??2015-09-10?17:04??fft_core_test\db\ifft.(1).cnf.cdb
?????文件????????1345??2015-09-10?17:04??fft_core_test\db\ifft.(1).cnf.hdb
?????文件????????2029??2015-09-02?14:54??fft_core_test\db\ifft.(10).cnf.cdb
?????文件?????????817??2015-09-02?14:54??fft_core_test\db\ifft.(10).cnf.hdb
?????文件????????8686??2015-09-02?16:28??fft_core_test\db\ifft.(100).cnf.cdb
?????文件????????2984??2015-09-02?16:28??fft_core_test\db\ifft.(100).cnf.hdb
............此處省略536個(gè)文件信息
評(píng)論
共有 條評(píng)論