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

📄 qpsk_mod_const_freq.mdl

📁 QPSK发送机
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      BlockType		      RelationalOperator
      Operator		      ">="
      InputSameDT	      on
      LogicOutDataTypeMode    "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      Floating		      off
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "0"
    }
    Block {
      BlockType		      Sin
      SineType		      "Time based"
      TimeSource	      "Use simulation time"
      Amplitude		      "1"
      Bias		      "0"
      Frequency		      "1"
      Phase		      "0"
      Samples		      "10"
      Offset		      "0"
      SampleTime	      "-1"
      VectorParams1D	      on
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      TriggerPort
      TriggerType	      "rising"
      StatesWhenEnabling      "inherit"
      ShowOutputPort	      off
      OutputDataType	      "auto"
      SampleTimeType	      "triggered"
      SampleTime	      "1"
      ZeroCross		      on
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "qpsk_mod_const_freq"
    Location		    [6, 82, 1018, 714]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "QPSK modulator"
      Ports		      [0, 4]
      Position		      [100, 88, 235, 357]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"QPSK modulator"
	Location		[2, 82, 980, 705]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Sum
	  Name			  "Add"
	  Ports			  [2, 1]
	  Position		  [700, 227, 730, 258]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Scope
	  Name			  "Bipol even"
	  Ports			  [1]
	  Position		  [410, 43, 440, 77]
	  Location		  [6, 54, 504, 243]
	  Open			  off
	  NumInputPorts		  "1"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  TimeRange		  "5"
	  SaveName		  "ScopeData15"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	}
	Block {
	  BlockType		  Scope
	  Name			  "Bipol odd"
	  Ports			  [1]
	  Position		  [410, 439, 440, 471]
	  Location		  [504, 54, 1019, 242]
	  Open			  off
	  NumInputPorts		  "1"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  TimeRange		  "5"
	  SaveName		  "ScopeData16"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	}
	Block {
	  BlockType		  Scope
	  Name			  "Cosine_even"
	  Ports			  [1]
	  Position		  [515, 188, 545, 222]
	  Location		  [6, 300, 339, 487]
	  Open			  off
	  NumInputPorts		  "1"
	  TickLabels		  "on"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  Sin
	  Name			  "I-phase Cosine "
	  Ports			  [0, 1]
	  Position		  [410, 145, 440, 175]
	  SineType		  "Time based"
	  Frequency		  "2*pi*4"
	  Phase			  "pi/2"
	  SampleTime		  "0.001"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Mod_op"
	  Ports			  [3]
	  Position		  [835, 171, 895, 259]
	  Location		  [5, 54, 1029, 741]
	  Open			  off
	  NumInputPorts		  "3"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	    axes3		    "%<SignalLabel>"
	  }
	  TimeRange		  "5"
	  YMin			  "-5~-5~-5"
	  YMax			  "5~5~5"
	  SaveName		  "ScopeData5"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	}
	Block {
	  BlockType		  Scope
	  Name			  "Mod_op1"
	  Ports			  [3]
	  Position		  [835, 301, 895, 389]
	  Location		  [5, 54, 1029, 741]
	  Open			  off
	  NumInputPorts		  "3"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	    axes3		    "%<SignalLabel>"
	  }
	  TimeRange		  "5"
	  YMin			  "-5~-5~-5"
	  YMax			  "5~5~5"
	  SaveName		  "ScopeData17"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product 1"
	  Ports			  [2, 1]
	  Position		  [515, 122, 545, 153]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product 2"
	  Ports			  [2, 1]
	  Position		  [515, 397, 545, 428]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Scope
	  Name			  "Sine_odd"
	  Ports			  [1]
	  Position		  [520, 258, 550, 292]
	  Location		  [5, 54, 1029, 741]
	  Open			  off
	  NumInputPorts		  "1"
	  TickLabels		  "on"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData1"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  Scope
	  Name			  "even"
	  Ports			  [3]
	  Position		  [690, 28, 720, 62]
	  Location		  [6, 54, 504, 500]
	  Open			  off
	  NumInputPorts		  "3"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	    axes2		    "%<SignalLabel>"
	    axes3		    "%<SignalLabel>"
	  }
	  TimeRange		  "5"
	  YMin			  "-5~-5~-5"
	  YMax			  "5~5~5"
	  SaveName		  "ScopeData2"
	  DataFormat		  "StructureWithTime"
	  LimitDataPoints	  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "even odd data source"
	  Ports			  [0, 3]
	  Position		  [25, 94, 80, 456]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "even odd data source"
	    Location		    [2, 82, 1014, 722]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "112"
	    Block {
	      BlockType		      Scope
	      Name		      "Scope"
	      Ports		      [4]
	      Position		      [485, 35, 540, 125]
	      Location		      [1, 50, 1025, 737]
	      Open		      off
	      NumInputPorts	      "4"
	      List {
		ListType		AxesTitles
		axes1			"clock"
		axes2			"data"
		axes3			"even bits"
		axes4			"odd bits"
	      }
	      YMin		      "-5~-5~-5~-5"
	      YMax		      "5~5~5~5"
	      SaveName		      "ScopeData7"
	      DataFormat	      "StructureWithTime"
	      LimitDataPoints	      off
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Scope format"
	      Ports		      [4]
	      Position		      [740, 125, 795, 215]
	      ForegroundColor	      "red"
	      Location		      [1, 50, 1025, 737]
	      Open		      off
	      NumInputPorts	      "4"
	      List {
		ListType		AxesTitles
		axes1			"clock"
		axes2			"data"
		axes3			"even bits"
		axes4			"odd bits"
	      }
	      YMin		      "-5~-5~-5~-5"
	      YMax		      "5~5~5~5"
	      SaveName		      "ScopeData9"
	      DataFormat	      "StructureWithTime"
	      LimitDataPoints	      off
	    }
	    Block {
	      BlockType		      DiscretePulseGenerator
	      Name		      "clock\nsource"
	      Ports		      [0, 1]
	      Position		      [40, 268, 85, 302]
	      PulseType		      "Time based"
	      Period		      "1"
	      PulseWidth	      "50"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "data source"
	      Ports		      [0, 1]
	      Position		      [25, 133, 105, 177]
	      FontName		      "Arial"
	      SourceBlock	      "commrandsrc2/Bernoulli Binary\nGenerato"
"r"
	      SourceType	      "Bernoulli Binary Generator"
	      ShowPortLabels	      on
	      P			      "0.5"
	      seed		      "61"
	      Ts		      ".5"
	      frameBased	      off
	      sampPerFrame	      "1"
	      orient		      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "ser_prll"
	      Ports		      [2, 2]
	      Position		      [205, 90, 310, 350]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      System {
		Name			"ser_prll"
		Location		[2, 82, 1014, 722]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [35, 173, 65, 187]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Inport
		  Name			  "In2"
		  Position		  [25, 238, 55, 252]
		  Port			  "2"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant"
		  Position		  [415, 225, 445, 255]
		  OutDataTypeMode	  "boolean"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant1"
		  Position		  [490, 325, 520, 355]
		  OutDataTypeMode	  "boolean"
		}
		Block {
		  BlockType		  Constant
		  Name			  "Constant2"
		  Position		  [660, 330, 690, 360]
		  OutDataTypeMode	  "boolean"
		}
		Block {
		  BlockType		  Reference
		  Name			  "D Flip-Flop"
		  Ports			  [3, 2]
		  Position		  [490, 177, 535, 253]
		  SourceBlock		  "simulink_extras/Flip Flops/D Flip-F"
"lop"
		  SourceType		  "DFlipFlop"
		  ShowPortLabels	  on
		}
		Block {
		  BlockType		  Reference
		  Name			  "D Flip-Flop1"
		  Ports			  [3, 2]
		  Position		  [560, 277, 605, 353]
		  SourceBlock		  "simulink_extras/Flip Flops/D Flip-F"
"lop"
		  SourceType		  "DFlipFlop"
		  ShowPortLabels	  on
		}
		Block {
		  BlockType		  Reference
		  Name			  "D Flip-Flop2"
		  Ports			  [3, 2]
		  Position		  [730, 282, 775, 358]
		  SourceBlock		  "simulink_extras/Flip Flops/D Flip-F"
"lop"
		  SourceType		  "DFlipFlop"
		  ShowPortLabels	  on
		}
		Block {
		  BlockType		  DataTypeConversion
		  Name			  "Data Type Conversion"
		  Position		  [100, 228, 175, 262]
		  OutDataTypeMode	  "boolean"
		  RndMeth		  "Floor"
		  SaturateOnIntegerOverflow off
		}
		Block {
		  BlockType		  DataTypeConversion
		  Name			  "Data Type Conversion1"
		  Position		  [115, 163, 190, 197]
		  OutDataTypeMode	  "boolean"
		  RndMeth		  "Floor"
		  SaturateOnIntegerOverflow off
		}
		Block {
		  BlockType		  Logic
		  Name			  "Logical\nOperator"
		  Ports			  [2, 1]
		  Position		  [325, 172, 355, 203]
		  AllPortsSameDT	  off
		  OutDataTypeMode	  "Boolean"
		}
		Block {
		  BlockType		  Logic
		  Name			  "Logical\nOperator1"
		  Ports			  [2, 1]
		  Position		  [330, 272, 360, 303]
		  AllPortsSameDT	  off
		  OutDataTypeMode	  "Boolean"
		}
		Block {
		  BlockType		  CombinatorialLogic
		  Name			  "NOT gate"
		  Position		  [215, 230, 245, 260]
		  TruthTable		  "[1;0]"
		}
		Block {
		  BlockType		  Scope
		  Name			  "scope format"
		  Ports			  [7]
		  Position		  [930, 446, 975, 604]
		  Location		  [682, 51, 1015, 318]
		  Open			  off
		  NumInputPorts		  "7"
		  List {
		    ListType		    AxesTitles
		    axes1		    "clock"
		    axes2		    "serial data"
		    axes3		    "even data stream"
		    axes4		    "odd data stream"
		    axes5		    "registered even data stream (samp"

⌨️ 快捷键说明

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