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

📄 subdds.mdl

📁 generate the sine wave using DSP Builder
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  logOutputs		  off
	  logFile		  "C:\\Documents and Settings\\Administrator\\My Documents\\MATLAB\\tb_SubDDS\\SubDDS_SinGen_AltBus.fixedpointlog"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Amp"
	  Ports			  [1, 1]
	  Position		  [90, 312, 155, 328]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/AltBus"
	  SourceType		  "AltBus AlteraBlockset"
	  BusType		  "Signed Integer"
	  bwl			  "10"
	  bwr			  "0"
	  saturate		  off
	  floatingPointInput	  on
	  floatingPointOutput	  on
	  logOutputs		  off
	  logFile		  "C:\\Documents and Settings\\Administrator\\My Documents\\MATLAB\\tb_SubDDS\\SubDDS_SinGen_Amp.fixedpointlog"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bus Conversion"
	  Ports			  [1, 1]
	  Position		  [485, 255, 545, 275]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/Bus Conversion"
	  SourceType		  "Bus Conversion AlteraBlockset"
	  BusType		  "Signed Integer"
	  ibwl			  "20"
	  ibwr			  "1"
	  bwl			  "16"
	  bwr			  "1"
	  bitToConnectToOutputLSB "3"
	  round			  off
	  saturate		  on
	  pipeline_display	  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bus Conversion1"
	  Ports			  [1, 1]
	  Position		  [85, 240, 145, 260]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/Bus Conversion"
	  SourceType		  "Bus Conversion AlteraBlockset"
	  BusType		  "Signed Integer"
	  ibwl			  "32"
	  ibwr			  "1"
	  bwl			  "10"
	  bwr			  "1"
	  bitToConnectToOutputLSB "22"
	  round			  off
	  saturate		  off
	  pipeline_display	  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Delay"
	  Ports			  [1, 1]
	  Position		  [190, 107, 250, 163]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/Delay"
	  SourceType		  "Delay AlteraBlockset"
	  pipeline		  "1"
	  pipeline_display	  "1"
	  ClockPhase		  "1"
	  use_ena		  off
	  use_sclr		  off
	  allowFloatingPointOverride on
	  logOutputs		  off
	  logFile		  "C:\\Documents and Settings\\Administrator\\My Documents\\MATLAB\\tb_SubDDS\\SubDDS_SinGen_Delay.fixedpointlog"
	  use_init		  off
	  reset_value		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Freqword"
	  Ports			  [1, 1]
	  Position		  [90, 127, 155, 143]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/AltBus"
	  SourceType		  "AltBus AlteraBlockset"
	  BusType		  "Signed Integer"
	  bwl			  "32"
	  bwr			  "0"
	  saturate		  off
	  floatingPointInput	  on
	  floatingPointOutput	  on
	  logOutputs		  off
	  logFile		  "C:\\Documents and Settings\\Administrator\\My Documents\\MATLAB\\tb_SubDDS\\SubDDS_SinGen_Freqword.fixedpointlog"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Freqword1"
	  Ports			  [1, 1]
	  Position		  [90, 27, 155, 43]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/AltBus"
	  SourceType		  "AltBus AlteraBlockset"
	  BusType		  "Signed Integer"
	  bwl			  "32"
	  bwr			  "0"
	  saturate		  off
	  floatingPointInput	  on
	  floatingPointOutput	  on
	  logOutputs		  off
	  logFile		  "C:\\Documents and Settings\\Administrator\\My Documents\\MATLAB\\tb_SubDDS\\SubDDS_SinGen_Freqword1.fixedpointlog"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Output"
	  Ports			  [1, 1]
	  Position		  [580, 257, 645, 273]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/Output"
	  SourceType		  "Output AlteraBlockset"
	  iofile		  "C:\\Documents and Settings\\Administrator\\My Documents\\MATLAB\\tb_SubDDS\\SubDDS_SinGen_Output.capture"
	  BusType		  "Signed Integer"
	  bwl			  "16"
	  bwr			  "0"
	  externalType		  "Inferred"
	  PORTTYPE		  "Output"
	  allowFloatingPointOverride on
	  logOutputs		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Parallel Adder Subtractor"
	  Ports			  [2, 1]
	  Position		  [350, 77, 385, 153]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/Parallel Adder Subtractor"
	  SourceType		  "ParallelAdder AlteraBlockset"
	  number_of_inputs	  "2"
	  direction		  "++"
	  use_pipeline		  on
	  pipeline_display	  "1"
	  phase_selection	  "1"
	  use_ena		  off
	  use_aclr		  off
	  allowFloatingPointOverride on
	  logOutputs		  off
	  logFile		  "C:\\Documents and Settings\\Administrator\\My Documents\\MATLAB\\tb_SubDDS\\SubDDS_SinGen_Parallel+Adder+Subtractor.fixedpointlog"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Parallel Adder Subtractor1"
	  Ports			  [2, 1]
	  Position		  [550, 57, 585, 133]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/Parallel Adder Subtractor"
	  SourceType		  "ParallelAdder AlteraBlockset"
	  number_of_inputs	  "2"
	  direction		  "++"
	  use_pipeline		  on
	  pipeline_display	  "1"
	  phase_selection	  "1"
	  use_ena		  off
	  use_aclr		  off
	  allowFloatingPointOverride on
	  logOutputs		  off
	  logFile		  "C:\\Documents and Settings\\Administrator\\My Documents\\MATLAB\\tb_SubDDS\\SubDDS_SinGen_Parallel+Adder+Subtractor1.fixedpointlog"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [360, 237, 440, 293]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/Product"
	  SourceType		  "Product AlteraBlockset"
	  BusType		  "Signed Integer"
	  bwl			  "10"
	  bwr			  "0"
	  pipeline		  "2"
	  pipeline_display	  "2"
	  phase_selection	  "1"
	  use_ena		  off
	  use_aclr		  off
	  UseLPM		  off
	  UseDedicatedCircuitry	  on
	  allowFloatingPointOverride on
	  logOutputs		  off
	  logFile		  "C:\\Documents and Settings\\Administrator\\My Documents\\MATLAB\\tb_SubDDS\\SubDDS_SinGen_Product.fixedpointlog"
	}
	Block {
	  BlockType		  Reference
	  Name			  "SinLUT"
	  Ports			  [1, 1]
	  Position		  [210, 199, 275, 301]
	  ForegroundColor	  "blue"
	  SourceBlock		  "allblocks_alteradspbuilder2/LUT"
	  SourceType		  "LUT AlteraBlockset"
	  addr_width		  "10"
	  BusType		  "Signed Integer"
	  bwl			  "10"
	  bwr			  "0"
	  init_array		  "255*sin( [0:2*pi/(2^10):2*pi] )"
	  allowFloatingPointOverride on
	  logOutputs		  off
	  logFile		  "C:\\Documents and Settings\\Administrator\\My Documents\\MATLAB\\tb_SubDDS\\SubDDS_SinGen_SinLUT.fixedpointlog"
	  use_ena		  off
	  reg_data		  off
	  use_lpm		  on
	  reg_addr		  off
	  ram_type		  "AUTO"
	  pipeline_display	  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [665, 173, 695, 187]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [665, 203, 695, 217]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Outport
	  Name			  "SinOut"
	  Position		  [665, 258, 695, 272]
	  Port			  "3"
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "Freqword"
	  SrcPort		  1
	  DstBlock		  "Delay"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Delay"
	  SrcPort		  1
	  DstBlock		  "Parallel Adder Subtractor"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "AltBus"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Parallel Adder Subtractor1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -60; -185, 0; 0, 40]
	    DstBlock		    "Parallel Adder Subtractor"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Parallel Adder Subtractor"
	  SrcPort		  1
	  DstBlock		  "AltBus"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Parallel Adder Subtractor1"
	  SrcPort		  1
	  Points		  [55, 0; 0, 85]
	  Branch {
	    Points		    [0, 5; -615, 0; 0, 65]
	    DstBlock		    "Bus Conversion1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Freqword1"
	  SrcPort		  1
	  Points		  [360, 0; 0, 40]
	  DstBlock		  "Parallel Adder Subtractor1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bus Conversion1"
	  SrcPort		  1
	  DstBlock		  "SinLUT"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "SinLUT"
	  SrcPort		  1
	  Points		  [30, 0]
	  Branch {
	    DstBlock		    "Product"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -40]
	    DstBlock		    "Out2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Amp"
	  SrcPort		  1
	  Points		  [150, 0; 0, -40]
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Output"
	  SrcPort		  1
	  DstBlock		  "SinOut"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bus Conversion"
	  SrcPort		  1
	  DstBlock		  "Output"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  DstBlock		  "Bus Conversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Pin[31:0]"
	  SrcPort		  1
	  DstBlock		  "Freqword1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fin[31:0]"
	  SrcPort		  1
	  DstBlock		  "Freqword"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "AIn[9;0]"
	  SrcPort		  1
	  DstBlock		  "Amp"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "SinGen"
      SrcPort		      3
      DstBlock		      "Scope"
      DstPort		      3
    }
    Line {
      SrcBlock		      "SinGen"
      SrcPort		      1
      Points		      [30, 0]
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "SinGen"
      SrcPort		      2
      Points		      [0, 20]
      DstBlock		      "Scope"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Constant"
      SrcPort		      1
      DstBlock		      "AltBus1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant1"
      SrcPort		      1
      DstBlock		      "AltBus"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Constant2"
      SrcPort		      1
      DstBlock		      "AltBus2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AltBus2"
      SrcPort		      1
      DstBlock		      "SinGen"
      DstPort		      3
    }
    Line {
      SrcBlock		      "AltBus"
      SrcPort		      1
      DstBlock		      "SinGen"
      DstPort		      2
    }
    Line {
      SrcBlock		      "AltBus1"
      SrcPort		      1
      DstBlock		      "SinGen"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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