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

📄 cdma20001x.mdl

📁 运用MATLAB实验环境设计了一个CDMA2000基站发射机的模拟
💻 MDL
📖 第 1 页 / 共 4 页
字号:
      MaskEnableString	      "on,on,on,on"
      MaskVisibilityString    "on,on,on,on"
      MaskToolTipString	      "on,on,on,on"
      MaskVarAliasString      ",,,"
      MaskVariables	      "xBitRate=@1;xFrameLength=@2;xFrameDuration=@3;x"
"RC=@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(cdma2000 MS)')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "9600|172|20|3"
      System {
	Name			"Model Initialization"
	Location		[433, 403, 931, 703]
	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		      [365, 63, 550, 357]
      TreatAsAtomicUnit	      off
      MaskType		      "Modulation (cdma2000 MS)"
      MaskDescription	      "Modulate the reverse channel frames.\nthe first"
" input is the second reverse Supplementary Channel data.\nthe second input is"
" the reverse Pilot Channel data.\nthe third input is the reverse Delicated Co"
"ntrol Channel data.\nthe fourth input is the reverse Fundamental Channel data"
".\nthe fifth input is the first reverse Supplementary Channel data, the rever"
"se Common Control Channel data or the reverse Enhanced Access Channel data.\n"
"the sixth input is gain of the total transmitted signal."
      MaskHelp		      "Modulate the reverse channel frames.\nthe first"
" input is the second reverse Supplementary Channel data.\nthe second input is"
" the reverse Pilot Channel data.\nthe third input is the reverse Delicated Co"
"ntrol Channel data.\nthe fourth input is the reverse Fundamental Channel data"
".\nthe fifth input is the first reverse Supplementary Channel data, the rever"
"se Common Control Channel data or the reverse Enhanced Access Channel data.\n"
"the sixth input is gain of the total transmitted signal."
      MaskInitialization      "MS_Modulation_Initialization"
      MaskDisplay	      "disp('Modulation\\n\\n(cdma2000 MS)')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Modulation"
	Location		[2, 74, 1014, 724]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "SCH2"
	  Position		  [35, 133, 65, 147]
	}
	Block {
	  BlockType		  Inport
	  Name			  "PCH"
	  Position		  [35, 163, 65, 177]
	  Port			  "2"
	}
	Block {
	  BlockType		  Inport
	  Name			  "DCCH"
	  Position		  [35, 193, 65, 207]
	  Port			  "3"
	}
	Block {
	  BlockType		  Inport
	  Name			  "FCH"
	  Position		  [35, 253, 65, 267]
	  Port			  "4"
	}
	Block {
	  BlockType		  Inport
	  Name			  "SCH1/CCCH/EACH"
	  Position		  [35, 283, 65, 297]
	  Port			  "5"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Gain"
	  Position		  [670, 273, 700, 287]
	  Port			  "6"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add"
	  Ports			  [3, 1]
	  Position		  [125, 124, 165, 216]
	  ShowName		  off
	  Inputs		  "+++"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutDataTypeMode	  "Specify via dialog"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add1"
	  Ports			  [2, 1]
	  Position		  [125, 245, 165, 305]
	  ShowName		  off
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutDataTypeMode	  "Specify via dialog"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add2"
	  Ports			  [2, 1]
	  Position		  [445, 94, 475, 156]
	  ShowName		  off
	  Inputs		  "+-"
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutDataTypeMode	  "double"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add3"
	  Ports			  [2, 1]
	  Position		  [445, 225, 475, 285]
	  ShowName		  off
	  ShowAdditionalParam	  on
	  InputSameDT		  off
	  OutDataTypeMode	  "double"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Reference
	  Name			  "FIR\nInterpolation 1"
	  Ports			  [1, 1]
	  Position		  [520, 99, 585, 151]
	  SourceBlock		  "dspmlti3/FIR\nInterpolation"
	  SourceType		  "FIR Interpolation"
	  h			  "xFIR"
	  L			  "4"
	  framing		  "Maintain input frame size"
	  outputBufInitCond	  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FIR\nInterpolation 2"
	  Ports			  [1, 1]
	  Position		  [520, 229, 585, 281]
	  SourceBlock		  "dspmlti3/FIR\nInterpolation"
	  SourceType		  "FIR Interpolation"
	  h			  "xFIR"
	  L			  "4"
	  framing		  "Maintain input frame size"
	  outputBufInitCond	  "0"
	}
	Block {
	  BlockType		  Product
	  Name			  "Gain Product"
	  Ports			  [2, 1]
	  Position		  [735, 183, 760, 232]
	  InputSameDT		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "PN Sequence"
	  Ports			  [0, 2]
	  Position		  [25, 25, 165, 100]
	  TreatAsAtomicUnit	  off
	  MaskType		  "PN Sequence (cdma2000 MS)"
	  MaskDescription	  "Generate two branches of PN sequence for qu"
"adrature spreading"
	  MaskHelp		  "Generate two branches of PN sequence for qu"
"adrature spreading"
	  MaskPromptString	  "Seed to Generate Long Code Mask"
	  MaskStyleString	  "edit"
	  MaskTunableValueString  "on"
	  MaskEnableString	  "on"
	  MaskVisibilityString	  "on"
	  MaskToolTipString	  "on"
	  MaskVariables		  "xSeed=@1;"
	  MaskInitialization	  "MS_PNSequence_Initialization"
	  MaskDisplay		  "disp('PN Sequence\\n\\n(cdma2000 MS)')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "7"
	  System {
	    Name		    "PN Sequence"
	    Location		    [-4, 74, 1008, 744]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "rotated"
	    PaperPositionMode	    "auto"
	    PaperType		    "a4letter"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      "S-Function"
	      Name		      "Conversion"
	      Ports		      [1, 1]
	      Position		      [520, 186, 650, 244]
	      FunctionName	      "MS_SFUN_QConvert"
	      MaskDisplay	      "disp('MS_SFUN_QConvert')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "I Product"
	      Ports		      [2, 1]
	      Position		      [340, 34, 385, 96]
	      InputSameDT	      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "I branch PN"
	      Ports		      [0, 1]
	      Position		      [25, 26, 150, 74]
	      TreatAsAtomicUnit	      off
	      MaskType		      "Short PN Sequence"
	      MaskDescription	      "Generate two branches of PN sequence fo"
"r quadrature spreading"
	      MaskHelp		      "Generate two branches of PN sequence fo"
"r quadrature spreading"
	      MaskPromptString	      "Generator Polynomial|Seed to Generate L"
"ong Code Mask"
	      MaskStyleString	      "edit,edit"
	      MaskTunableValueString  "on,on"
	      MaskCallbackString      "|"
	      MaskEnableString	      "on,on"
	      MaskVisibilityString    "on,on"
	      MaskToolTipString	      "on,on"
	      MaskVarAliasString      ","
	      MaskVariables	      "xGenerator=@1;xSeed=@2;"
	      MaskInitialization      "MS_PNSequence_Initialization"
	      MaskDisplay	      "disp('Short PN Sequence\\n\\n(cdma2000 "
"MS)')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "xPNGeneratorI|7"
	      System {
		Name			"I branch PN"
		Location		[2, 74, 1014, 724]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Reference
		  Name			  "Insert Zero"
		  Ports			  [1, 1]
		  Position		  [155, 28, 235, 72]
		  SourceBlock		  "commsequence2/Insert Zero"
		  SourceType		  "Insert Zero"
		  insertZeroVector	  "[1 0 ones(1,2^15-2)]'"
		}
		Block {
		  BlockType		  Reference
		  Name			  "PN Sequence"
		  Ports			  [0, 1]
		  Position		  [25, 28, 105, 72]
		  SourceBlock		  "commseqgen2/PN Sequence\nGenerator"
		  SourceType		  "PN Sequence Generator"
		  poly			  "xGenerator"
		  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			  "Unbuffer"
		  Ports			  [1, 1]
		  Position		  [280, 26, 330, 74]
		  SourceBlock		  "dspbuff3/Unbuffer"
		  SourceType		  "Unbuffer"
		  ic			  "0"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [385, 43, 415, 57]
		}
		Line {
		  SrcBlock		  "Unbuffer"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Insert Zero"
		  SrcPort		  1
		  DstBlock		  "Unbuffer"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "PN Sequence"
		  SrcPort		  1
		  DstBlock		  "Insert Zero"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "LC Converter"
	      Ports		      [1, 1]
	      Position		      [195, 116, 275, 164]
	      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConvert"
"er"
	      SourceType	      "Unipolar to Bipolar Converter"
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Long Code Generator"
	      Ports		      [0, 1]
	      Position		      [30, 117, 125, 163]
	      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		      [195, 26, 275, 74]
	      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConvert"
"er"
	      SourceType	      "Unipolar to Bipolar Converter"
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "PN Q Converter1"
	      Ports		      [1, 1]
	      Position		      [195, 206, 275, 254]
	      SourceBlock	      "commutil2/Unipolar to\nBipolar\nConvert"
"er"
	      SourceType	      "Unipolar to Bipolar Converter"
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Q Product1"
	      Ports		      [2, 1]
	      Position		      [435, 184, 480, 246]
	      InputSameDT	      off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Q Product2"
	      Ports		      [2, 1]
	      Position		      [695, 149, 740, 211]
	      InputSameDT	      off
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Q branch PN"
	      Ports		      [0, 1]
	      Position		      [30, 206, 155, 254]
	      TreatAsAtomicUnit	      off
	      MaskType		      "Short PN Sequence"
	      MaskDescription	      "Generate two branches of PN sequence fo"
"r quadrature spreading"
	      MaskHelp		      "Generate two branches of PN sequence fo"
"r quadrature spreading"
	      MaskPromptString	      "Generator Polynomial|Seed to Generate L"
"ong Code Mask"
	      MaskStyleString	      "edit,edit"
	      MaskTunableValueString  "on,on"
	      MaskCallbackString      "|"
	      MaskEnableString	      "on,on"
	      MaskVisibilityString    "on,on"
	      MaskToolTipString	      "on,on"
	      MaskVarAliasString      ","
	      MaskVariables	      "xGenerator=@1;xSeed=@2;"
	      MaskInitialization      "MS_PNSequence_Initialization"
	      MaskDisplay	      "disp('Short PN Sequence\\n\\n(cdma2000 "
"MS)')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "xPNGeneratorQ|7"
	      System {
		Name			"Q branch PN"
		Location		[495, 251, 935, 351]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"rotated"
		PaperPositionMode	"auto"
		PaperType		"a4letter"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Reference
		  Name			  "Insert Zero"
		  Ports			  [1, 1]
		  Position		  [155, 28, 235, 72]
		  SourceBlock		  "commsequence2/Insert Zero"
		  SourceType		  "Insert Zero"
		  insertZeroVector	  "[1 0 ones(1,2^15-2)]'"
		}
		Block {
		  BlockType		  Reference
		  Name			  "PN Sequence"
		  Ports			  [0, 1]
		  Position		  [25, 28, 105, 72]
		  SourceBlock		  "commseqgen2/PN Sequence\nGenerator"
		  SourceType		  "PN Sequence Generator"
		  poly			  "xGenerator"
		  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			  "Unbuffer"
		  Ports			  [1, 1]
		  Position		  [280, 26, 330, 74]
		  SourceBlock		  "dspbuff3/Unbuffer"
		  SourceType		  "Unbuffer"
		  ic			  "0"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [385, 43, 415, 57]
		}
		Line {
		  SrcBlock		  "PN Sequence"
		  SrcPort		  1
		  DstBlock		  "Insert Zero"
		  DstPort		  1

⌨️ 快捷键说明

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