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

📄 cdma2000tr.mdl

📁 基于simulink的现代通信系统仿真的全过程pdf与大家分享
💻 MDL
📖 第 1 页 / 共 3 页
字号:
"on=@4;"
      MaskInitialization      "MSInterleaverInitialization"
      MaskDisplay	      "disp('Interleaver\\n\\n(cdma 2000 MS)')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "mRC|mBitRate|mFrameLength|mFrameDuration"
      System {
	Name			"Interleaver"
	Location		[174, 187, 884, 285]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Input"
	  Position		  [25, 43, 55, 57]
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion"
	  Ports			  [1, 1]
	  Position		  [335, 32, 385, 68]
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Sample-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Frame Status\nConversion1"
	  Ports			  [1, 1]
	  Position		  [570, 32, 620, 68]
	  SourceBlock		  "dspsigattribs/Frame Status\nConversion"
	  SourceType		  "Frame Status Conversion"
	  growRefPort		  off
	  outframe		  "Frame-based"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Puncture"
	  Ports			  [1, 1]
	  Position		  [225, 28, 305, 72]
	  SourceBlock		  "commsequence2/Puncture"
	  SourceType		  "Puncture"
	  punctureVector	  "xPunctureVector"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Repeat"
	  Ports			  [1, 1]
	  Position		  [100, 27, 195, 73]
	  SourceBlock		  "dspsigops/Repeat"
	  SourceType		  "Repeat"
	  N			  "xRepetitionCount"
	  ic			  "0"
	  mode			  "Maintain input frame rate"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "S-Function"
	  Ports			  [1, 1]
	  Position		  [435, 33, 535, 67]
	  FunctionName		  "MSSFUNInterleaver"
	  Parameters		  "xInterleaverSize"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Output"
	  Position		  [655, 43, 685, 57]
	}
	Line {
	  SrcBlock		  "Input"
	  SrcPort		  1
	  DstBlock		  "Repeat"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Repeat"
	  SrcPort		  1
	  DstBlock		  "Puncture"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Puncture"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion"
	  SrcPort		  1
	  DstBlock		  "S-Function"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  DstBlock		  "Frame Status\nConversion1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status\nConversion1"
	  SrcPort		  1
	  DstBlock		  "Output"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Model Initialization"
      Ports		      []
      Position		      [40, 23, 210, 87]
      TreatAsAtomicUnit	      off
      MaskType		      "Model Initialization cdma 2000 MS"
      MaskPromptString	      "Radio Configuration|Bit Rate|Frame Length|Frame"
" Duration"
      MaskStyleString	      "edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on"
      MaskCallbackString      "|||"
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskVariables	      "xRC=@1;xBitRate=@2;xFrameLength=@3;xFrameDurati"
"on=@4;"
      MaskInitialization      "assignin('base','mRC',xRC);\nassignin('base','m"
"FrameDuration',xFrameDuration);\nassignin('base','mBitRate',xBitRate);\nassig"
"nin('base','mFrameLength',xFrameLength);"
      MaskDisplay	      "disp('Model Initialization\\n\\n(cdma 2000 MS)'"
")"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "3|9600|172|20"
      System {
	Name			"Model Initialization"
	Location		[4, 213, 957, 515]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Modulation"
      Ports		      [6, 1]
      Position		      [635, 258, 740, 392]
      TreatAsAtomicUnit	      off
      MaskType		      "Modulation(cdma 2000 MS)"
      MaskDescription	      "Modulate the reverse channel frames."
      MaskDisplay	      "disp('Modulation\\n\\n(cdma 2000 MS)')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Modulation"
	Location		[109, 103, 883, 505]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "SCH2"
	  Position		  [45, 143, 75, 157]
	}
	Block {
	  BlockType		  Inport
	  Name			  "PCH"
	  Position		  [45, 173, 75, 187]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "DCCH"
	  Position		  [45, 203, 75, 217]
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "FCH"
	  Position		  [40, 278, 70, 292]
	  Port			  "4"
	}
	Block {
	  BlockType		  Inport
	  Name			  "SCH1/CCCH/EACH"
	  Position		  [40, 313, 70, 327]
	  Port			  "5"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Gain"
	  Position		  [550, 333, 580, 347]
	  Port			  "6"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FIR\nInterpolation"
	  Ports			  [1, 1]
	  Position		  [425, 84, 490, 136]
	  FontSize		  10
	  SourceBlock		  "dspmlti3/FIR\nInterpolation"
	  SourceType		  "FIR Interpolation"
	  h			  "xFIR"
	  L			  "4"
	  framing		  "Maintain input frame size"
	  outputBufInitCond	  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FIR\nInterpolation1"
	  Ports			  [1, 1]
	  Position		  [425, 269, 490, 321]
	  FontSize		  10
	  SourceBlock		  "dspmlti3/FIR\nInterpolation"
	  SourceType		  "FIR Interpolation"
	  h			  "xFIR"
	  L			  "4"
	  framing		  "Maintain input frame size"
	  outputBufInitCond	  "0"
	}
	Block {
	  BlockType		  Product
	  Name			  "Gain Product4"
	  Ports			  [2, 1]
	  Position		  [635, 176, 675, 289]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "PN Sequence"
	  Ports			  [0, 2]
	  Position		  [25, 24, 130, 86]
	  TreatAsAtomicUnit	  off
	  MaskPromptString	  "Seed to Generate Long Code Mask"
	  MaskStyleString	  "edit"
	  MaskTunableValueString  "on"
	  MaskEnableString	  "on"
	  MaskVisibilityString	  "on"
	  MaskToolTipString	  "on"
	  MaskVariables		  "xSeed=@1;"
	  MaskInitialization	  "MSPNSequenceInitialization"
	  MaskDisplay		  "disp('PN Sequence\\n\\n(cdma 2000 MS)')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "7"
	  System {
	    Name		    "PN Sequence"
	    Location		    [-8, 82, 954, 367]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Conversion"
	      Ports		      [1, 1]
	      Position		      [650, 191, 755, 229]
	      FunctionName	      "MSSFUNQConvert"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "I Product"
	      Ports		      [2, 1]
	      Position		      [520, 39, 565, 126]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Insert Zero"
	      Ports		      [1, 1]
	      Position		      [125, 28, 205, 72]
	      SourceBlock	      "commsequence2/Insert Zero"
	      SourceType	      "Insert Zero"
	      insertZeroVector	      "[1 0 ones(1,2^15-2)]'"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Insert Zero1"
	      Ports		      [1, 1]
	      Position		      [125, 213, 205, 257]
	      SourceBlock	      "commsequence2/Insert Zero"
	      SourceType	      "Insert Zero"
	      insertZeroVector	      "[1 0 ones(1,2^15-2)]'"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "LC Converter"
	      Ports		      [1, 1]
	      Position		      [340, 116, 420, 164]
	      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConvert"
"er"
	      SourceType	      "Unipolar to Bipolar Converter"
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Long Code\nGenerator"
	      Ports		      [0, 1]
	      Position		      [195, 118, 275, 162]
	      SourceBlock	      "commseqgen2/PN Sequence\nGenerator"
	      SourceType	      "PN Sequence Generator"
	      poly		      "xLongCodeGenerator"
	      ini_sta		      "[zeros(1,41) 1]"
	      shift		      "xLongCodeMask"
	      Ts		      "xSampleTime"
	      frameBased	      off
	      sampPerFrame	      "1"
	      reset		      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "PN I Converter"
	      Ports		      [1, 1]
	      Position		      [340, 26, 420, 74]
	      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConvert"
"er"
	      SourceType	      "Unipolar to Bipolar Converter"
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "PN Q Converter"
	      Ports		      [1, 1]
	      Position		      [345, 211, 425, 259]
	      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConvert"
"er"
	      SourceType	      "Unipolar to Bipolar Converter"
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "PN Sequence\nGenerator"
	      Ports		      [0, 1]
	      Position		      [25, 28, 105, 72]
	      SourceBlock	      "commseqgen2/PN Sequence\nGenerator"
	      SourceType	      "PN Sequence Generator"
	      poly		      "xPNGeneratorI"
	      ini_sta		      "[zeros(1,14) 1]"
	      shift		      "[zeros(1,14) 1]"
	      Ts		      "2^15/1228800/(2^15-1)"
	      frameBased	      on
	      sampPerFrame	      "2^15-1"
	      reset		      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "PN Sequence\nGenerator1"
	      Ports		      [0, 1]
	      Position		      [25, 213, 105, 257]
	      SourceBlock	      "commseqgen2/PN Sequence\nGenerator"
	      SourceType	      "PN Sequence Generator"
	      poly		      "xPNGeneratorQ"
	      ini_sta		      "[zeros(1,14) 1]"
	      shift		      "[zeros(1,14) 1]"
	      Ts		      "2^15/1228800/(2^15-1)"
	      frameBased	      on
	      sampPerFrame	      "2^15-1"
	      reset		      off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Q Product1"
	      Ports		      [2, 1]
	      Position		      [570, 162, 625, 258]
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Q Product2"
	      Ports		      [2, 1]
	      Position		      [780, 137, 835, 233]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unbuffer"
	      Ports		      [1, 1]
	      Position		      [225, 26, 275, 74]
	      SourceBlock	      "dspbuff3/Unbuffer"
	      SourceType	      "Unbuffer"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unbuffer1"
	      Ports		      [1, 1]
	      Position		      [225, 211, 275, 259]
	      SourceBlock	      "dspbuff3/Unbuffer"
	      SourceType	      "Unbuffer"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      UnitDelay
	      Name		      "Unit Delay"
	      Position		      [475, 165, 510, 205]
	      SampleTime	      "xSampleTime"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "I branch"
	      Position		      [885, 78, 915, 92]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Q branch"
	      Position		      [890, 178, 920, 192]
	      Port		      "2"
	    }
	    Line {
	      SrcBlock		      "PN Sequence\nGenerator"
	      SrcPort		      1
	      DstBlock		      "Insert Zero"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Insert Zero"
	      SrcPort		      1
	      DstBlock		      "Unbuffer"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "PN Sequence\nGenerator1"
	      SrcPort		      1
	      DstBlock		      "Insert Zero1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Insert Zero1"
	      SrcPort		      1
	      DstBlock		      "Unbuffer1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unbuffer"
	      SrcPort		      1
	      DstBlock		      "PN I Converter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Long Code\nGenerator"
	      SrcPort		      1
	      DstBlock		      "LC Converter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unbuffer1"
	      SrcPort		      1
	      DstBlock		      "PN Q Converter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "LC Converter"
	      SrcPort		      1
	      Points		      [0, 0; 25, 0]
	      Branch {
		Points			[0, 45]
		DstBlock		"Unit Delay"
		DstPort			1
	      }
	      Branch {
		Points			[0, -35]
		DstBlock		"I Product"
		DstPort			2
	      }
	    }
	    Line {
	      SrcBlock		      "PN I Converter"
	      SrcPort		      1
	      Points		      [40, 0; 0, 10]
	      DstBlock		      "I Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unit Delay"
	      SrcPort		      1
	      DstBlock		      "Q Product1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "PN Q Converter"
	      SrcPort		      1
	      DstBlock		      "Q Product1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Q Product1"
	      SrcPort		      1
	      DstBlock		      "Conversion"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Conversion"
	      SrcPort		      1
	      DstBlock		      "Q Product2"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "I Product"
	      SrcPort		      1
	      Points		      [0, 0; 125, 0]
	      Branch {
		DstBlock		"I branch"
		DstPort			1
	      }
	      Branch {
		Points			[0, 75]
		DstBlock		"Q Product2"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Q Product2"
	      SrcPort		      1
	      DstBlock		      "Q branch"
	      DstPort		      1
	    }
	  }
	}

⌨️ 快捷键说明

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