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

📄 n-th ingeter root.mdl

📁 用MATLAB里的XILINX BLOCK, 支持FPGA算法, 实现开平方, 并且取整.当计算停止时, VALID为高电瓶.
💻 MDL
📖 第 1 页 / 共 5 页
字号:
"box evaluate=\"false\" multi_line=\"true\" name=\"infoedit\" read_only=\"true"
"\" default=\" System Generator\" />\n  <editbox evaluate=\"false\" name=\"xil"
"inxfamily\" default=\"Virtex4\" label=\"Xilinx family\" />\n  <editbox evalua"
"te=\"false\" name=\"part\" default=\"xc4vsx35\" label=\"Part\" />\n  <editbox"
" evaluate=\"false\" name=\"speed\" default=\"-10\" label=\"Speed\" />\n  <edi"
"tbox evaluate=\"false\" name=\"package\" default=\"ff668\" label=\"Package\" "
"/>\n  <listbox evaluate=\"true\" name=\"synthesis_tool\" default=\"XST\" labe"
"l=\"Synthesis tool\" >\n   <item value=\"Spectrum\" />\n   <item value=\"Synp"
"lify\" />\n   <item value=\"Synplify Pro\" />\n   <item value=\"XST\" />\n   "
"<item value=\"Precision\" />\n  </listbox>\n  <editbox evaluate=\"false\" nam"
"e=\"directory\" default=\"./netlist\" label=\"Target directory\" />\n  <check"
"box evaluate=\"true\" name=\"testbench\" default=\"off\" label=\"Testbench\" "
"/>\n  <editbox evaluate=\"true\" name=\"simulink_period\" default=\"1\" label"
"=\"Simulink period\" />\n  <editbox evaluate=\"true\" name=\"sysclk_period\" "
"default=\"10\" label=\"System clock period\" />\n  <checkbox evaluate=\"true"
"\" name=\"incr_netlist\" default=\"off\" label=\"Incremental netlisting\" />"
"\n  <listbox evaluate=\"true\" name=\"trim_vbits\" default=\"Everywhere in Su"
"bSystem\" label=\"Trim valid bits\" >\n   <item value=\"According to Block Ma"
"sks\" />\n   <item value=\"Everywhere in SubSystem\" />\n   <item value=\"No "
"Where in SubSystem\" />\n  </listbox>\n  <listbox evaluate=\"true\" name=\"db"
"l_ovrd\" default=\"According to Block Masks\" label=\"Override with doubles\""
" >\n   <item value=\"According to Block Masks\" />\n   <item value=\"Everywhe"
"re in SubSystem\" />\n   <item value=\"No Where in SubSystem\" />\n  </listbo"
"x>\n  <listbox evaluate=\"true\" name=\"core_generation\" default=\"According"
" to Block Masks\" label=\"Generate cores\" >\n   <item value=\"According to B"
"lock Masks\" />\n   <item value=\"Everywhere Available\" />\n   <item value="
"\"Not Needed - Already Generated\" />\n  </listbox>\n  <checkbox evaluate=\"t"
"rue\" name=\"run_coregen\" default=\"off\" label=\"Run CoreGen\" />\n  <check"
"box evaluate=\"true\" name=\"deprecated_control\" default=\"off\" label=\"Sho"
"w deprecated controls\" />\n  <hiddenvar evaluate=\"true\" name=\"eval_field"
"\" default=\"0\" />\n </blockgui>\n</sysgenblock>\n"
    }
    Block {
      BlockType		      Reference
      Name		      "Counter"
      Ports		      [1, 1]
      Position		      [230, 420, 290, 480]
      FontSize		      10
      SourceBlock	      "xbsIndex_r4/Counter"
      SourceType	      "Xilinx Counter Block"
      infoedit		      "Hardware notes: Free running counters are the l"
"east expensive in hardware.  A count limited counter is implemented by combin"
"ing a counter with a comparator."
      cnt_type		      "Free Running"
      cnt_to		      "Inf"
      operation		      "Up"
      start_count	      "1"
      cnt_by_val	      "1"
      arith_type	      "Unsigned"
      n_bits		      "16"
      bin_pt		      "0"
      load_pin		      off
      rst		      on
      en		      off
      explicit_period	      "off"
      period		      "1"
      dbl_ovrd		      off
      use_behavioral_HDL      off
      use_rpm		      off
      xl_use_area	      off
      xl_area		      "[0,0,0,0,0,0,0]"
      has_advanced_control    "0"
      sggui_pos		      "204,22,412,631"
      block_type	      "counter"
      block_version	      "8.2.02"
      sg_icon_stat	      "60,60,1,1,white,blue,0,fa73fe1c"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14 30 34 3"
"8 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54 41 54 4"
"5 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 60 60 0 ],[0 60 60 0 "
"0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begin "
"icon text');\ncolor('black');port_label('input',1,'rst');\ncolor('black');por"
"t_label('output',1,'out');\nfprintf('','COMMENT: end icon text');\n"
    }
    Block {
      BlockType		      FromWorkspace
      Name		      "From\nWorkspace1"
      Position		      [15, 158, 70, 182]
      VariableName	      "x"
      SampleTime	      "Ts"
      Interpolate	      off
      OutputAfterFinalValue   "Holding final value"
    }
    Block {
      BlockType		      FromWorkspace
      Name		      "From\nWorkspace2"
      Position		      [15, 438, 70, 462]
      VariableName	      "start"
      SampleTime	      "Ts"
      Interpolate	      off
      OutputAfterFinalValue   "Holding final value"
    }
    Block {
      BlockType		      FromWorkspace
      Name		      "From\nWorkspace3"
      Position		      [15, 243, 70, 267]
      VariableName	      "n"
      SampleTime	      "Ts"
      Interpolate	      off
      OutputAfterFinalValue   "Holding final value"
    }
    Block {
      BlockType		      Reference
      Name		      "Mult"
      Ports		      [2, 1]
      Position		      [565, 172, 620, 228]
      FontSize		      10
      SourceBlock	      "xbsIndex_r4/Mult"
      SourceType	      "Xilinx Multiplier Block"
      infoedit		      "Hardware notes: To use the internal pipeline st"
"age of the dedicated multiplier you must select 'Pipeline for maximum perform"
"ance'."
      precision		      "User Defined"
      arith_type	      "Unsigned"
      n_bits		      "16"
      bin_pt		      "0"
      quantization	      "Truncate"
      overflow		      "Wrap"
      en		      off
      latency		      "0"
      dbl_ovrd		      off
      use_behavioral_HDL      off
      use_embedded	      on
      opt		      "Speed"
      optimum_pipeline	      off
      use_rpm		      on
      placement_style	      "Rectangular shape"
      xl_use_area	      off
      xl_area		      "[0,0,0,0,0,0,0]"
      pipeline		      "on"
      has_advanced_control    "0"
      sggui_pos		      "341,145,430,462"
      block_type	      "mult"
      block_version	      "8.2.02"
      sg_icon_stat	      "55,56,2,1,white,blue,0,dd5fccf4"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 55 55 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13 28 32 3"
"6 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[6 15 28 41 50 50 46 50 50 38 50 4"
"1 28 15 6 18 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 56 56 0 "
"0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begin "
"icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black');port_"
"label('input',2,'b');\ncolor('black');port_label('output',1,'(ab)');\ncolor('"
"black');disp('\\newline\\bf{}\\newlinez^{-0}','texmode','on');\nfprintf('','C"
"OMMENT: end icon text');\n"
    }
    Block {
      BlockType		      Reference
      Name		      "Register"
      Ports		      [2, 1]
      Position		      [195, 157, 255, 213]
      FontSize		      10
      SourceBlock	      "xbsIndex_r4/Register"
      SourceType	      "Xilinx Register Block"
      init		      "0"
      rst		      off
      en		      on
      dbl_ovrd		      off
      xl_use_area	      off
      xl_area		      "[0,0,0,0,0,0,0]"
      has_advanced_control    "0"
      sggui_pos		      "434,88,412,189"
      block_type	      "register"
      block_version	      "8.2.02"
      sg_icon_stat	      "60,56,2,1,white,blue,0,cc3303a0"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 30 34 3"
"8 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50 37 49 4"
"0 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');\nfprintf('','COMMENT: begin "
"icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');port_"
"label('input',2,'en');\ncolor('black');port_label('output',1,'q');\ncolor('bl"
"ack');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end icon tex"
"t');\n"
    }
    Block {
      BlockType		      Reference
      Name		      "Register1"
      Ports		      [2, 1]
      Position		      [560, 62, 620, 118]
      Orientation	      "left"
      NamePlacement	      "alternate"
      FontSize		      10
      SourceBlock	      "xbsIndex_r4/Register"
      SourceType	      "Xilinx Register Block"
      init		      "1"
      rst		      on
      en		      off
      dbl_ovrd		      off
      xl_use_area	      off
      xl_area		      "[0,0,0,0,0,0,0]"
      has_advanced_control    "0"
      sggui_pos		      "227,300,412,189"
      block_type	      "register"
      block_version	      "8.2.02"
      sg_icon_stat	      "60,56,2,1,white,blue,0,b6caf0d3"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 30 34 3"
"8 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50 37 49 4"
"0 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');\nfprintf('','COMMENT: begin "
"icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');port_"
"label('input',2,'rst');\ncolor('black');port_label('output',1,'q');\ncolor('b"
"lack');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end icon te"
"xt');\n"
    }
    Block {
      BlockType		      Reference
      Name		      "Register2"
      Ports		      [2, 1]
      Position		      [195, 242, 255, 298]
      FontSize		      10
      SourceBlock	      "xbsIndex_r4/Register"
      SourceType	      "Xilinx Register Block"
      init		      "0"
      rst		      off
      en		      on
      dbl_ovrd		      off
      xl_use_area	      off
      xl_area		      "[0,0,0,0,0,0,0]"
      has_advanced_control    "0"
      sggui_pos		      "-1,-1,-1,-1"
      block_type	      "register"
      block_version	      "8.2.02"
      sg_icon_stat	      "60,56,2,1,white,blue,0,cc3303a0"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 30 34 3"
"8 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50 37 49 4"
"0 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');\nfprintf('','COMMENT: begin "
"icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');port_"
"label('input',2,'en');\ncolor('black');port_label('output',1,'q');\ncolor('bl"
"ack');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end icon tex"
"t');\n"
      Port {
	PortNumber		1
	Name			"n"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Relational"
      Ports		      [2, 1]
      Position		      [355, 257, 410, 313]
      FontSize		      10
      SourceBlock	      "xbsIndex_r4/Relational"
      SourceType	      "Xilinx Arithmetic Relational Operator Block"
      mode		      "a=b"
      en		      off
      latency		      "0"
      dbl_ovrd		      off
      xl_use_area	      off
      xl_area		      "[0,0,0,0,0,0,0]"
      has_advanced_control    "0"
      sggui_pos		      "242,214,412,187"
      block_type	      "relational"
      block_version	      "8.2.02"
      sg_icon_stat	      "55,56,2,1,white,blue,0,1b68ef8e"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 55 55 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13 28 32 3"
"6 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[6 15 28 41 50 50 46 50 50 38 50 4"
"1 28 15 6 18 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 56 56 0 "
"0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begin "
"icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black');port_"
"label('input',2,'b');\ncolor('black');disp('\\newline\\bf{a=b}\\newlinez^{-0}"
"','texmode','on');\nfprintf('','COMMENT: end icon text');\n"
    }
    Block {
      BlockType		      Reference
      Name		      "Resource Estimator"
      Tag		      "resEstTag"
      Ports		      []
      Position		      [151, 48, 204, 101]
      ShowName		      off
      AttributesFormatString  "Resource\\nEstimator"
      SourceBlock	      "xbsIndex_r4/Resource Estimator"
      SourceType	      "Xilinx Resource Estimator Block"
      Slices		      "29"
      FFs		      "43"
      BRAMs		      "0"
      LUTs		      "20"
      IOBs		      "18"
      EBMs		      "0"
      TBUFs		      "0"
      xl_use_estimator_area   off
      est_options	      "Estimate"
      xl_estimator_area	      "[29 43 0 20 18 0 0]"
      has_advanced_control    "0"
      sggui_pos		      "-1,-1,-1,-1"
      block_type	      "resource_estimator"
      block_version	      "8.2.02"
      sg_icon_stat	      "53,53,-1,-1,blue,white,0,07734"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 53 53 0 ],[0 0 53 53 ],[0.98 0.96 0.92]);\npatch([13 4 16 4 13 27 31 3"
"5 50 38 27 19 31 19 27 38 50 35 31 27 13 ],[6 15 27 39 48 48 44 48 48 36 47 3"
"9 27 15 7 18 6 6 10 6 6 ],[0.77 0.82 0.91]);\nplot([0 0 53 53 0 ],[0 53 53 0 "
"0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begin "
"icon text');\nfprintf('','COMMENT: end icon text');\n"
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator1"
      Position		      [880, 190, 900, 210]
    }
    Block {
      BlockType		      Terminator
      Name		      "Terminator2"

⌨️ 快捷键说明

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