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

📄 evm_library.mdl

📁 EVM的模块
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [45, 63, 75, 77]
	  NamePlacement		  "alternate"
	  IconDisplay		  "Port number"
	  Port {
	    PortNumber		    1
	    Name		    "EVM"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Compute\nEVM"
	  Ports			  [2, 1]
	  Position		  [170, 59, 240, 106]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  MaskType		  "Stateflow"
	  MaskDescription	  "Embedded MATLAB block"
	  MaskDisplay		  "disp('fcn');"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  Port {
	    PortNumber		    1
	    Name		    "EVM_Line"
	    PropagatedSignals	    "EVM"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  System {
	    Name		    "Compute\nEVM"
	    Location		    [257, 457, 812, 717]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "noisyIn"
	      Position		      [20, 101, 40, 119]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "ConstPts"
	      Position		      [20, 136, 40, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      " Demux "
	      Ports		      [1, 1]
	      Position		      [270, 160, 320, 200]
	      Outputs		      "1"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      " SFunction "
	      Tag		      "Stateflow S-Function EVM_Library 3"
	      Ports		      [2, 2]
	      Position		      [180, 100, 230, 160]
	      FunctionName	      "sf_sfun"
	      PortCounts	      "[2 2]"
	      Port {
		PortNumber		2
		Name			"EVM"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      " Terminator "
	      Position		      [460, 171, 480, 189]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "EVM"
	      Position		      [460, 101, 480, 119]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      " SFunction "
	      SrcPort		      1
	      Points		      [0, 65]
	      DstBlock		      " Demux "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      " Demux "
	      SrcPort		      1
	      DstBlock		      " Terminator "
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "noisyIn"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      1
	    }
	    Line {
	      Name		      "EVM"
	      Labels		      [0, 0]
	      SrcBlock		      " SFunction "
	      SrcPort		      2
	      DstBlock		      "EVM"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "ConstPts"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Constellation\nPoints"
	  Ports			  [0, 1]
	  Position		  [45, 104, 80, 136]
	  SourceBlock		  "dspsrcs4/DSP\nConstant"
	  SourceType		  "DSP Constant"
	  ShowPortLabels	  "FromPortIcon"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  Value			  "C"
	  SampleMode		  "Discrete"
	  discreteOutput	  "Frame-based"
	  continuousOutput	  "Sample-based"
	  sampTime		  "1"
	  framePeriod		  "inf"
	  additionalParams	  off
	  allowOverrides	  on
	  dataType		  "Inherit from 'Constant value'"
	  isSigned		  on
	  wordLen		  "16"
	  udDataType		  "sfix(16)"
	  fracBitsMode		  "Best precision"
	  numFracBits		  "15"
	  InterpretAs1D		  "-inf"
	  Ts			  "-inf"
	  FramebasedOutput	  "-inf"
	}
	Block {
	  BlockType		  Goto
	  Name			  "EVM_Out"
	  Position		  [415, 150, 485, 180]
	  GotoTag		  "EVM"
	  TagVisibility		  "local"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Normalize"
	  Position		  [515, 66, 590, 104]
	  Gain			  "1/Pmax"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Reference
	  Name			  "RMS"
	  Ports			  [1, 1]
	  Position		  [375, 67, 450, 103]
	  SourceBlock		  "dspstat3/RMS"
	  SourceType		  "RMS"
	  run			  off
	  reset_popup		  "None"
	  Port {
	    PortNumber		    1
	    Name		    "RMS_Line"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	}
	Block {
	  BlockType		  Goto
	  Name			  "RMS_EVM_Out"
	  Position		  [670, 70, 760, 100]
	  GotoTag		  "RMS_EVM"
	  TagVisibility		  "local"
	}
	Block {
	  BlockType		  From
	  Name			  "myOutput"
	  Position		  [610, 149, 710, 181]
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "RMS_EVM"
	}
	Block {
	  BlockType		  Outport
	  Name			  "RMS EVM"
	  Position		  [755, 158, 785, 172]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  Name			  "RMS_Line"
	  Labels		  [0, 0]
	  SrcBlock		  "RMS"
	  SrcPort		  1
	  DstBlock		  "Normalize"
	  DstPort		  1
	}
	Line {
	  Name			  "EVM"
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Compute\nEVM"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constellation\nPoints"
	  SrcPort		  1
	  Points		  [45, 0; 0, -25]
	  DstBlock		  "Compute\nEVM"
	  DstPort		  2
	}
	Line {
	  Name			  "EVM_Line"
	  Labels		  [0, 0]
	  SrcBlock		  "Compute\nEVM"
	  SrcPort		  1
	  Points		  [70, 0]
	  Branch {
	    Points		    [0, 80]
	    DstBlock		    "EVM_Out"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "RMS"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "myOutput"
	  SrcPort		  1
	  DstBlock		  "RMS EVM"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Normalize"
	  SrcPort		  1
	  DstBlock		  "RMS_EVM_Out"
	  DstPort		  1
	}
	Annotation {
	  Position		  [339, 171]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "EVM\nFast EML"
      Ports		      [1, 1]
      Position		      [185, 136, 235, 194]
      TreatAsAtomicUnit	      on
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskType		      "Error Vector Magnitude"
      MaskDescription	      "Compute the Error Vector Magnitude by comparing"
" the input signal to the reference provided by the Signal constellation param"
"eter."
      MaskHelp		      "<p>To convert the output of this block to dB, u"
"se the dB Conversion block from the Signal Processing Blockset and set it to "
"\"Power\" mode.</p>\n<p>To convert the output of this block to a percentage v"
"alue, simply multiply its output by 100.</p>"
      MaskPromptString	      "Signal constellation:"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "sigconst=@1;"
      MaskInitialization      "C = sigconst(:).';\nC_R = real(C);\nC_I = imag("
"C);\nPmax = max(abs(C));\n"
      MaskDisplay	      "disp('EVM');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "[1+j -1+j -1-j 1-j]"
      System {
	Name			"EVM\nFast EML"
	Location		[286, 471, 1138, 704]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"137"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [40, 58, 70, 72]
	  NamePlacement		  "alternate"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Compute\nEVM"
	  Ports			  [2, 1]
	  Position		  [165, 52, 235, 108]
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskHideContents	  off
	  MaskType		  "Stateflow"
	  MaskDescription	  "Embedded MATLAB block"
	  MaskDisplay		  "disp('fcn');"
	  MaskSelfModifiable	  on
	  MaskIconFrame		  on
	  MaskIconOpaque	  off
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  Port {
	    PortNumber		    1
	    Name		    "EVM"
	    PropagatedSignals	    "EVM"
	    RTWStorageClass	    "Auto"
	    DataLoggingNameMode	    "SignalName"
	  }
	  System {
	    Name		    "Compute\nEVM"
	    Location		    [257, 457, 812, 717]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    TiledPaperMargins	    [0.500000, 0.500000, 0.500000, 0.500000]
	    TiledPageScale	    1
	    ShowPageBoundaries	    off
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "noisyIn"
	      Position		      [20, 101, 40, 119]
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "ConstPts"
	      Position		      [20, 136, 40, 154]
	      Port		      "2"
	      IconDisplay	      "Port number"
	    }
	    Block {
	      BlockType		      Demux
	      Name		      " Demux "
	      Ports		      [1, 1]
	      Position		      [270, 180, 320, 220]
	      Outputs		      "1"
	    }
	    Block {
	      BlockType		      "S-Function"
	      Name		      " SFunction "
	      Tag		      "Stateflow S-Function EVM_Library 2"
	      Ports		      [2, 2]
	      Position		      [180, 100, 230, 180]
	      FunctionName	      "sf_sfun"
	      PortCounts	      "[2 2]"
	      Port {
		PortNumber		2
		Name			"EVM"
		RTWStorageClass		"Auto"
		DataLoggingNameMode	"SignalName"
	      }
	    }
	    Block {
	      BlockType		      Terminator
	      Name		      " Terminator "
	      Position		      [460, 191, 480, 209]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "EVM"
	      Position		      [460, 101, 480, 119]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "ConstPts"
	      SrcPort		      1
	      DstBlock		      " SFunction "
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      " SFunction "

⌨️ 快捷键说明

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