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

📄 qpsk.mdl

📁 一个QPSK的仿真程序
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Ac			  "1"
	  Fc			  "1"
	  Kc			  "1"
	  Ph			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Continuous-Time\nVCO1"
	  Ports			  [1, 1]
	  Position		  [80, 95, 155, 125]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  SourceBlock		  "commsynccomp2/Continuous-Time\nVCO"
	  SourceType		  "Continuous-Time VCO"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Ac			  "1"
	  Fc			  "1"
	  Kc			  "1"
	  Ph			  "pi/4"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Continuous-Time\nVCO2"
	  Ports			  [1, 1]
	  Position		  [80, 160, 155, 190]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  SourceBlock		  "commsynccomp2/Continuous-Time\nVCO"
	  SourceType		  "Continuous-Time VCO"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Ac			  "1"
	  Fc			  "1"
	  Kc			  "1"
	  Ph			  "pi/2"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Continuous-Time\nVCO3"
	  Ports			  [1, 1]
	  Position		  [80, 230, 155, 260]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  SourceBlock		  "commsynccomp2/Continuous-Time\nVCO"
	  SourceType		  "Continuous-Time VCO"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Ac			  "1"
	  Fc			  "1"
	  Kc			  "1"
	  Ph			  "3*pi/4"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product4"
	  Ports			  [4, 1]
	  Position		  [425, 120, 460, 170]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  Inputs		  "4"
	  CollapseMode		  "All dimensions"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [25, 38, 55, 52]
	  Orientation		  "left"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [25, 103, 55, 117]
	  Orientation		  "left"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out3"
	  Position		  [25, 168, 55, 182]
	  Orientation		  "left"
	  Port			  "3"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out4"
	  Position		  [25, 238, 55, 252]
	  Orientation		  "left"
	  Port			  "4"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Product4"
	  SrcPort		  1
	  DstBlock		  "Analog\nFilter Design5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Analog\nFilter Design5"
	  SrcPort		  1
	  Points		  [-60, 0]
	  Branch {
	    Points		    [0, -35]
	    Branch {
	      Points		      [0, -65]
	      DstBlock		      "Continuous-Time\nVCO"
	      DstPort		      1
	    }
	    Branch {
	      DstBlock		      "Continuous-Time\nVCO1"
	      DstPort		      1
	    }
	  }
	  Branch {
	    Points		    [0, 30]
	    Branch {
	      DstBlock		      "Continuous-Time\nVCO2"
	      DstPort		      1
	    }
	    Branch {
	      Points		      [0, 70]
	      DstBlock		      "Continuous-Time\nVCO3"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Continuous-Time\nVCO"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Continuous-Time\nVCO1"
	  SrcPort		  1
	  DstBlock		  "Out2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Product4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "Product4"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "Product4"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  DstBlock		  "Product4"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Continuous-Time\nVCO2"
	  SrcPort		  1
	  DstBlock		  "Out3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Continuous-Time\nVCO3"
	  SrcPort		  1
	  DstBlock		  "Out4"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [325, 37, 355, 68]
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product1"
      Ports		      [2, 1]
      Position		      [325, 107, 355, 138]
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product2"
      Ports		      [2, 1]
      Position		      [325, 277, 355, 308]
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Product
      Name		      "Product3"
      Ports		      [2, 1]
      Position		      [325, 347, 355, 378]
      CollapseMode	      "All dimensions"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      SubSystem
      Name		      "SOURCE"
      Ports		      [0, 1]
      Position		      [45, 180, 85, 240]
      BackgroundColor	      "orange"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"SOURCE"
	Location		[2, 82, 1014, 721]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Bernoulli Binary\nGenerator1"
	  Ports			  [0, 1]
	  Position		  [25, 83, 105, 127]
	  DialogController	  "commDDGCreate"
	  DialogControllerArgs	  "DataTag0"
	  SourceBlock		  "commrandsrc2/Bernoulli Binary\nGenerator"
	  SourceType		  "Bernoulli Binary Generator"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  P			  "0.5"
	  seed			  "54321"
	  Ts			  "1"
	  frameBased		  off
	  sampPerFrame		  "1"
	  orient		  on
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bernoulli Binary\nGenerator2"
	  Ports			  [0, 1]
	  Position		  [30, 293, 110, 337]
	  DialogController	  "commDDGCreate"
	  DialogControllerArgs	  "DataTag1"
	  SourceBlock		  "commrandsrc2/Bernoulli Binary\nGenerator"
	  SourceType		  "Bernoulli Binary Generator"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  P			  "0.5"
	  seed			  "12345"
	  Ts			  "1"
	  frameBased		  off
	  sampPerFrame		  "1"
	  orient		  on
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [460, 97, 490, 128]
	  CollapseMode		  "All dimensions"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [465, 307, 495, 338]
	  CollapseMode		  "All dimensions"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope"
	  Ports			  [1]
	  Position		  [535, 28, 565, 62]
	  Floating		  off
	  Location		  [483, 69, 919, 461]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData2"
	  DataFormat		  "StructureWithTime"
	  Decimation		  "3"
	  SampleInput		  on
	  SampleTime		  "0.01"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope0"
	  Ports			  [1]
	  Position		  [185, 28, 215, 62]
	  Floating		  off
	  Location		  [5, 185, 1029, 609]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0.000001"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope1"
	  Ports			  [1]
	  Position		  [370, 28, 400, 62]
	  Floating		  off
	  Location		  [312, 370, 661, 596]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData1"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0.1"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope2"
	  Ports			  [1]
	  Position		  [540, 238, 570, 272]
	  Floating		  off
	  Location		  [484, 350, 920, 742]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData3"
	  DataFormat		  "StructureWithTime"
	  Decimation		  "3"
	  SampleInput		  on
	  SampleTime		  "0.01"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope3"
	  Ports			  [1]
	  Position		  [190, 238, 220, 272]
	  Floating		  off
	  Location		  [-69, 231, 955, 655]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData4"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0.000001"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope4"
	  Ports			  [1]
	  Position		  [375, 238, 405, 272]
	  Floating		  off
	  Location		  [312, 370, 661, 596]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData5"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0.1"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope5"
	  Ports			  [1]
	  Position		  [730, 109, 760, 141]
	  Floating		  off
	  Location		  [36, 68, 474, 460]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData6"
	  DataFormat		  "StructureWithTime"
	  SampleInput		  on
	  SampleTime		  "0.01"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [635, 174, 675, 226]
	  ShowName		  off
	  Inputs		  "|+-"
	  CollapseMode		  "All dimensions"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "convert"
	  Ports			  [1, 1]
	  Position		  [245, 82, 315, 128]
	  List {

⌨️ 快捷键说明

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