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

📄 cdma2k.mdl

📁 CDMA2000的仿真平台,使用MATLAB设计完成
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		  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\nCon"
"verter"
		  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\nCon"
"verter"
		  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\nCon"
"verter"
		  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			  "[15 13 9 8 7 5 0]"
		  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			  "[15 12 11 10 6 5 4 3 0]"
		  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		  [950, 178, 980, 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		  [125, 0]
		  Branch {
		    Points		    [0, 75]
		    DstBlock		    "Q Product2"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "I branch"
		    DstPort		    1
		  }
		}
		Line {
		  SrcBlock		  "Q Product2"
		  SrcPort		  1
		  DstBlock		  "Q branch"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Pilot Reference"
	      Ports		      [0, 1]
	      Position		      [60, 41, 150, 59]
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "1"
	      SampleMode	      "Discrete"
	      discreteOutput	      "Frame-based"
	      continuousOutput	      "Sample-based"
	      sampTime		      "16/1.2288e6"
	      framePeriod	      "16/1.2288e6"
	      additionalParams	      off
	      dataType		      "Inherit from 'Constant value'"
	      wordLen		      "16"
	      udDataType	      "sfix(16)"
	      fracBitsMode	      "Best precision"
	      numFracBits	      "15"
	      InterpretAs1D	      "off"
	      Ts		      "16/1.2288e6"
	      FramebasedOutput	      "on"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Rake Combiner"
	      Ports		      [5, 1, 1]
	      Position		      [765, 361, 850, 439]
	      SourceBlock	      "cdma2k_lib/cdma2000 Receiver/Rake Recei"
"ver/Rake Combiner"
	      SourceType	      "Rake Combiner"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Rake Finger"
	      Ports		      [5, 3, 1]
	      Position		      [295, 70, 430, 160]
	      AncestorBlock	      "cdma2k_lib/cdma2000 Receiver/Rake Finge"
"r"
	      TreatAsAtomicUnit	      on
	      MaskType		      "Rake Finger"
	      MaskDescription	      "Each finger downsamples and decorrelate"
"s pilot bits and data using the corresponding sequence. "
	      MaskHelp		      "Each finger downsamples and decorrelate"
"s pilot bits and data using the corresponding sequence. "
	      MaskPromptString	      "Reverse Traffic Channel Walsh Length:|O"
"versampling Factor|Chip Rate"
	      MaskStyleString	      "edit,edit,edit"
	      MaskTunableValueString  "on,on,on"
	      MaskCallbackString      "||"
	      MaskEnableString	      "on,on,on"
	      MaskVisibilityString    "on,on,on"
	      MaskToolTipString	      "on,on,on"
	      MaskVarAliasString      ",,"
	      MaskVariables	      "walshLength=@1;overSamp=@2;chipRate=@3;"
	      MaskInitialization      "% Setting Sampling Time\nst = walshLeng"
"th/chipRate;"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "16|4|1.2288e6"
	      System {
		Name			"Rake Finger"
		Location		[-2, 82, 1010, 743]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "cInData"
		  Position		  [180, 203, 210, 217]
		  Port {
		    PortNumber		    1
		    Name		    "Input\nData"
		    TestPoint		    off
		    LinearAnalysisOutput    off
		    LinearAnalysisInput	    off
		    RTWStorageClass	    "Auto"
		    DataLogging		    off
		    DataLoggingNameMode	    "SignalName"
		    DataLoggingDecimateData off
		    DataLoggingDecimation   "2"
		    DataLoggingLimitDataPoints off
		    DataLoggingMaxPoints    "5000"
		  }
		}
		Block {
		  BlockType		  Inport
		  Name			  "cPN_Pilot"
		  Position		  [175, 313, 205, 327]
		  Port			  "2"
		  Port {
		    PortNumber		    1
		    Name		    "Pilot Code"
		    TestPoint		    off
		    LinearAnalysisOutput    off
		    LinearAnalysisInput	    off
		    RTWStorageClass	    "Auto"
		    DataLogging		    off
		    DataLoggingNameMode	    "SignalName"
		    DataLoggingDecimateData off
		    DataLoggingDecimation   "2"
		    DataLoggingLimitDataPoints off
		    DataLoggingMaxPoints    "5000"
		  }
		}
		Block {
		  BlockType		  Inport
		  Name			  "cPN_Data"
		  Position		  [170, 413, 200, 427]
		  Port			  "3"
		  Port {
		    PortNumber		    1
		    Name		    "Data Code"
		    TestPoint		    off
		    LinearAnalysisOutput    off
		    LinearAnalysisInput	    off
		    RTWStorageClass	    "Auto"
		    DataLogging		    off
		    DataLoggingNameMode	    "SignalName"
		    DataLoggingDecimateData off
		    DataLoggingDecimation   "2"
		    DataLoggingLimitDataPoints off
		    DataLoggingMaxPoints    "5000"
		  }
		}
		Block {
		  BlockType		  Inport
		  Name			  "PilotRef"
		  Position		  [330, 68, 360, 82]
		  Port			  "4"
		}
		Block {
		  BlockType		  Inport
		  Name			  "Fng Ph (Chips)"
		  Position		  [30, 268, 60, 282]
		  ForegroundColor	  "red"
		  Port			  "5"
		  Port {
		    PortNumber		    1
		    Name		    "Finger Phases\nChips"
		    TestPoint		    off
		    LinearAnalysisOutput    off
		    LinearAnalysisInput	    off
		    RTWStorageClass	    "Auto"
		    DataLogging		    off
		    DataLoggingNameMode	    "SignalName"
		    DataLoggingDecimateData off
		    DataLoggingDecimation   "2"
		    DataLoggingLimitDataPoints off
		    DataLoggingMaxPoints    "5000"
		  }
		}
		Block {
		  BlockType		  EnablePort
		  Name			  "Enable"
		  Ports			  []
		  Position		  [55, 60, 75, 80]
		}
		Block {
		  BlockType		  Reference
		  Name			  "Channel Estimation"
		  Ports			  [2, 1]
		  Position		  [690, 204, 775, 246]
		  SourceBlock		  "cdma2k_lib/cdma2000 Receiver/Channe"
"l Estimation"
		  SourceType		  "Channel Estimation"
		  numTapsChEst		  "numTapsChEst"
		}
		Block {
		  BlockType		  Reference
		  Name			  "DSP\nConstant1"
		  Ports			  [0, 1]
		  Position		  [370, 127, 420, 143]
		  ShowName		  off
		  SourceBlock		  "dspsrcs4/DSP\nConstant"
		  SourceType		  "DSP Constant"
		  Value			  "1"
		  SampleMode		  "Discrete"
		  discreteOutput	  "Sample-based"
		  continuousOutput	  "Sample-based"
		  sampTime		  "st"
		  framePeriod		  "st"
		  additionalParams	  off
		  dataType		  "Inherit from 'Constant value'"
		  wordLen		  "16"
		  udDataType		  "sfix(16)"
		  fracBitsMode		  "Best precision"
		  numFracBits		  "15"
		  InterpretAs1D		  "off"
		  Ts			  "st"
		  FramebasedOutput	  "off"
		}
		Block {
		  BlockType		  Reference
		  Name			  "DSP\nConstant2"
		  Ports			  [0, 1]
		  Position		  [0, 152, 135, 168]
		  ShowName		  off
		  SourceBlock		  "dspsrcs4/DSP\nConstant"
		  SourceType		  "DSP Constant"
		  Value			  "overSampling*walshLength"
		  SampleMode		  "Discrete"
		  discreteOutput	  "Sample-based"
		  continuousOutput	  "Sample-based"
		  sampTime		  "st"
		  framePeriod		  "st"
		  additionalParams	  off
		  dataType		  "Inherit from 'Constant value'"
		  wordLen		  "16"
		  udDataType		  "sfix(16)"
		  fracBitsMode		  "Best precision"
		  numFracBits		  "15"
	

⌨️ 快捷键说明

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