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

📄 msmodulationr13.mdl

📁 利用matlab/simulink仿真了CDMA2
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  SrcBlock		  "CRC"
	  SrcPort		  1
	  DstBlock		  "Encoder"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator"
	  SrcPort		  1
	  DstBlock		  "CRC"
	  DstPort		  1
	}
      }
    }
    Block {

      BlockType		      Reference
      Name		      "Frame Status\nConversion"
      Ports		      [1, 1]
      Position		      [545, 152, 595, 188]
      BackgroundColor	      "[0.000000, 0.501961, 1.000000]"
      DropShadow	      on
	SourceBlock	"dspsigattribs/Frame Status\nConversion"
      SourceType	      "Frame Status Conversion"
      growRefPort	      off
      outframe		      "Sample-based"
    }
    Block {
      BlockType		      Constant
      Name		      "Gain"
      Position		      [270, 240, 300, 270]
      BackgroundColor	      "[0.000000, 0.501961, 1.000000]"
      DropShadow	      on
      Value		      "1/2"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Model Initilization"
      Ports		      []
      Position		      [50, 29, 167, 105]
      BackgroundColor	      "yellow"
      DropShadow	      on
      Permissions	      "NoReadOrWrite"
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      MaskPromptString	      "Radio Configuration|Raw Bits Per Frame|Frame Du"
"ration|Bit Rate"
      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;xFrameLength=@2;xFrameDuration=@3;xBitRa"
"te=@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|172|20|9600"
      System {
	Name			"Model Initilization"
	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		      [360, 59, 470, 276]
      BackgroundColor	      "[0.000000, 0.501961, 1.000000]"
      DropShadow	      on
      AncestorBlock	      "modulation/Subsystem1"
      TreatAsAtomicUnit	      off
      RTWSystemCode	      "Auto"
      MaskInitialization      "MS_Modulation_Initialization"
      MaskDisplay	      "disp('Modulation\\n\\n(cdma 2000 MS)')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Modulation"
	Location		[6, 82, 1018, 710]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "SCH2"
	  Position		  [60, 133, 90, 147]
	  Port			  "1"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "PCH"
	  Position		  [60, 163, 90, 177]
	  Port			  "2"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "DCCH"
	  Position		  [60, 193, 90, 207]
	  Port			  "3"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "FCH"
	  Position		  [60, 268, 90, 282]
	  Port			  "4"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "SCH1/CCCH/EACH"
	  Position		  [60, 298, 90, 312]
	  Port			  "5"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "In6"
	  Position		  [705, 333, 735, 347]
	  Port			  "6"
	  LatchInput		  off
	}
	Block {

	  BlockType		  Reference
	  Name			  "FIR\nInterpolation"
	  Ports			  [1, 1]
	  Position		  [535, 104, 600, 156]
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag0"
	SourceBlock	"dspmlti3/FIR\nInterpolation"
	  SourceType		  "FIR Interpolation"
	  h			  "xFIR"
	  L			  "4"
	  framing		  "Maintain input frame size"
	  outputBufInitCond	  "0"
	  additionalParams	  off
	  allowOverrides	  on
	  firstCoeffMode	  "Same word length as input"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  outputMode		  "Same as accumulator"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {

	  BlockType		  Reference
	  Name			  "FIR\nInterpolation1"
	  Ports			  [1, 1]
	  Position		  [535, 259, 600, 311]
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag1"
	SourceBlock	"dspmlti3/FIR\nInterpolation"
	  SourceType		  "FIR Interpolation"
	  h			  "xFIR"
	  L			  "4"
	  framing		  "Maintain input frame size"
	  outputBufInitCond	  "0"
	  additionalParams	  off
	  allowOverrides	  on
	  firstCoeffMode	  "Same word length as input"
	  firstCoeffWordLength	  "16"
	  firstCoeffFracLength	  "15"
	  outputMode		  "Same as accumulator"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  prodOutputMode	  "Inherit via internal rule"
	  prodOutputWordLength	  "32"
	  prodOutputFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [800, 232, 840, 308]
	  InputSameDT		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [300, 51, 345, 84]
	  InputSameDT		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [300, 136, 345, 169]
	  InputSameDT		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product3"
	  Ports			  [2, 1]
	  Position		  [305, 216, 350, 249]
	  InputSameDT		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product4"
	  Ports			  [2, 1]
	  Position		  [305, 291, 350, 324]
	  InputSameDT		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  RealImagToComplex
	  Name			  "Real-Imag to\nComplex"
	  Ports			  [2, 1]
	  Position		  [700, 179, 745, 246]
	  Input			  "Real and imag"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem"
	  Ports			  [0, 2]
	  Position		  [15, 14, 130, 121]
	  AncestorBlock		  "PNSequence/Subsystem"
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  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	  "0"
	  System {
	    Name		    "Subsystem"
	    Location		    [93, 210, 989, 601]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      SubSystem
	      Name		      "I branch PN"
	      Ports		      [0, 1]
	      Position		      [30, 13, 140, 87]
	      AncestorBlock	      "ShortPNSequence/Subsystem"
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      MaskPromptString	      "Generator Polynominal"
	      MaskStyleString	      "edit"
	      MaskTunableValueString  "on"
	      MaskEnableString	      "on"
	      MaskVisibilityString    "on"
	      MaskToolTipString	      "on"
	      MaskVariables	      "xGenerator=@1;"
	      MaskDisplay	      "disp('Short PN Sequence\\n\\n(cdma2000 "
"MS)')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "xPNGeneratorI"
	      System {
		Name			"I branch PN"
		Location		[440, 291, 925, 391]
		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		  [165, 28, 245, 72]
	SourceBlock	"commsequence2/Insert Zero"
		  SourceType		  "Insert Zero"
		  insertZeroVector	  "[1 0 ones(1,2^15-2)]'"
		}
		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			  "xGenerator"
		  ini_sta		  "[zeros(1,14) 1]"
		  shift			  "[zeros(1,14) 1]"
		  Ts			  "2^15/12288/(2^15-1)"
		  frameBased		  on
		  sampPerFrame		  "2^15-1"
		  reset			  off
		}
		Block {

		  BlockType		  Reference
		  Name			  "Unbuffer"
		  Ports			  [1, 1]
		  Position		  [320, 26, 370, 74]
	SourceBlock	"dspbuff3/Unbuffer"
		  SourceType		  "Unbuffer"
		  ic			  "0"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [430, 38, 460, 52]
		}
		Line {
		  SrcBlock		  "Unbuffer"
		  SrcPort		  1
		  Points		  [40, 0]
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Insert Zero"
		  SrcPort		  1
		  DstBlock		  "Unbuffer"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "PN Sequence\nGenerator"
		  SrcPort		  1
		  DstBlock		  "Insert Zero"
		  DstPort		  1
		}
	      }
	    }
	    Block {

	      BlockType		      Reference
	      Name		      "PN Sequence\nGenerator"
	      Ports		      [0, 1]
	      Position		      [40, 128, 120, 172]
	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		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [515, 214, 550, 296]
	      InputSameDT	      off
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [2, 1]
	      Position		      [755, 173, 790, 262]
	      InputSameDT	      off
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [460, 28, 500, 92]
	      InputSameDT	      off
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      "S-Function"
	      Ports		      [1, 1]
	      Position		      [600, 233, 705, 287]
	      FunctionName	      "MS_SFUN_QConvert"
	    }
	    Block {

	      BlockType		      Reference
	      Name		      "Subsystem1"
	      Ports		      [0, 1]
	      Position		      [25, 219, 130, 301]
	SourceBlock	"ShortPNSequence/Subsystem"
	      SourceType	      ""
	      xGenerator	      "xPNGeneratorQ"
	    }
	    Block {

	      BlockType		      Reference
	      Name		      "Unipolar to\nBipolar\nConverter"
	      Ports		      [1, 1]
	      Position		      [235, 26, 315, 74]
	SourceBlock	"commutil2/Unipolar to\nBipolar\nConverter"
	      SourceType	      "Unipolar to Bipolar Converter"
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {

	      BlockType		      Reference
	      Name		      "Unipolar to\nBipolar\nConverter1"
	      Ports		      [1, 1]
	      Position		      [235, 236, 315, 284]
	SourceBlock	"commutil2/Unipolar to\nBipolar\nConverter"
	      SourceType	      "Unipolar to Bipolar Converter"
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {

	      BlockType		      Reference
	      Name		      "Unipolar to\nBipolar\nConverter2"
	      Ports		      [1, 1]
	      Position		      [235, 126, 315, 174]
	SourceBlock	"commutil2/Unipolar to\nBipolar\nConverter"
	      SourceType	      "Unipolar to Bipolar Converter"
	      M			      "2"
	      polarity		      "Negative"
	    }
	    Block {
	      BlockType		      UnitDelay

⌨️ 快捷键说明

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