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

📄 dvbt_sim0.mdl

📁 ofdm-dvb-t系统的仿真
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      "M-S-Function"
      MFile		      "mlfile"
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    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		      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		      Rounding
      Operator		      "floor"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Selector
      InputType		      "Vector"
      IndexMode		      "One-based"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "-1"
      IndexIsStartValue	      off
      OutputPortSize	      "1"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    Block {
      BlockType		      Step
      Time		      "1"
      Before		      "0"
      After		      "1"
      SampleTime	      "-1"
      VectorParams1D	      on
      ZeroCross		      on
    }
    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"
    }
  }
  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		    "dvbt_sim0000000000000000000000000"
    Location		    [33, 104, 1004, 652]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    212
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "(204,188) Shortened\nRS Decoder"
      Ports		      [1, 1]
      Position		      [195, 430, 275, 470]
      Orientation	      "left"
      SourceBlock	      "commblkcod2/Integer-Output\nRS Decoder"
      SourceType	      "Integer-Output RS Decoder"
      n			      "204"
      k			      "188"
      specPrimPoly	      off
      primPoly		      "[1 0 1 1]"
      specGenPoly	      off
      genPoly		      "rsgenpoly(7,3)"
      showNumErr	      off
    }
    Block {
      BlockType		      Reference
      Name		      "(204,188) Shortened\nRS Encoder"
      Ports		      [1, 1]
      Position		      [195, 118, 275, 162]
      SourceBlock	      "commblkcod2/Integer-Input\nRS Encoder"
      SourceType	      "Integer-Input RS Encoder"
      n			      "204"
      k			      "188"
      specPrimPoly	      off
      primPoly		      "[1 0 1 1]"
      specGenPoly	      off
      genPoly		      "rsgenpoly(7,3)"
    }
    Block {
      BlockType		      Reference
      Name		      "AWGN\nChannel"
      Ports		      [1, 1]
      Position		      [880, 255, 960, 295]
      Orientation	      "down"
      NamePlacement	      "alternate"
      ShowName		      off
      SourceBlock	      "commchan2/AWGN\nChannel"
      SourceType	      "AWGN Channel"
      ShowPortLabels	      on
      seed		      "54321"
      noiseMode		      "Signal to noise ratio  (SNR)"
      EbNodB		      "10"
      EsNodB		      "EbNodB+10*log10(log2(M))"
      SNRdB		      "18.5"
      bitsPerSym	      "1"
      Ps		      "1/2048"
      Tsym		      "Tsym"
      variance		      "10^(-0.1*15)/(2048*2)"
    }
    Block {
      BlockType		      SubSystem
      Name		      "DVB-T Inner Deinterleaver"
      Ports		      [1, 1]
      Position		      [580, 424, 655, 476]
      Orientation	      "left"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "DVB-T Inner Deinterleaver"
      MaskInitialization      "fullILVec = [(1:126) ...\n (rem([0:125]+63,126)"
" +1 + 126     ) ...\n (rem([0:125]+105,126)+1 + (2*126) ) ...\n (rem([0:125]+"
"42,126) +1 + (3*126) ) ...\n (rem([0:125]+21,126) +1 + (4*126) ) ...\n (rem(["
"0:125]+84,126) +1 + (5*126) )];"
      MaskDisplay	      "disp('DVB-T\\nInner\\nDeinterleaver')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"DVB-T Inner Deinterleaver"
	Location		[174, 343, 846, 548]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [20, 78, 50, 92]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bit\nDeinterleaver"
	  Ports			  [1, 1]
	  Position		  [365, 58, 445, 112]
	  SourceBlock		  "commblkintrlv2/General Block\nDeinterleaver"
	  SourceType		  "General Block Deinterleaver"
	  elements		  "dvb_bit_int_table"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer"
	  Ports			  [1, 1]
	  Position		  [255, 60, 305, 110]
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "756"
	  V			  "0"
	  ic			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer3"
	  Ports			  [1, 1]
	  Position		  [510, 60, 560, 110]
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "2176"
	  V			  "0"
	  ic			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Symbol\nDeinterleaver"
	  Ports			  [1, 1]
	  Position		  [120, 58, 200, 112]
	  SourceBlock		  "commblkintrlv2/General Block\nDeinterleaver"
	  SourceType		  "General Block Deinterleaver"
	  elements		  "dvb_sym_int_table"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [620, 78, 650, 92]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Buffer"
	  SrcPort		  1
	  DstBlock		  "Bit\nDeinterleaver"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Symbol\nDeinterleaver"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bit\nDeinterleaver"
	  SrcPort		  1
	  DstBlock		  "Buffer3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Buffer3"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Symbol\nDeinterleaver"
	  SrcPort		  1
	  DstBlock		  "Buffer"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "DVB-T Inner Interleaver"
      Ports		      [1, 1]
      Position		      [580, 114, 655, 166]
      ShowName		      off
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskType		      "DVB-T Inner Interleaver"
      MaskInitialization      "fullILVec = [(1:126) ...\n (rem([0:125]+63,126)"
" +1 + 126     ) ...\n (rem([0:125]+105,126)+1 + (2*126) ) ...\n (rem([0:125]+"
"42,126) +1 + (3*126) ) ...\n (rem([0:125]+21,126) +1 + (4*126) ) ...\n (rem(["
"0:125]+84,126) +1 + (5*126) )];"
      MaskDisplay	      "disp('DVB-T\\nInner\\nInterleaver')"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"DVB-T Inner Interleaver"
	Location		[154, 311, 800, 435]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [15, 48, 45, 62]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Bit\nInterleaver"
	  Ports			  [1, 1]
	  Position		  [205, 28, 285, 82]
	  SourceBlock		  "commblkintrlv2/General Block\nInterleaver"
	  SourceType		  "General Block Interleaver"
	  elements		  "dvb_bit_int_table"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer"
	  Ports			  [1, 1]
	  Position		  [345, 30, 395, 80]
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "9072"
	  V			  "0"
	  ic			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer1"
	  Ports			  [1, 1]
	  Position		  [105, 30, 155, 80]
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "756"
	  V			  "0"
	  ic			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Symbol\nInterleaver"
	  Ports			  [1, 1]
	  Position		  [460, 28, 540, 82]
	  SourceBlock		  "commblkintrlv2/General Block\nInterleaver"
	  SourceType		  "General Block Interleaver"
	  elements		  "dvb_sym_int_table"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [600, 48, 630, 62]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Buffer1"
	  SrcPort		  1
	  DstBlock		  "Bit\nInterleaver"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Buffer1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bit\nInterleaver"
	  SrcPort		  1
	  DstBlock		  "Buffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Symbol\nInterleaver"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Buffer"
	  SrcPort		  1
	  DstBlock		  "Symbol\nInterleaver"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Delayed\nScatter Plot"
      Ports		      [1]
      Position		      [695, 351, 770, 399]
      Orientation	      "left"
      ShowName		      off
      FontName		      "MS Sans Serif"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskDisplay	      "disp('Delayed\\nScatter Plot');"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Delayed\nScatter Plot"
	Location		[602, 362, 854, 528]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [35, 88, 65, 102]
	  FontName		  "MS Sans Serif"
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Enabled\nScatter Plot"
	  Ports			  [1, 0, 1]
	  Position		  [130, 65, 200, 125]
	  FontName		  "MS Sans Serif"
	  TreatAsAtomicUnit	  on
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Enabled\nScatter Plot"
	    Location		    [693, 112, 970, 581]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"

⌨️ 快捷键说明

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