final.mdl

来自「simulink model for optical cdma system w」· MDL 代码 · 共 2,322 行 · 第 1/5 页

MDL
2,322
字号
      Ports		      [2, 1]
      Position		      [380, 507, 430, 543]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag6"
      SourceBlock	      "dspsigops/Convolution"
      SourceType	      "Convolution"
      domain		      "Time"
      additionalParams	      off
      allowOverrides	      on
      outputMode	      "Same as accumulator"
      outputWordLength	      "16"
      outputFracLength	      "15"
      accumMode		      "Inherit via internal rule"
      accumWordLength	      "32"
      accumFracLength	      "30"
      prodOutputMode	      "Inherit via internal rule"
      prodOutputWordLength    "32"
      prodOutputFracLength    "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Convolution3"
      Ports		      [2, 1]
      Position		      [380, 692, 430, 728]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag7"
      SourceBlock	      "dspsigops/Convolution"
      SourceType	      "Convolution"
      domain		      "Time"
      additionalParams	      off
      allowOverrides	      on
      outputMode	      "Same as accumulator"
      outputWordLength	      "16"
      outputFracLength	      "15"
      accumMode		      "Inherit via internal rule"
      accumWordLength	      "32"
      accumFracLength	      "30"
      prodOutputMode	      "Inherit via internal rule"
      prodOutputWordLength    "32"
      prodOutputFracLength    "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Correlation"
      Ports		      [2, 1]
      Position		      [890, 140, 940, 180]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag8"
      SourceBlock	      "dspstat3/Correlation"
      SourceType	      "Correlation"
      domain		      "Fastest"
      additionalParams	      off
      allowOverrides	      on
      outputMode	      "Same as product output"
      outputWordLength	      "16"
      outputFracLength	      "15"
      accumMode		      "Inherit via internal rule"
      accumWordLength	      "32"
      accumFracLength	      "30"
      prodOutputMode	      "Inherit via internal rule"
      prodOutputWordLength    "32"
      prodOutputFracLength    "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
    }
    Block {
      BlockType		      Scope
      Name		      "Correlation1"
      Ports		      [1]
      Position		      [995, 84, 1025, 116]
      Floating		      off
      Location		      [17, 524, 341, 763]
      Open		      off
      NumInputPorts	      "1"
      ZoomMode		      "xonly"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Correlation2"
      Ports		      [2, 1]
      Position		      [910, 385, 960, 425]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag9"
      SourceBlock	      "dspstat3/Correlation"
      SourceType	      "Correlation"
      domain		      "Fastest"
      additionalParams	      off
      allowOverrides	      on
      outputMode	      "Same as product output"
      outputWordLength	      "16"
      outputFracLength	      "15"
      accumMode		      "Inherit via internal rule"
      accumWordLength	      "32"
      accumFracLength	      "30"
      prodOutputMode	      "Inherit via internal rule"
      prodOutputWordLength    "32"
      prodOutputFracLength    "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Correlation3"
      Ports		      [2, 1]
      Position		      [920, 515, 970, 555]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag10"
      SourceBlock	      "dspstat3/Correlation"
      SourceType	      "Correlation"
      domain		      "Fastest"
      additionalParams	      off
      allowOverrides	      on
      outputMode	      "Same as product output"
      outputWordLength	      "16"
      outputFracLength	      "15"
      accumMode		      "Inherit via internal rule"
      accumWordLength	      "32"
      accumFracLength	      "30"
      prodOutputMode	      "Inherit via internal rule"
      prodOutputWordLength    "32"
      prodOutputFracLength    "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Correlation4"
      Ports		      [2, 1]
      Position		      [930, 660, 980, 700]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag11"
      SourceBlock	      "dspstat3/Correlation"
      SourceType	      "Correlation"
      domain		      "Fastest"
      additionalParams	      off
      allowOverrides	      on
      outputMode	      "Same as product output"
      outputWordLength	      "16"
      outputFracLength	      "15"
      accumMode		      "Inherit via internal rule"
      accumWordLength	      "32"
      accumFracLength	      "30"
      prodOutputMode	      "Inherit via internal rule"
      prodOutputWordLength    "32"
      prodOutputFracLength    "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Gaussian Noise\nGenerator"
      Ports		      [0, 1]
      Position		      [465, 153, 545, 197]
      SourceBlock	      "commnoisgen2/Gaussian Noise\nGenerator"
      SourceType	      "Gaussian Noise 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"
      m			      "0"
      d			      "1"
      s			      "41"
      Ts		      "1"
      frameBased	      off
      sampPerFrame	      "1"
      orient		      off
      outDataType	      "double"
    }
    Block {
      BlockType		      Scope
      Name		      "Gaussian Noise\nGenerator1"
      Ports		      [1]
      Position		      [575, 104, 605, 136]
      Floating		      off
      Location		      [57, 247, 381, 486]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData2"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Integer Delay"
      Ports		      [1, 1]
      Position		      [240, 109, 285, 151]
      SourceBlock	      "simulink/Discrete/Integer Delay"
      SourceType	      "Integer Delay"
      vinit		      "0.0"
      samptime		      "1"
      NumDelays		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Integer Delay1"
      Ports		      [1, 1]
      Position		      [265, 253, 300, 287]
      SourceBlock	      "simulink/Discrete/Integer Delay"
      SourceType	      "Integer Delay"
      vinit		      "0.0"
      samptime		      "1"
      NumDelays		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Integer Delay2"
      Ports		      [1, 1]
      Position		      [265, 433, 300, 467]
      SourceBlock	      "simulink/Discrete/Integer Delay"
      SourceType	      "Integer Delay"
      vinit		      "0.0"
      samptime		      "1"
      NumDelays		      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Integer Delay3"
      Ports		      [1, 1]
      Position		      [265, 618, 300, 652]
      SourceBlock	      "simulink/Discrete/Integer Delay"
      SourceType	      "Integer Delay"
      vinit		      "0.0"
      samptime		      "1"
      NumDelays		      "1"
    }
    Block {
      BlockType		      MinMax
      Name		      "MinMax2"
      Ports		      [1, 1]
      Position		      [995, 390, 1025, 420]
      Function		      "max"
      InputSameDT	      off
      OutDataTypeMode	      "double"
      OutDataType	      "double"
      OutScaling	      "2^1"
      RndMeth		      "Zero"
    }
    Block {
      BlockType		      MinMax
      Name		      "MinMax4"
      Ports		      [1, 1]
      Position		      [990, 520, 1020, 550]
      Function		      "max"
      InputSameDT	      off
      OutDataTypeMode	      "double"
      OutDataType	      "double"
      OutScaling	      "2^1"
      RndMeth		      "Zero"
    }
    Block {
      BlockType		      MinMax
      Name		      "MinMax5"
      Ports		      [1, 1]
      Position		      [1005, 665, 1035, 695]
      Function		      "max"
      InputSameDT	      off
      OutDataTypeMode	      "double"
      OutDataType	      "double"
      OutScaling	      "2^1"
      RndMeth		      "Zero"
    }
    Block {
      BlockType		      MinMax
      Name		      "MinMax6"
      Ports		      [1, 1]
      Position		      [980, 145, 1010, 175]
      Function		      "max"
      InputSameDT	      off
      OutDataTypeMode	      "double"
      OutDataType	      "double"
      OutScaling	      "2^1"
      RndMeth		      "Zero"
    }
    Block {
      BlockType		      Reference
      Name		      "Repeat"
      Ports		      [1, 1]
      Position		      [180, 78, 220, 112]
      SourceBlock	      "dspsigops/Repeat"
      SourceType	      "Repeat"
      N			      "310"
      ic		      "0"
      mode		      "Maintain input frame size"
    }
    Block {
      BlockType		      Scope
      Name		      "Repeat1"
      Ports		      [1]
      Position		      [240, 58, 260, 82]
      Floating		      off
      Location		      [18, 222, 342, 461]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData11"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Repeat2"
      Ports		      [1, 1]
      Position		      [180, 253, 220, 287]
      SourceBlock	      "dspsigops/Repeat"
      SourceType	      "Repeat"
      N			      "310"
      ic		      "0"
      mode		      "Maintain input frame size"
    }
    Block {
      BlockType		      Scope
      Name		      "Repeat3"
      Ports		      [1]
      Position		      [240, 233, 260, 257]
      Floating		      off
      Location		      [18, 222, 342, 461]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData18"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Repeat4"
      Ports		      [1, 1]
      Position		      [180, 433, 220, 467]
      SourceBlock	      "dspsigops/Repeat"
      SourceType	      "Repeat"
      N			      "310"
      ic		      "0"
      mode		      "Maintain input frame size"
    }
    Block {
      BlockType		      Scope
      Name		      "Repeat5"
      Ports		      [1]
      Position		      [240, 413, 260, 437]
      Floating		      off
      Location		      [18, 222, 342, 461]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData21"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Repeat6"
      Ports		      [1, 1]
      Position		      [180, 618, 220, 652]
      SourceBlock	      "dspsigops/Repeat"
      SourceType	      "Repeat"
      N			      "310"
      ic		      "0"
      mode		      "Maintain input frame size"
    }
    Block {
      BlockType		      Scope
      Name		      "Repeat7"
      Ports		      [1]
      Position		      [240, 598, 260, 622]
      Floating		      off
      Location		      [18, 222, 342, 461]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData24"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation"
      Position		      [635, 325, 665, 355]
      UpperLimit	      "1"
      LowerLimit	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Saturation1"
      Ports		      [1]
      Position		      [685, 379, 715, 411]
      Floating		      off
      Location		      [334, 544, 658, 783]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation2"
      Position		      [1040, 145, 1070, 175]
      UpperLimit	      "1"
      LowerLimit	      "0"
      SampleTime	      "1"
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation3"
      Position		      [1050, 390, 1080, 420]
      UpperLimit	      "1"
      LowerLimit	      "0"
      SampleTime	      "1"
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation4"
      Position		      [1055, 470, 1085, 500]
      UpperLimit	      "1"
      LowerLimit	      "0"
      SampleTime	      "1"
    }
    Block {
      BlockType		      Saturate
      Name		      "Saturation5"
      Position		      [1065, 635, 1095, 665]
      UpperLimit	      "1"
      LowerLimit	      "0"
      SampleTime	      "1"

⌨️ 快捷键说明

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