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

📄 cdma2000.mdl

📁 CDMA2000 反向信道仿真 matlab
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      SampleTime	      "-1"
    }
    Block {
      BlockType		      FrameConversion
      OutFrame		      "Frame based"
    }
    Block {
      BlockType		      FromWorkspace
      VariableName	      "simulink_input"
      SampleTime	      "-1"
      Interpolate	      on
      ZeroCross		      off
      OutputAfterFinalValue   "Extrapolation"
    }
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Inport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      LatchByDelayingOutsideSignal off
      LatchByCopyingInsideSignal off
      Interpolate	      on
    }
    Block {
      BlockType		      Math
      Operator		      "exp"
      OutputSignalType	      "auto"
      SampleTime	      "-1"
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      "M-S-Function"
      FunctionName	      "mlfile"
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      UseBusObject	      off
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      UseBusObject	      off
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      RealImagToComplex
      Input		      "Real and imag"
      ConstantPart	      "0"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Reference
    }
    Block {
      BlockType		      Rounding
      Operator		      "floor"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Scope
      ModelBased	      off
      TickLabels	      "OneTimeTick"
      ZoomMode		      "on"
      Grid		      "on"
      TimeRange		      "auto"
      YMin		      "-5"
      YMax		      "5"
      SaveToWorkspace	      off
      SaveName		      "ScopeData"
      LimitDataPoints	      on
      MaxDataPoints	      "5000"
      Decimation	      "1"
      SampleInput	      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      UnitDelay
      X0		      "0"
      SampleTime	      "1"
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "arial"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "cdma2000"
    Location		    [303, 79, 1103, 528]
    Open		    on
    ModelBrowserVisibility  on
    ModelBrowserWidth	    234
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      ComplexToRealImag
      Name		      "Complex to\nReal-Imag"
      Ports		      [1, 2]
      Position		      [665, 140, 725, 240]
      Output		      "Real and imag"
    }
    Block {
      BlockType		      SubSystem
      Name		      "FCH Frame Data"
      Ports		      [1, 1]
      Position		      [155, 163, 325, 257]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      MaskType		      "FCH Frame Data"
      MaskDescription	      "FCH Frame Data"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"FCH Frame Data"
	Location		[222, 103, 1022, 535]
	Open			off
	ModelBrowserVisibility	on
	ModelBrowserWidth	92
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Relative Gain"
	  Position		  [500, 208, 530, 222]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "CRC"
	  Ports			  [1, 1]
	  Position		  [120, 103, 255, 157]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  MaskType		  "Frame Quality Indicator (cdma2000 MS)"
	  MaskDescription	  "Add Frame Quality Indicator (FQI) to the cd"
"ma2000 MS input frame.\nThe length of FQI is decided by the input Frame Lengt"
"h and the Radio Configuration."
	  MaskHelp		  "Add Frame Quality Indicator (FQI) to the cd"
"ma2000 MS input frame.\nThe length of FQI is decided by the input Frame Lengt"
"h and the Radio Configuration."
	  MaskPromptString	  "Radio Configuration|Bit Rate|Frame Length(R"
"aw Bits per Frame)|Frame Duration"
	  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;xBitRate=@2;xFrameLength=@3;xFrameDu"
"ration=@4;"
	  MaskInitialization	  "MS_FQI_Initialization"
	  MaskDisplay		  "disp('Frame Quality Indicator \\n\\n(cdma20"
"00 MS)');"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "mRC|mBitRate|mFrameLength|mFrameDuration"
	  MaskTabNameString	  ",,,"
	  System {
	    Name		    "CRC"
	    Location		    [276, 184, 986, 484]
	    Open		    off
	    ModelBrowserVisibility  on
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Input"
	      Position		      [55, 103, 85, 117]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "General CRC\nGenerator"
	      Ports		      [1, 1]
	      Position		      [245, 85, 335, 135]
	      SourceBlock	      "commcrc2/General CRC\nGenerator"
	      SourceType	      "General CRC Generator"
	      genPoly		      "xGenPoly"
	      iniStates		      "[0]"
	      numChecksums	      "1"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Zero Pad"
	      Ports		      [1, 1]
	      Position		      [145, 92, 190, 128]
	      SourceBlock	      "dspsigops/Zero Pad"
	      SourceType	      "Zero Pad"
	      padSigAt		      "End"
	      zpadAlong		      "Columns"
	      padNumOutRowsSpecMethod "User-specified"
	      numOutRows	      "xPaddedFrameLength"
	      padNumOutColsSpecMethod "User-specified"
	      numOutCols	      "1"
	      trunc_flag	      "None"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Output"
	      Position		      [400, 103, 430, 117]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Input"
	      SrcPort		      1
	      DstBlock		      "Zero Pad"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Zero Pad"
	      SrcPort		      1
	      DstBlock		      "General CRC\nGenerator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "General CRC\nGenerator"
	      SrcPort		      1
	      DstBlock		      "Output"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Encoder"
	  Ports			  [1, 1]
	  Position		  [280, 101, 405, 159]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  MaskType		  "Convolutional Encoder (cdma2000 MS)"
	  MaskDescription	  "Convolutionally Encode the input frame"
	  MaskHelp		  "Convolutional Encoder"
	  MaskPromptString	  "Radio Configuration|Bit Rate|Raw Bits per F"
"rame|Frame Duration"
	  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;xBitRate=@2;xFrameLength=@3;xFrameDu"
"ration=@4;"
	  MaskInitialization	  "MS_Encoder_Initialization"
	  MaskDisplay		  "disp('Convolutional Encoder\\n\\n(cdma2000 "
"MS)');"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "mRC|mBitRate|mFrameLength|mFrameDuration"
	  MaskTabNameString	  ",,,"
	  System {
	    Name		    "Encoder"
	    Location		    [222, 165, 940, 499]
	    Open		    off
	    ModelBrowserVisibility  on
	    ModelBrowserWidth	    212
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "Input"
	      Position		      [70, 108, 100, 122]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Convolutional\nEncoder"
	      Ports		      [1, 1]
	      Position		      [260, 87, 350, 143]
	      SourceBlock	      "commcnvcod2/Convolutional\nEncoder"
	      SourceType	      "Convolutional Encoder"
	      trellis		      "xTrellisStructure"
	      reset		      "None"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Zero Pad"
	      Ports		      [1, 1]
	      Position		      [155, 97, 200, 133]
	      SourceBlock	      "dspsigops/Zero Pad"
	      SourceType	      "Zero Pad"
	      padSigAt		      "End"
	      zpadAlong		      "Columns"
	      padNumOutRowsSpecMethod "User-specified"
	      numOutRows	      "xPaddedFrameLength"
	      padNumOutColsSpecMethod "User-specified"
	      numOutCols	      "1"
	      trunc_flag	      "None"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Output"
	      Position		      [395, 108, 425, 122]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Input"
	      SrcPort		      1
	      DstBlock		      "Zero Pad"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Zero Pad"
	      SrcPort		      1
	      DstBlock		      "Convolutional\nEncoder"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Convolutional\nEncoder"
	      SrcPort		      1
	      DstBlock		      "Output"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Interleaver"
	  Ports			  [1, 1]
	  Position		  [440, 101, 590, 159]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskHideContents	  off
	  MaskType		  "Interleaver"
	  MaskDescription	  "perform repetition, puncture, and Interleav"
"ering to the input frame\nthe output of the interleaver is sample-based"
	  MaskHelp		  "perform repetition, puncture, and Interleav"
"ering to the input frame\nthe output of the interleaver is sample-based"
	  MaskPromptString	  "Radio Configuration|Bit Rate|Raw Bits per F"
"rame|Frame Duration"

⌨️ 快捷键说明

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