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

📄 cdma2k.mdl

📁 CDMA2000的仿真平台,使用MATLAB设计完成
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto8"
	  Position		  [650, 552, 765, 568]
	  ShowName		  off
	  GotoTag		  "EbNo"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto9"
	  Position		  [655, 442, 760, 458]
	  ShowName		  off
	  GotoTag		  "Ndb"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Mux
	  Name			  "Mux2"
	  Ports			  [4, 1]
	  Position		  [305, 16, 310, 144]
	  ShowName		  off
	  DisplayOption		  "bar"
	}
	Block {
	  BlockType		  DiscretePulseGenerator
	  Name			  "PCG_Clock"
	  Position		  [35, 150, 65, 180]
	  SampleTime		  "1.25e-3"
	  Port {
	    PortNumber		    1
	    Name		    "PCG_Clock"
	    TestPoint		    off
	    LinearAnalysisOutput    off
	    LinearAnalysisInput	    off
	    RTWStorageClass	    "Auto"
	    DataLogging		    off
	    DataLoggingNameMode	    "SignalName"
	    DataLoggingDecimateData off
	    DataLoggingDecimation   "2"
	    DataLoggingLimitDataPoints off
	    DataLoggingMaxPoints    "5000"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Rake Receiver"
	  Ports			  [1, 1]
	  Position		  [830, 275, 950, 385]
	  NamePlacement		  "alternate"
	  TreatAsAtomicUnit	  off
	  MaskType		  "Rake Receiver"
	  MaskDescription	  "Rake receiver is made of 4 different finger"
"s. Each finger downsamples and decorrelates pilot bits and data using the cor"
"responding sequence. \n\nPilot bits are then sent to the channel estimator wh"
"ose output is then used to derotate the received data signal. The demodulated"
" data processed by each rake finger is finally coherently combined."
	  MaskHelp		  "<p>Rake receiver is made of 4 different fin"
"gers. Each finger downsamples and decorrelates pilot bits and data using the "
"corresponding sequence. </p>\n\n<p>Pilot bits are then sent to the channel es"
"timator whose output is then used to derotate the received data signal. The d"
"emodulated data processed by each rake finger is finally coherently combined."
"</p>"
	  MaskPromptString	  "Reverse Traffic Channel Walsh Length:|Rever"
"se Traffic Channel spreading code index:|PN Sequence Offset (0..512):|Quasi-o"
"rthogonal function index for F-DTCH:|Number of Filter Taps for Channel Estima"
"tion:|Number of Filter Taps for RRC filters:|Oversampling Factor:|Finger Enab"
"les:|Finger Phases (in units of Ticks):"
	  MaskStyleString	  "edit,edit,edit,popup(0|1|2|3),edit,edit,edi"
"t,edit,edit"
	  MaskTunableValueString  "on,on,on,on,on,on,on,on,on"
	  MaskCallbackString	  "||||||||"
	  MaskEnableString	  "on,on,on,on,on,on,on,on,on"
	  MaskVisibilityString	  "on,on,on,on,on,on,on,on,on"
	  MaskToolTipString	  "on,on,on,on,on,on,on,on,on"
	  MaskVarAliasString	  ",,,,,,,,"
	  MaskVariables		  "walshLength=@1;trChCode=@2;pnOffset=@3;qof_"
"idx=@4;numTapsChEst=@5;numTapsRRC=@6;overSampling=@7;fingerEnables=@8;fingerP"
"hases=@9;"
	  MaskInitialization	  "%-- Sampling Time (corresponds to SF=64)\ns"
"t =  walshLength/1.2288e6;\n\n% Setting Parameters\nnumTapsRRC = numTapsRRC -"
" (mod(numTapsRRC,2));\nrxTicksDelay = numTapsRRC + fingerPhases;\n\n%-- Quasi"
"-orthogonal Function mask\nqof_sign(1,:) = zeros(1,256);\nqof_sign(2,:) = res"
"hape(de2bi([hex2dec(['7228d7724eebebb1eb4eb1ebd78d8d28278282d81b41be1b411b1bb"
"e7dd8277d']')'],'right-msb')',1,256);\nqof_sign(3,:) = reshape(de2bi([hex2dec"
"(['114b1e4444e14beeee4be144bbe1b4eedd872d77882d78dd2287d277772d87dd']')'],'ri"
"ght-msb')',1,256);\nqof_sign(4,:) = reshape(de2bi([hex2dec(['1724bd71b28118d4"
"8ebddb172b187eb2e7d4b27ebd8ee82481b22be7dbe871bd']')'],'right-msb')',1,256);"
"\n\n%-- Walsh rotation\nwalshRotIdx = [0 130 173 47]+1;\n\n"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "16|4|0|0|11|48|4|[1 0 0 0]|[0 0 0 0]"
	  System {
	    Name		    "Rake Receiver"
	    Location		    [2, 82, 1014, 721]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "fromCh1"
	      Position		      [30, 258, 60, 272]
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "DSP\nConstant1"
	      Ports		      [0, 1]
	      Position		      [250, 46, 340, 64]
	      ShowName		      off
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "fingerEnables(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\nConstant10"
	      Ports		      [0, 1]
	      Position		      [767, 245, 803, 265]
	      Orientation	      "down"
	      NamePlacement	      "alternate"
	      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		      [185, 148, 275, 162]
	      ShowName		      off
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "rxTicksDelay(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\nConstant3"
	      Ports		      [0, 1]
	      Position		      [250, 181, 340, 199]
	      ShowName		      off
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "fingerEnables(2)"
	      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\nConstant4"
	      Ports		      [0, 1]
	      Position		      [185, 288, 275, 302]
	      ShowName		      off
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "rxTicksDelay(2)"
	      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\nConstant5"
	      Ports		      [0, 1]
	      Position		      [250, 376, 340, 394]
	      ShowName		      off
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "fingerEnables(3)"
	      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\nConstant6"
	      Ports		      [0, 1]
	      Position		      [185, 478, 275, 492]
	      ShowName		      off
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "rxTicksDelay(3)"
	      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\nConstant7"
	      Ports		      [0, 1]
	      Position		      [185, 613, 275, 627]
	      ShowName		      off
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "rxTicksDelay(4)"
	      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\nConstant8"
	      Ports		      [0, 1]
	      Position		      [250, 511, 340, 529]
	      ShowName		      off
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "fingerEnables(4)"
	      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\nConstant9"
	      Ports		      [0, 1]
	      Position		      [781, 155, 859, 175]
	      Orientation	      "down"
	      NamePlacement	      "alternate"
	      ShowName		      off
	      SourceBlock	      "dspsrcs4/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "((numTapsChEst-1)/2)"
	      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		      Math
	      Name		      "Math\nFunction"
	      Ports		      [1, 1]
	      Position		      [570, 70, 600, 100]
	      ShowName		      off
	      Operator		      "magnitude^2"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction1"
	      Ports		      [1, 1]
	      Position		      [580, 210, 610, 240]
	      ShowName		      off
	      Operator		      "magnitude^2"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction2"
	      Ports		      [1, 1]
	      Position		      [585, 400, 615, 430]
	      ShowName		      off
	      Operator		      "magnitude^2"
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction3"
	      Ports		      [1, 1]
	      Position		      [575, 535, 605, 565]
	      ShowName		      off
	      Operator		      "magnitude^2"
	    }
	    Block {
	      BlockType		      MinMax
	      Name		      "MinMax"
	      Ports		      [4, 1]
	      Position		      [475, 321, 500, 374]
	      ForegroundColor	      "red"
	      ShowName		      off
	      Function		      "max"
	      Inputs		      "4"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "PN Sequence"
	      Ports		      [0, 2]
	      Position		      [15, 317, 100, 368]
	      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		[2, 141, 980, 611]
		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		  [675, 195, 735, 225]
		  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"

⌨️ 快捷键说明

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