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

📄 cdma2k_lib.mdl

📁 CDMA 2000 simulation using SIMULINK
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      additionalParams	      "off"
	      dataType		      "Inherit from 'Constant value'"
	      wordLen		      "16"
	      udDataType	      "sfix(16)"
	      fracBitsMode	      "Best precision"
	      numFracBits	      "15"
	      InterpretAs1D	      "off"
	      Ts		      "64/1.2288e6"
	      FramebasedOutput	      "off"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Decimator"
	      Ports		      [1, 1]
	      Position		      [355, 213, 390, 247]
	      AttributesFormatString  "\\n"
	      SourceBlock	      "dspsigops/Downsample"
	      SourceType	      "Downsample"
	      N			      "64/2"
	      phase		      "0"
	      ic		      "0"
	      smode		      "Allow multirate"
	      fmode		      "Maintain input frame rate"
	    }
	    Block {
	      BlockType		      From
	      Name		      "From"
	      Position		      [590, 218, 660, 232]
	      ForegroundColor	      "red"
	      ShowName		      off
	      CloseFcn		      "tagdialog Close"
	      GotoTag		      "enDelay"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain"
	      Position		      [250, 357, 290, 383]
	      ForegroundColor	      "red"
	      ShowName		      off
	      Gain		      "2*scrBitRepetition"
	    }
	    Block {
	      BlockType		      Gain
	      Name		      "Gain1"
	      Position		      [650, 335, 680, 365]
	      ForegroundColor	      "red"
	      ShowName		      off
	      Gain		      "2"
	    }
	    Block {
	      BlockType		      Goto
	      Name		      "Goto"
	      Position		      [105, 281, 165, 299]
	      ForegroundColor	      "red"
	      ShowName		      off
	      GotoTag		      "enDelay"
	      TagVisibility	      "local"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Hard Decisions"
	      Ports		      [1, 1]
	      Position		      [820, 243, 880, 267]
	      ShowName		      off
	      TreatAsAtomicUnit	      off
	      MaskDisplay	      "disp('Hard\\nDecisions');"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"Hard Decisions"
		Location		[206, 140, 613, 267]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [50, 38, 80, 52]
		}
		Block {
		  BlockType		  Reference
		  Name			  "Bipolar to\nUnipolar\nConverter"
		  Ports			  [1, 1]
		  Position		  [165, 25, 250, 65]
		  ShowName		  off
		  SourceBlock		  "commutil2/Bipolar to\nUnipolar\nCon"
"verter"
		  SourceType		  "Bipolar to Unipolar Converter"
		  M			  "2"
		  polarity		  "Negative"
		}
		Block {
		  BlockType		  Signum
		  Name			  "Sign"
		  Position		  [115, 27, 150, 63]
		  ShowName		  off
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [275, 38, 305, 52]
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "Sign"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Bipolar to\nUnipolar\nConverter"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Sign"
		  SrcPort		  1
		  DstBlock		  "Bipolar to\nUnipolar\nConverter"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      HitCross
	      Name		      "Hit \nCrossing"
	      Ports		      [1, 1]
	      Position		      [180, 215, 205, 245]
	      ForegroundColor	      "red"
	      ShowName		      off
	      HitCrossingOffset	      "0.5"
	      HitCrossingDirection    "rising"
	      ZeroCross		      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Long Code\nDeScrambling"
	      Ports		      [3, 1]
	      Position		      [355, 69, 445, 121]
	      NamePlacement	      "alternate"
	      SourceBlock	      "cdma2k_lib/cdma2000 Receiver/Long Code"
"\nDeScrambling"
	      SourceType	      "SubSystem"
	      ShowPortLabels	      "on"
	      Permissions	      "ReadWrite"
	      TreatAsAtomicUnit	      "off"
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      SimViewingDevice	      "off"
	      DataTypeOverride	      "UseLocalSettings"
	      MinMaxOverflowLogging   "UseLocalSettings"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Long Code Generator\n1.2288Mcps2"
	      Ports		      [1, 1]
	      Position		      [225, 206, 300, 254]
	      SourceBlock	      "commseqgen2/PN Sequence\nGenerator"
	      SourceType	      "PN Sequence Generator"
	      poly		      "[42 35 33 31 27 26 25 22 21 19 18 17 16"
" 10 7 6 5 3 2 1 0]"
	      ini_sta		      "[1]"
	      shift		      "plcMask"
	      Ts		      "1/1.2288e6"
	      frameBased	      "on"
	      sampPerFrame	      "64*scrBitRepetition"
	      reset		      "on"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Power Control\nBit Position\nExtractor"
	      Ports		      [1, 1, 1]
	      Position		      [410, 210, 510, 250]
	      ForegroundColor	      "red"
	      TreatAsAtomicUnit	      off
	      System {
		Name			"Power Control\nBit Position\nExtracto"
"r"
		Location		[95, 303, 837, 494]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "Decimated Bits"
		  Position		  [95, 108, 125, 122]
		}
		Block {
		  BlockType		  EnablePort
		  Name			  "Enable"
		  Ports			  []
		  Position		  [25, 60, 45, 80]
		}
		Block {
		  BlockType		  Reference
		  Name			  "Bit to Integer\nConverter"
		  Ports			  [1, 1]
		  Position		  [390, 93, 470, 137]
		  SourceBlock		  "commutil2/Bit to Integer\nConverter"
		  SourceType		  "Bit to Integer Converter"
		  nbits			  "length(decPattern)"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Buffer"
		  Ports			  [1, 1]
		  Position		  [165, 90, 215, 140]
		  ShowName		  off
		  AttributesFormatString  "\\n"
		  SourceBlock		  "dspbuff3/Buffer"
		  SourceType		  "Buffer"
		  N			  "numSymbPCGroup"
		  V			  "0"
		  ic			  "0"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Decimator1"
		  Ports			  [1, 1]
		  Position		  [265, 93, 345, 137]
		  AttributesFormatString  "\\n"
		  SourceBlock		  "dspindex/Multiport\nSelector"
		  SourceType		  "Multiport Selector"
		  rowsOrCols		  "Rows"
		  idxCellArray		  "{decPattern}"
		  idxErrMode		  "Clip Index"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Starting Symbol\nPosition"
		  Position		  [520, 100, 550, 130]
		  Gain			  "2*scrBitRepetition"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Bits"
		  Position		  [600, 108, 630, 122]
		}
		Line {
		  SrcBlock		  "Bit to Integer\nConverter"
		  SrcPort		  1
		  DstBlock		  "Starting Symbol\nPosition"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Buffer"
		  SrcPort		  1
		  DstBlock		  "Decimator1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Decimator1"
		  SrcPort		  1
		  DstBlock		  "Bit to Integer\nConverter"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Decimated Bits"
		  SrcPort		  1
		  DstBlock		  "Buffer"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Starting Symbol\nPosition"
		  SrcPort		  1
		  DstBlock		  "Bits"
		  DstPort		  1
		}
		Annotation {
		  Name			  "Compute Power Control Bit Position "
"for  Power Control subchannel as described in TIA/EIA/IS-2000.2.A  3.1.3.1.10"
		  Position		  [191, 33]
		  HorizontalAlignment	  "left"
		  FontName		  "Arial"
		}
		Annotation {
		  Name			  "Power Control Bit Position\nExtract"
"or"
		  Position		  [13, 32]
		  HorizontalAlignment	  "left"
		  DropShadow		  on
		  FontName		  "Arial"
		  FontSize		  12
		  FontWeight		  "bold"
		}
	      }
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Power Control\nSymbol Extraction"
	      Ports		      [3, 2]
	      Position		      [695, 147, 775, 243]
	      TreatAsAtomicUnit	      off
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"Power Control\nSymbol Extraction"
		Location		[39, 204, 981, 557]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "InData"
		  Position		  [40, 68, 70, 82]
		}
		Block {
		  BlockType		  Inport
		  Name			  "Position"
		  Position		  [25, 273, 55, 287]
		  ForegroundColor	  "red"
		  Port			  "2"
		}
		Block {
		  BlockType		  Inport
		  Name			  "EnDelay"
		  Position		  [425, 173, 455, 187]
		  ForegroundColor	  "red"
		  Port			  "3"
		}
		Block {
		  BlockType		  Assignment
		  Name			  "Assignment"
		  Ports			  [3, 1]
		  Position		  [300, 220, 385, 290]
		  ElementSrc		  "External"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Buffer"
		  Ports			  [1, 1]
		  Position		  [110, 57, 150, 93]
		  NamePlacement		  "alternate"
		  ShowName		  off
		  SourceBlock		  "dspbuff3/Buffer"
		  SourceType		  "Buffer"
		  N			  "numSamp/16"
		  V			  "0"
		  ic			  "0"
		}
		Block {
		  BlockType		  Reference
		  Name			  "DSP\nConstant1"
		  Ports			  [0, 1]
		  Position		  [400, 211, 510, 229]
		  ForegroundColor	  "red"
		  ShowName		  off
		  SourceBlock		  "dspsrcs4/DSP\nConstant"
		  SourceType		  "DSP Constant"
		  Value			  "numSamp/(2*16)"
		  SampleMode		  "Discrete"
		  discreteOutput	  "Sample-based"
		  continuousOutput	  "Sample-based"
		  sampTime		  "20e-3/16"
		  framePeriod		  "20e-3/16"
		  additionalParams	  "off"
		  dataType		  "Inherit from 'Constant value'"
		  wordLen		  "16"
		  udDataType		  "sfix(16)"
		  fracBitsMode		  "Best precision"
		  numFracBits		  "15"
		  InterpretAs1D		  "off"
		  Ts			  "20e-3/16"
		  FramebasedOutput	  "off"
		}
		Block {
		  BlockType		  Reference
		  Name			  "DSP\nConstant2"
		  Ports			  [0, 1]
		  Position		  [230, 244, 285, 266]
		  ForegroundColor	  "red"
		  ShowName		  off
		  SourceBlock		  "dspsrcs4/DSP\nConstant"
		  SourceType		  "DSP Constant"
		  Value			  "0"
		  SampleMode		  "Discrete"
		  discreteOutput	  "Sample-based"
		  continuousOutput	  "Sample-based"
		  sampTime		  "1.25e-3"
		  framePeriod		  "1.25e-3"
		  additionalParams	  "off"
		  dataType		  "Inherit from 'Constant value'"
		  wordLen		  "16"
		  udDataType		  "sfix(16)"
		  fracBitsMode		  "Best precision"
		  numFracBits		  "15"
		  InterpretAs1D		  "off"
		  Ts			  "1.25e-3"
		  FramebasedOutput	  "off"
		}
		Block {
		  BlockType		  Reference
		  Name			  "DSP\nConstant3"
		  Ports			  [0, 1]
		  Position		  [20, 315, 160, 335]
		  ForegroundColor	  "red"
		  ShowName		  off
		  SourceBlock		  "dspsrcs4/DSP\nConstant"
		  SourceType		  "DSP Constant"
		  Value			  "[1:numPuncturedSymbols]"
		  SampleMode		  "Discrete"
		  discreteOutput	  "Sample-based"
		  continuousOutput	  "Sample-based"
		  sampTime		  "1.25e-3"
		  framePeriod		  "1.25e-3"
		  additionalParams	  "off"
		  dataType		  "Inherit from 'Constant value'"
		  wordLen		  "16"
		  udDataType		  "sfix(16)"
		  fracBitsMode		  "Best precision"
		  numFracBits		  "15"
		  InterpretAs1D		  "off"
		  Ts			  "1.25e-3"
		  FramebasedOutput	  "off"
		}
		Block {
		  BlockType		  Reference
		  Name			  "DSP\nConstant4"
		  Ports			  [0, 1]
		  Position		  [585, 214, 625, 236]
		  ForegroundColor	  "red"
		  ShowName		  off
		  SourceBlock		  "dspsrcs4/DSP\nConstant"
		  SourceType		  "DSP Constant"
		  Value			  "1"
		  SampleMode		  "Discrete"
		  discreteOutput	  "Sample-based"
		  continuousOutput	  "Sample-based"
		  sampTime		  "1.25e-3"
		  framePeriod		  "1.25e-3"
		  additionalParams	  "off"
		  dataType		  "Inherit from 'Constant value'"
		  wordLen		  "16"
		  udDataType		  "sfix(16)"
		  fracBitsMode		  "Best precision"
		  numFracBits		  "15"
		  InterpretAs1D		  "off"
		  Ts			  "1.25e-3"
		  FramebasedOutput	  "off"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Frame Status\nConversion"
		  Ports			  [1, 1]
		  Position		  [100, 262, 145, 298]
		  ForegroundColor	  "red"
		  ShowName		  off
		  SourceBlock		  "dspsigattribs/Frame Status\nConvers"
"ion"

⌨️ 快捷键说明

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