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

📄 source_d.mdl

📁 ofdm 解调simulink模块
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  Points		  [185, 0; 0, 215; -360, 0]
	  Branch {
	    DstBlock		    "Integer Delay1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -65]
	    DstBlock		    "Scope2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Integer Delay1"
	  SrcPort		  1
	  Points		  [-290, 0; 0, -85]
	  DstBlock		  "coar_sym_sync\ncoar_fra_freq_sync1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  Points		  [230, 0; 0, 305; -410, 0]
	  Branch {
	    DstBlock		    "Integer Delay"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 100]
	    DstBlock		    "Scope3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Integer Delay"
	  SrcPort		  1
	  Points		  [-320, 0; 0, -210]
	  DstBlock		  "coar_sym_sync\ncoar_fra_freq_sync1"
	  DstPort		  2
	}
	Annotation {
	  Position		  [132, 318]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "sourse2"
      Ports		      [0, 1]
      Position		      [125, 94, 180, 166]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"sourse2"
	Location		[2, 86, 789, 579]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	212
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "Mapper"
	  Ports			  [1, 1]
	  Position		  [185, 82, 250, 128]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskType		  "DVB-T 64-QAM Mapper"
	  MaskDisplay		  "disp('DVB-T\\n64-QAM\\nMapper')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Mapper"
	    Location		    [272, 335, 727, 468]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [30, 48, 60, 62]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Bit to Integer\nConverter"
	      Ports		      [1, 1]
	      Position		      [120, 33, 200, 77]
	      SourceBlock	      "commutil2/Bit to Integer\nConverter"
	      SourceType	      "Bit to Integer Converter"
	      nbits		      "6"
	      outDtype		      "Same as input"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "General QAM\nModulator\nBaseband"
	      Ports		      [1, 1]
	      Position		      [265, 29, 340, 81]
	      SourceBlock	      "commdigbbndam2/General QAM\nModulator\n"
"Baseband"
	      SourceType	      "General QAM Modulator Baseband"
	      SigCon		      "dvbt_qam"
	      numSamp		      "1"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [400, 48, 430, 62]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "General QAM\nModulator\nBaseband"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Bit to Integer\nConverter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Bit to Integer\nConverter"
	      SrcPort		      1
	      DstBlock		      "General QAM\nModulator\nBaseband"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "OFDM Transmitter"
	  Ports			  [1, 1]
	  Position		  [350, 81, 420, 129]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskDisplay		  "disp('OFDM\\nTransmitter')"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "OFDM Transmitter"
	    Location		    [2, 82, 790, 563]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [30, 63, 60, 77]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "IFFT"
	      Ports		      [1, 1]
	      Position		      [205, 54, 245, 86]
	      DialogController	      "dspDDGCreate"
	      DialogControllerArgs    "DataTag6"
	      SourceBlock	      "dspxfrm3/IFFT"
	      SourceType	      "IFFT"
	      CompMethod	      "Table lookup"
	      TableOpt		      "Speed"
	      BitRevOrder	      "off"
	      cs_in		      "off"
	      SkipNorm		      "off"
	      mode		      "Complex"
	      additionalParams	      "off"
	      allowOverrides	      "on"
	      firstCoeffMode	      "Same word length as input"
	      firstCoeffWordLength    "16"
	      firstCoeffFracLength    "15"
	      outputMode	      "Inherit via internal rule"
	      outputWordLength	      "16"
	      outputFracLength	      "15"
	      accumMode		      "Inherit via internal rule"
	      accumWordLength	      "32"
	      accumFracLength	      "30"
	      prodOutputMode	      "Inherit via internal rule"
	      prodOutputWordLength    "32"
	      prodOutputFracLength    "30"
	      roundingMode	      "Floor"
	      overflowMode	      "off"
	      LockScale		      "off"
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "Zero pad for OFDM"
	      Ports		      [1, 1]
	      Position		      [100, 46, 155, 94]
	      TreatAsAtomicUnit	      off
	      MinAlgLoopOccurrences   off
	      RTWSystemCode	      "Auto"
	      MaskDisplay	      "disp('Zero pad\\nfor OFDM');"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      System {
		Name			"Zero pad for OFDM"
		Location		[190, 267, 520, 476]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"A4"
		PaperUnits		"centimeters"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "In1"
		  Position		  [30, 43, 60, 57]
		  Port			  "1"
		  IconDisplay		  "Port number"
		  LatchInput		  off
		}
		Block {
		  BlockType		  Selector
		  Name			  "Selector"
		  Ports			  [1, 1]
		  Position		  [175, 28, 225, 72]
		  Elements		  "[1:852 1706:2048  853:1705]"
		  InputPortWidth	  "2048"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Zero Pad"
		  Ports			  [1, 1]
		  Position		  [100, 32, 145, 68]
		  SourceBlock		  "dspsigops/Zero Pad"
		  SourceType		  "Zero Pad"
		  padSigAt		  "End"
		  zpadAlong		  "Columns"
		  padNumOutRowsSpecMethod "User-specified"
		  numOutRows		  "2048"
		  padNumOutColsSpecMethod "User-specified"
		  numOutCols		  "1"
		  trunc_flag		  "None"
		}
		Block {
		  BlockType		  Outport
		  Name			  "Out1"
		  Position		  [250, 43, 280, 57]
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		}
		Line {
		  SrcBlock		  "In1"
		  SrcPort		  1
		  DstBlock		  "Zero Pad"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Selector"
		  SrcPort		  1
		  DstBlock		  "Out1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Zero Pad"
		  SrcPort		  1
		  DstBlock		  "Selector"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [305, 63, 335, 77]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "IFFT"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "Zero pad for OFDM"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Zero pad for OFDM"
	      SrcPort		      1
	      DstBlock		      "IFFT"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Probe
	  Name			  "Probe1"
	  Ports			  [1, 1]
	  Position		  [470, 18, 550, 42]
	  ProbeWidth		  off
	  ProbeComplexSignal	  off
	}
	Block {
	  BlockType		  Probe
	  Name			  "Probe2"
	  Ports			  [1, 1]
	  Position		  [225, 18, 305, 42]
	  ProbeWidth		  off
	  ProbeComplexSignal	  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Random-Integer\nGenerator"
	  Ports			  [0, 1]
	  Position		  [80, 82, 135, 128]
	  ShowName		  off
	  SourceBlock		  "commrandsrc2/Random Integer\nGenerator"
	  SourceType		  "Random Integer Generator"
	  ShowPortLabels	  "on"
	  mul			  "2"
	  seed			  "1"
	  Ts			  "8064/9072"
	  frameBased		  "on"
	  sampPerFrame		  "9072"
	  orient		  "off"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Selector1"
	  Ports			  [1, 1]
	  Position		  [470, 83, 520, 127]
	  Elements		  "[1537:2048 1:2048]"
	  InputPortWidth	  "2048"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Unbuffer1"
	  Ports			  [1, 1]
	  Position		  [605, 205, 635, 245]
	  NamePlacement		  "alternate"
	  SourceBlock		  "dspbuff3/Unbuffer"
	  SourceType		  "Unbuffer"
	  ic			  "0"
	}
	Block {
	  BlockType		  "S-Function"
	  Name			  "poilt insertion1"
	  Ports			  [1, 1]
	  Position		  [275, 84, 315, 126]
	  NamePlacement		  "alternate"
	  FunctionName		  "poilt060321"
	  Parameters		  "mod,inum,onum,fftlength"
	  MaskType		  "Insertion of Poilt Carriers Mask"
	  MaskDescription	  "this model implementing insertion to the in"
"put frames.Select parameter 'mod' which has two values:1 or 2 to detemine the"
" mode of the input signals.'mod=1' means input signals work on 2k mode;'mod=2"
"' means input signals work on 8k mode."
	  MaskPromptString	  "mode of  input signal transmission|the fram"
"e size of input signal|the frame size of output signal|FFT length"
	  MaskStyleString	  "popup(1|2),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		  "mod=@1;inum=@2;onum=@3;fftlength=@4;"
	  MaskDisplay		  "port_label('input',1,'in')\nport_label('out"
"put',1,'out')\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "1|1512|1705|2048"
	  MaskTabNameString	  ",,,"
	}
	Block {
	  BlockType		  Outport
	  Name			  "output"
	  Position		  [670, 218, 700, 232]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Random-Integer\nGenerator"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Mapper"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -75]
	    DstBlock		    "Probe2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Mapper"
	  SrcPort		  1
	  DstBlock		  "poilt insertion1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "OFDM Transmitter"
	  SrcPort		  1
	  Points		  [0, 0; 15, 0]
	  Branch {
	    Points		    [0, -75]
	    DstBlock		    "Probe1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Selector1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "poilt insertion1"
	  SrcPort		  1
	  DstBlock		  "OFDM Transmitter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unbuffer1"
	  SrcPort		  1
	  DstBlock		  "output"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector1"
	  SrcPort		  1
	  Points		  [30, 0; 0, 120]
	  DstBlock		  "Unbuffer1"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Subsystem1"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	Points			[0, 140]
	DstBlock		"Spectrum\nScope"
	DstPort			1
      }

⌨️ 快捷键说明

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