⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fft_01.mdl

📁 实现用systerm generation 完成fft变换。原理清晰
💻 MDL
📖 第 1 页 / 共 5 页
字号:
" 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50 37"
" 49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 60 60 0 ],[0 56 "
"56 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT:"
" begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\"
"bf1','texmode','on');\ncolor('black');port_label('output',1,'\\fontsize{11pt}"
"\\bf4','texmode','on');\ncolor('black');disp('');\nfprintf('','COMMENT: end i"
"con text');\n"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Down Sample1"
	  Ports			  [1, 1]
	  Position		  [645, 132, 705, 188]
	  SourceBlock		  "xbsIndex_r4/Down Sample"
	  SourceType		  "Xilinx Down Sampler Block"
	  infoedit		  "Hardware notes: Sample and Latency controls"
" determine the hardware implementation.  The cost in hardware of different im"
"plementations varies considerably; press Help for details."
	  sample_ratio		  "4"
	  sample_phase		  "Last Value of Frame  (most efficient)"
	  en			  off
	  latency		  "1"
	  dbl_ovrd		  off
	  xl_use_area		  off
	  xl_area		  "[0,0,0,0,0,0,0]"
	  block_version		  "VER_STRING_GOES_HERE"
	  has_advanced_control	  "0"
	  sggui_pos		  "163,133,425,300"
	  block_type		  "dsamp"
	  sg_icon_stat		  "60,56,1,1,white,blue,0,5e9de106"
	  sg_mask_display	  "fprintf('','COMMENT: begin icon graphics ')"
";\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 30"
" 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50 37"
" 49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 60 60 0 ],[0 56 "
"56 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT:"
" begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\"
"bf1','texmode','on');\ncolor('black');port_label('output',1,'\\fontsize{11pt}"
"\\bf4','texmode','on');\ncolor('black');disp('');\nfprintf('','COMMENT: end i"
"con text');\n"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Down Sample2"
	  Ports			  [1, 1]
	  Position		  [650, 252, 710, 308]
	  SourceBlock		  "xbsIndex_r4/Down Sample"
	  SourceType		  "Xilinx Down Sampler Block"
	  infoedit		  "Hardware notes: Sample and Latency controls"
" determine the hardware implementation.  The cost in hardware of different im"
"plementations varies considerably; press Help for details."
	  sample_ratio		  "4"
	  sample_phase		  "Last Value of Frame  (most efficient)"
	  en			  off
	  latency		  "1"
	  dbl_ovrd		  off
	  xl_use_area		  off
	  xl_area		  "[0,0,0,0,0,0,0]"
	  block_version		  "VER_STRING_GOES_HERE"
	  has_advanced_control	  "0"
	  sggui_pos		  "20,20,425,300"
	  block_type		  "dsamp"
	  sg_icon_stat		  "60,56,1,1,white,blue,0,5e9de106"
	  sg_mask_display	  "fprintf('','COMMENT: begin icon graphics ')"
";\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 30"
" 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50 37"
" 49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 60 60 0 ],[0 56 "
"56 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT:"
" begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\"
"bf1','texmode','on');\ncolor('black');port_label('output',1,'\\fontsize{11pt}"
"\\bf4','texmode','on');\ncolor('black');disp('');\nfprintf('','COMMENT: end i"
"con text');\n"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FFT v1_0 "
	  Ports			  [4, 5]
	  Position		  [160, 62, 240, 238]
	  SourceBlock		  "xbsIndex_r4/FFT v1_0 "
	  SourceType		  "Xilinx Fast Fourier Transform v1_0 Block"
	  infoedit		  "Radix-4 Cooley-Tukey fast Fourier transform"
" (FFT).  Supports 16, 64, 256, and 1024 point transforms on 16-bit data.<P><P"
">Devices Supported: Virtex"
	  n			  "1024"
	  mem			  "Triple"
	  scale_mode		  "1/N"
	  oflw_inv		  on
	  rst			  off
	  dbl_ovrd		  off
	  explicit_period	  off
	  period		  "1/12000"
	  xl_use_area		  off
	  xl_area		  "[0,0,0,0,0,0,0]"
	  block_version		  "VER_STRING_GOES_HERE"
	  has_advanced_control	  "0"
	  sggui_pos		  "487,228,425,364"
	  block_type		  "fft"
	  sg_icon_stat		  "80,176,4,5,white,blue,0,5e705636"
	  sg_mask_display	  "fprintf('','COMMENT: begin icon graphics ')"
";\npatch([0 60 60 0 ],[0 0 88 88 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14 30"
" 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[20 30 44 58 68 68 64 68 68 5"
"5 68 59 44 29 20 33 20 20 24 20 20 ],[0.98 0.96 0.92]);\nplot([0 0 60 60 0 ],"
"[0 88 88 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','CO"
"MMENT: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{1"
"1pt}\\bf4','texmode','on');\ncolor('black');port_label('input',2,'\\fontsize{"
"11pt}\\bf4','texmode','on');\ncolor('black');port_label('input',3,'\\fontsize"
"{11pt}\\bf4','texmode','on');\ncolor('black');port_label('input',4,'\\fontsiz"
"e{11pt}\\bf4','texmode','on');\ncolor('black');port_label('output',1,'\\fonts"
"ize{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',2,'\\fon"
"tsize{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',3,'\\f"
"ontsize{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',4,'"
"\\fontsize{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',5"
",'\\fontsize{11pt}\\bf1','texmode','on');\nfprintf('','COMMENT: end icon text"
"');\nfprintf('','COMMENT: Make no changes above this line -- machine generate"
"d code. ');\n"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FIFO_i"
	  Ports			  [3, 4]
	  Position		  [410, 148, 490, 262]
	  SourceBlock		  "xbsIndex_r4/FIFO"
	  SourceType		  "Xilinx FIFO block Block"
	  infoedit		  "If Embedded FIFO memory type is used, reset"
" must be asserted as described in the documentation for this block."
	  depth			  "1K"
	  percent_nbits		  "2"
	  rst			  off
	  en			  off
	  use_almost_empty	  off
	  almost_empty_offset	  "6"
	  use_almost_full	  off
	  almost_full_offset	  "6"
	  explicit_period	  off
	  period		  "1/48000"
	  dbl_ovrd		  off
	  mem_type		  "Block RAM"
	  xl_use_area		  off
	  xl_area		  "[0,0,0,0,0,0,0]"
	  block_version		  "VER_STRING_GOES_HERE"
	  has_advanced_control	  "0"
	  sggui_pos		  "114,136,425,350"
	  block_type		  "fifoobsolete"
	  sg_icon_stat		  "80,114,3,4,white,blue,0,594c2d81"
	  sg_mask_display	  "fprintf('','COMMENT: begin icon graphics ')"
";\npatch([0 80 80 0 ],[0 0 114 114 ],[0.77 0.82 0.91]);\npatch([18 5 24 5 18 "
"39 45 51 74 56 39 27 46 27 39 56 74 51 45 39 18 ],[26 39 58 77 90 90 84 90 90"
" 72 89 77 58 39 27 44 26 26 32 26 26 ],[0.98 0.96 0.92]);\nplot([0 0 80 80 0 "
"],[0 114 114 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','"
"COMMENT: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize"
"{11pt}\\bf1','texmode','on');\ncolor('black');port_label('input',2,'\\fontsiz"
"e{11pt}\\bf1','texmode','on');\ncolor('black');port_label('input',3,'\\fontsi"
"ze{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',1,'\\font"
"size{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',2,'\\fo"
"ntsize{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',3,'\\"
"fontsize{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',4,'"
"\\fontsize{11pt}\\bf1','texmode','on');\nfprintf('','COMMENT: end icon text')"
";\n"
	  store_only_valid	  "on"
	  init_zero		  "on"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FIFO_r"
	  Ports			  [3, 4]
	  Position		  [410, 13, 490, 127]
	  SourceBlock		  "xbsIndex_r4/FIFO"
	  SourceType		  "Xilinx FIFO block Block"
	  infoedit		  "If Embedded FIFO memory type is used, reset"
" must be asserted as described in the documentation for this block."
	  depth			  "1K"
	  percent_nbits		  "2"
	  rst			  off
	  en			  off
	  use_almost_empty	  off
	  almost_empty_offset	  "6"
	  use_almost_full	  off
	  almost_full_offset	  "6"
	  explicit_period	  off
	  period		  "1/48000"
	  dbl_ovrd		  off
	  mem_type		  "Block RAM"
	  xl_use_area		  off
	  xl_area		  "[0,0,0,0,0,0,0]"
	  block_version		  "VER_STRING_GOES_HERE"
	  has_advanced_control	  "0"
	  sggui_pos		  "206,208,425,350"
	  block_type		  "fifoobsolete"
	  sg_icon_stat		  "80,114,3,4,white,blue,0,594c2d81"
	  sg_mask_display	  "fprintf('','COMMENT: begin icon graphics ')"
";\npatch([0 80 80 0 ],[0 0 114 114 ],[0.77 0.82 0.91]);\npatch([18 5 24 5 18 "
"39 45 51 74 56 39 27 46 27 39 56 74 51 45 39 18 ],[26 39 58 77 90 90 84 90 90"
" 72 89 77 58 39 27 44 26 26 32 26 26 ],[0.98 0.96 0.92]);\nplot([0 0 80 80 0 "
"],[0 114 114 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','"
"COMMENT: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize"
"{11pt}\\bf1','texmode','on');\ncolor('black');port_label('input',2,'\\fontsiz"
"e{11pt}\\bf1','texmode','on');\ncolor('black');port_label('input',3,'\\fontsi"
"ze{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',1,'\\font"
"size{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',2,'\\fo"
"ntsize{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',3,'\\"
"fontsize{11pt}\\bf1','texmode','on');\ncolor('black');port_label('output',4,'"
"\\fontsize{11pt}\\bf1','texmode','on');\nfprintf('','COMMENT: end icon text')"
";\n"
	  store_only_valid	  "on"
	  init_zero		  "on"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Logical and"
	  Ports			  [2, 1]
	  Position		  [335, 295, 395, 350]
	  Orientation		  "up"
	  NamePlacement		  "alternate"
	  SourceBlock		  "xbsIndex_r4/Logical"
	  SourceType		  "Xilinx Logical Block Block"
	  logical_function	  "AND"
	  inputs		  "2"
	  en			  off
	  latency		  "0"
	  precision		  "Full"
	  arith_type		  "Unsigned"
	  n_bits		  "16"
	  bin_pt		  "0"
	  align_bp		  on
	  dbl_ovrd		  off
	  xl_use_area		  off
	  xl_area		  "[0,0,0,0,0,0,0]"
	  block_version		  "VER_STRING_GOES_HERE"
	  has_advanced_control	  "0"
	  sggui_pos		  "-1,-1,-1,-1"
	  block_type		  "logical"
	  sg_icon_stat		  "60,55,2,1,white,blue,0,67429073"
	  sg_mask_display	  "fprintf('','COMMENT: begin icon graphics ')"
";\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13 28"
" 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52 40"
" 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 60 "
"60 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT:"
" begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\"
"bf1','texmode','on');\ncolor('black');port_label('input',2,'\\fontsize{11pt}"
"\\bf1','texmode','on');\ncolor('black');port_label('output',1,'\\fontsize{11p"
"t}\\bf1','texmode','on');\ncolor('black');disp('');\nfprintf('','COMMENT: end"
" icon text');\n"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Logical nor"
	  Ports			  [2, 1]
	  Position		  [415, 340, 470, 400]
	  Orientation		  "left"
	  SourceBlock		  "xbsIndex_r4/Logical"
	  SourceType		  "Xilinx Logical Block Block"
	  logical_function	  "NOR"
	  inputs		  "2"
	  en			  off
	  latency		  "0"
	  precision		  "Full"
	  arith_type		  "Unsigned"
	  n_bits		  "16"
	  bin_pt		  "0"
	  align_bp		  on
	  dbl_ovrd		  off
	  xl_use_area		  off
	  xl_area		  "[0,0,0,0,0,0,0]"
	  block_version		  "VER_STRING_GOES_HERE"
	  has_advanced_control	  "0"
	  sggui_pos		  "-1,-1,-1,-1"
	  block_type		  "logical"
	  sg_icon_stat		  "55,60,2,1,white,blue,0,67429073"
	  sg_mask_display	  "fprintf('','COMMENT: begin icon graphics ')"
";\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13 28"
" 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52 40"
" 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 60 "
"60 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMENT:"
" begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\"
"bf1','texmode','on');\ncolor('black');port_label('input',2,'\\fontsize{11pt}"
"\\bf1','texmode','on');\ncolor('black');port_label('output',1,'\\fontsize{11p"
"t}\\bf1','texmode','on');\ncolor('black');disp('');\nfprintf('','COMMENT: end"
" icon text');\n"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Term_done"
	  Position		  [265, 175, 285, 195]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Term_i_%full"
	  Position		  [595, 190, 615, 210]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Term_i_full"
	  Position		  [595, 240, 615, 260]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Term_r_%full"
	  Position		  [590, 75, 610, 95]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Term_r_full"
	  Position		  [590, 115, 610, 135]
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Term_rfd"
	  Position		  [280, 240, 300, 260]
	}
	Block {
	  BlockType		  Outport
	  Name			  "FFt_Xk_r_out\n"
	  Position		  [750, 43, 780, 57]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "FFT_Xk_i_out"
	  Position		  [755, 153, 785, 167]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "FFT_vout_out"
	  Position		  [760, 273, 790, 287]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Constant_FFT_inv"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    DstBlock		    "FFT v1_0 "
	    DstPort		    4
	  }
	  Branch {
	    Points		    [0, 155]
	    DstBlock		    "Clock Enable Probe"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Clock Enable Probe"
	  SrcPort		  1
	  Points		  [85, 0]
	  DstBlock		  "Logical and"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Logical nor"
	  SrcPort		  1
	  Points		  [-30, 0]
	  DstBlock		  "Logical and"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "FFT v1_0 "
	  SrcPort		  1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -