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

📄 wcdma_phlayer.mdl

📁 基于3G标准wcdma的上下行通信链路
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      BlockType		      Goto
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      Ground
    }
    Block {
      BlockType		      Inport
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Logic
      Operator		      "AND"
      Inputs		      "2"
      AllPortsSameDT	      on
      OutDataTypeMode	      "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Lookup
      InputValues	      "[-4:5]"
      OutputValues	      " rand(1,10)-0.5"
      LookUpMeth	      "Interpolation-Extrapolation"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
      LUTDesignTableMode      "Redesign Table"
      LUTDesignDataSource     "Block Dialog"
      LUTDesignFunctionName   "sqrt(x)"
      LUTDesignUseExistingBP  on
      LUTDesignRelError	      "0.01"
      LUTDesignAbsError	      "1e-6"
    }
    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		      Merge
      Inputs		      "2"
      InitialOutput	      "[]"
      AllowUnequalInputPortWidths off
      InputPortOffsets	      "[]"
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      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		      Probe
      ProbeWidth	      on
      ProbeSampleTime	      on
      ProbeComplexSignal      on
      ProbeSignalDimensions   off
      ProbeFramedSignal	      off
      ProbeWidthDataType      "double"
      ProbeSampleTimeDataType "double"
      ProbeComplexityDataType "double"
      ProbeDimensionsDataType "double"
      ProbeFrameDataType      "double"
    }
    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		      RelationalOperator
      Operator		      ">="
      InputSameDT	      on
      LogicOutDataTypeMode    "Logical (see Configuration Parameters: Optimiza"
"tion)"
      LogicDataType	      "uint(8)"
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Rounding
      Operator		      "floor"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Saturate
      UpperLimit	      "0.5"
      LowerLimit	      "-0.5"
      LinearizeAsGain	      on
      ZeroCross		      on
      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		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Terminator
    }
    Block {
      BlockType		      TriggerPort
      TriggerType	      "rising"
      StatesWhenEnabling      "inherit"
      ShowOutputPort	      off
      OutputDataType	      "auto"
      SampleTimeType	      "triggered"
      SampleTime	      "1"
      ZeroCross		      on
    }
    Block {
      BlockType		      Width
      OutputDataTypeScalingMode	"Choose intrinsic data type"
      DataType		      "double"
    }
    Block {
      BlockType		      ZeroOrderHold
      SampleTime	      "1"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Comic Sans MS"
    FontSize		    12
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "wcdma_phlayer"
    Location		    [4, 82, 1016, 743]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    256
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Display
      Name		      "BER Measurements"
      Ports		      [1]
      Position		      [550, 485, 640, 545]
      ShowName		      off
      FontSize		      9
      Decimation	      "1"
    }
    Block {
      BlockType		      Display
      Name		      "BER Measurements1"
      Ports		      [1]
      Position		      [550, 550, 640, 610]
      ShowName		      off
      FontSize		      9
      Decimation	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "BLER Calculation"
      Ports		      [2, 1]
      Position		      [470, 441, 535, 474]
      ShowName		      off
      SourceBlock	      "wcdma_lib/Wcdma Common/BLER Calculation"
      SourceType	      "BLER Calculation"
      ShowPortLabels	      on
      trBlkSetSize	      "trBlkSetSize"
      tti		      "tti"
      numBitsDelay	      "totalBitsDelay"
    }
    Block {
      BlockType		      Display
      Name		      "BLER Measurements"
      Ports		      [1]
      Position		      [550, 439, 640, 481]
      ShowName		      off
      Decimation	      "1"
    }
    Block {
      BlockType		      Reference
      Name		      "Bernoulli Binary\nGenerator"
      Ports		      [0, 1]
      Position		      [75, 107, 175, 143]
      ShowName		      off
      SourceBlock	      "commrandsrc2/Bernoulli Binary\nGenerator"
      SourceType	      "Bernoulli Binary Generator"
      ShowPortLabels	      on
      P			      "0.5"
      seed		      "[123456]"
      Ts		      "(tti(1)*1e-3)/trBlkSetSize(1)"
      frameBased	      on
      sampPerFrame	      "trBlkSetSize(1)"
      orient		      off
      Port {
	PortNumber		1
	Name			"dtch"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Bernoulli Binary\nGenerator1"
      Ports		      [0, 1]
      Position		      [75, 147, 175, 183]
      ShowName		      off
      SourceBlock	      "commrandsrc2/Bernoulli Binary\nGenerator"
      SourceType	      "Bernoulli Binary Generator"
      ShowPortLabels	      on
      P			      "0.5"
      seed		      "[123456]"
      Ts		      "(tti(2)*1e-3)/trBlkSetSize(2)"
      frameBased	      on
      sampPerFrame	      "trBlkSetSize(2)"
      orient		      off
      Port {
	PortNumber		1
	Name			"dtch"
	RTWStorageClass		"Auto"
	DataLoggingNameMode	"SignalName"
	ShowSigGenPortName	on
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation"
      Ports		      [2, 1]
      Position		      [465, 493, 535, 537]
      ShowName		      off
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "totalBitsDelay(1)"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation1"
      Ports		      [2, 1]
      Position		      [465, 559, 535, 601]
      ShowName		      off
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "totalBitsDelay(2)"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      From
      Name		      "From1"
      Position		      [390, 443, 450, 457]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "synd1"
    }
    Block {
      BlockType		      From
      Name		      "From15"
      Position		      [390, 561, 450, 579]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "dcch_Tx"
    }
    Block {
      BlockType		      From
      Name		      "From16"
      Position		      [390, 581, 450, 599]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "dcch_Rx"
    }
    Block {
      BlockType		      From
      Name		      "From2"
      Position		      [390, 458, 450, 472]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "synd2"
    }
    Block {
      BlockType		      From
      Name		      "From3"
      Position		      [390, 497, 450, 513]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "dtch_Tx"
    }
    Block {
      BlockType		      From
      Name		      "From5"
      Position		      [390, 516, 450, 534]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      CloseFcn		      "tagdialog Close"
      GotoTag		      "dtch_Rx"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto1"
      Position		      [220, 72, 270, 88]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "dtch_Tx"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto2"
      Position		      [85, 307, 175, 323]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "dtch_Rx"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto3"
      Position		      [205, 237, 260, 253]
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "dcch_Tx"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto4"
      Position		      [85, 348, 175, 362]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "dcch_Rx"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto5"
      Position		      [85, 332, 175, 348]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off
      DialogController	      "Simulink.DDGSource"
      GotoTag		      "synd1"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Goto6"
      Position		      [85, 367, 175, 383]
      Orientation	      "left"
      NamePlacement	      "alternate"
      ShowName		      off

⌨️ 快捷键说明

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