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

📄 ieee80211a_lib.mdl

📁 simulink802.11a_R13SP1是关于802标准的有关仿真练习的一些资料,仅供参考,共同学习.
💻 MDL
📖 第 1 页 / 共 2 页
字号:
Library {
  Name			  "IEEE80211a_lib"
  Version		  5.0
  SaveDefaultBlockParams  on
  LibraryLinkDisplay	  "none"
  ShowLoopsOnError	  on
  IgnoreBidirectionalLines off
  CovSaveName		  "covdata"
  CovMetricSettings	  "dw"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  covSaveCumulativeToWorkspaceVar on
  CovSaveSingleToWorkspaceVar on
  CovCumulativeReport	  off
  BlockNameDataTip	  off
  BlockParametersDataTip  off
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks on
  BrowserLookUnderMasks	  on
  Created		  "Fri Feb 14 18:23:31 2003"
  Creator		  "y"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "Owner"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sat Feb 22 19:39:24 2003"
  ModelVersionFormat	  "1.%<AutoIncrement:26>"
  ConfigurationManager	  "None"
  SimParamPage		  "Solver"
  LinearizationMsg	  "none"
  Profile		  off
  ParamWorkspaceSource	  "MATLABWorkspace"
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "normal"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  on
  ExtModeSkipDownloadWhenConnect off
  ExtModeLogAll		  on
  ExtModeAutoUpdateStatusClock on
  SimulationMode	  "normal"
  ConsistencyChecking	  "none"
  ArrayBoundsChecking	  "none"
  AlgebraicLoopMsg	  "warning"
  BlockPriorityViolationMsg "warning"
  MinStepSizeMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  DiscreteInheritContinuousMsg "warning"
  MultiTaskRateTransMsg	  "error"
  SingleTaskRateTransMsg  "none"
  CheckForMatrixSingularity "none"
  IntegerOverflowMsg	  "warning"
  Int32ToFloatConvMsg	  "warning"
  ParameterDowncastMsg	  "error"
  ParameterOverflowMsg	  "error"
  ParameterPrecisionLossMsg "warning"
  UnderSpecifiedDataTypeMsg "none"
  UnnecessaryDatatypeConvMsg "none"
  VectorMatrixConversionMsg "none"
  InvalidFcnCallConnMsg	  "error"
  SignalLabelMismatchMsg  "none"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  SfunCompatibilityCheckMsg "none"
  ProdHWDeviceType	  "Microprocessor"
  ProdHWWordLengths	  "8,16,32,32"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  RTWRetainRTWFile	  off
  TLCProfiler		  off
  TLCDebug		  off
  TLCCoverage		  off
  TLCAssertion		  off
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    Block {
      BlockType		      Constant
      Value		      "1"
      VectorParams1D	      on
      ShowAdditionalParam     off
      OutDataTypeMode	      "Inherit from 'Constant value'"
      OutDataType	      "sfix(16)"
      ConRadixGroup	      "Use specified scaling"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      EnablePort
      StatesWhenEnabling      "held"
      ShowOutputPort	      off
      ZeroCross		      on
    }
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ShowAdditionalParam     off
      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
    }
    Block {
      BlockType		      Inport
      Port		      "1"
      PortDimensions	      "-1"
      SampleTime	      "-1"
      ShowAdditionalParam     off
      LatchInput	      off
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Reference
    }
    Block {
      BlockType		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      RTWSystemCode	      "Auto"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      ShowAdditionalParam     off
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "IEEE80211a_lib"
    Location		    [151, 84, 515, 321]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Demodulator"
      Ports		      [1, 2, 1]
      Position		      [200, 70, 290, 110]
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskType		      "QAM Demodulator-Decoder."
      MaskDescription	      "Demodulator has option to zero-pad output, so t"
"hat a bank of different modulators can share the same output frame size."
      MaskPromptString	      "Number of symbols per frame:|Modulation:|Code:|"
"Trellis:|Puncture vector:|Viterbi trace back depth:"
      MaskStyleString	      "edit,edit,edit,edit,edit,edit"
      MaskTunableValueString  "on,on,on,on,on,on"
      MaskCallbackString      "|||||"
      MaskEnableString	      "on,on,on,on,on,on"
      MaskVisibilityString    "on,on,on,on,on,on"
      MaskToolTipString	      "on,on,on,on,on,on"
      MaskVarAliasString      ",,,,,"
      MaskVariables	      "numSymbols=@1;modulation=&2;code=&3;trellisStru"
"cture=@4;punctureVector=@5;vtbd=@6;"
      MaskInitialization      "% number of bits per symbol\nswitch modulation"
"\n	case 'BPSK', Nb1 = 1;\n	case 'QPSK', Nb1 = 2;\n	case "
"'16-QAM', Nb1 = 4;\n	case '64-QAM', Nb1 = 6;\nend\n\nmodOrder = 2.^Nb1"
";\nNb = numSymbols * Nb1; % tx bits per block\ncodeRate = str2num(strvcat(cod"
"e)).';\nbitsPerBlock = Nb .* codeRate;\n\n% interleaver\ninterleaverRows = 16"
";\nif rem(Nb, interleaverRows)\n	error('Number of transmitted bits per"
" block must be multiple of 16.')\nend\ninterleaverCols = Nb / interleaverRows"
";\ninterleaverElements = [...\n            2*floor( [0:Nb-1]/2 ) + ...\n     "
"       mod( ([0:Nb-1] + Nb - floor( interleaverRows*[0:Nb-1]/Nb ) ), 2 ) ..."
"\n            + 1]';"
      MaskDisplay	      "disp(['Demodulator\\n' modulation ' ' code])\np"
"ort_label('input', 1, ' ')\nport_label('output', 1, ' ')\nport_label('output'"
", 2, 'err')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "960|BPSK|3/4|poly2trellis(7, [171 133])|[1 1 1 "
"0 0 1].'|34"
      System {
	Name			"Demodulator"
	Location		[53, 145, 931, 391]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "rxsig"
	  Position		  [30, 78, 60, 92]
	}
	Block {
	  BlockType		  EnablePort
	  Name			  "Enable"
	  Ports			  []
	  Position		  [30, 15, 50, 35]
	}
	Block {
	  BlockType		  Reference
	  Name			  "General Block\nDeinterleaver"
	  Ports			  [1, 1]
	  Position		  [320, 60, 395, 110]
	  ShowName		  off
	  SourceBlock		  "commblkintrlv2/General Block\nDeinterleaver"
	  SourceType		  "General Block Deinterleaver"
	  elements		  "interleaverElements"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Insert Zero4"
	  Ports			  [1, 1]
	  Position		  [545, 70, 600, 100]
	  ShowName		  off
	  SourceBlock		  "commsequence2/Insert Zero"
	  SourceType		  "Insert Zero"
	  insertZeroVector	  "punctureVector"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Matrix\nDeinterleaver"
	  Ports			  [1, 1]
	  Position		  [435, 65, 510, 105]
	  NamePlacement		  "alternate"
	  ShowName		  off
	  SourceBlock		  "commblkintrlv2/Matrix\nDeinterleaver"
	  SourceType		  "Matrix Deinterleaver"
	  Nrows			  "interleaverRows"
	  Ncols			  "interleaverCols"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Rectangular QAM\nDemodulator\nBaseband"
	  Ports			  [1, 1]
	  Position		  [105, 62, 180, 108]
	  ShowName		  off
	  SourceBlock		  "commdigbbndam2/Rectangular QAM\nDemodulator"
"\nBaseband"
	  SourceType		  "Rectangular QAM Demodulator Baseband"
	  M			  "modOrder"
	  OutType		  "Bit"
	  Dec			  "Gray"
	  PowType		  "Average Power"
	  MinDist		  "2"
	  AvgPow		  "1"
	  PeakPow		  "1"
	  Ph			  "0"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Rectangular QAM\nModulator\nBaseband1"
	  Ports			  [1, 1]
	  Position		  [225, 137, 300, 183]
	  ShowName		  off
	  SourceBlock		  "commdigbbndam2/Rectangular QAM\nModulator\n"
"Baseband"
	  SourceType		  "Rectangular QAM Modulator Baseband"
	  M			  "modOrder"
	  InType		  "Bit"
	  Enc			  "Gray"
	  PowType		  "Average Power"
	  MinDist		  "2"
	  AvgPow		  "1"
	  PeakPow		  "1"
	  Ph			  "0"
	  numSamp		  "1"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [340, 150, 360, 170]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|+-"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Unipolar to\nBipolar\nConverter2"
	  Ports			  [1, 1]
	  Position		  [230, 63, 290, 107]
	  ShowName		  off
	  SourceBlock		  "commutil2/Unipolar to\nBipolar\nConverter"
	  SourceType		  "Unipolar to Bipolar Converter"
	  M			  "2"
	  polarity		  "Negative"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Viterbi Decoder1"
	  Ports			  [1, 1]
	  Position		  [635, 66, 715, 104]
	  ShowName		  off
	  SourceBlock		  "commcnvcod2/Viterbi Decoder"
	  SourceType		  "Viterbi Decoder"
	  trellis		  "trellisStructure"
	  dectype		  "Unquantized"
	  nsdecb		  "4"
	  tbdepth		  "vtbd"
	  opmode		  "Continuous"
	  reset			  "off"
	}
	Block {
	  BlockType		  Outport
	  Name			  "rxdata"
	  Position		  [765, 78, 795, 92]
	  OutputWhenDisabled	  "reset"
	  InitialOutput		  "0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "symerr"

⌨️ 快捷键说明

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