soic_16qam_turbo.mdl

来自「MIMO2by2_16QAM_SoIC+Turbo迭代检测simulink链路」· MDL 代码 · 共 2,354 行 · 第 1/5 页

MDL
2,354
字号
	  DstBlock		  "Matrix\nConcatenation"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Reshape4"
	  SrcPort		  1
	  Points		  [65, 0; 0, 35]
	  DstBlock		  "Matrix\nConcatenation"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From5"
	  SrcPort		  1
	  DstBlock		  "Reshape9"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From4"
	  SrcPort		  1
	  DstBlock		  "Reshape8"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From1"
	  SrcPort		  1
	  DstBlock		  "Reshape5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From"
	  SrcPort		  1
	  DstBlock		  "Reshape4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Matrix\nConcatenation4"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Esti_Ch"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Delay"
      Ports		      [1, 1]
      Position		      [260, 315, 315, 365]
      SourceBlock	      "dspsigops/Delay"
      SourceType	      "Delay"
      dly_unit		      "Samples"
      delay		      "R_L*C_L/2"
      ic_detail		      off
      dif_ic_for_ch	      off
      dif_ic_for_dly	      off
      ic		      "0"
      reset_popup	      "None"
    }
    Block {
      BlockType		      Display
      Name		      "Display"
      Ports		      [1]
      Position		      [505, 299, 635, 451]
      ShowName		      off
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Display
      Name		      "Display1"
      Ports		      [1]
      Position		      [560, 513, 690, 547]
      ShowName		      off
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate Calculation1"
      Ports		      [2, 1]
      Position		      [380, 491, 455, 564]
      ShowName		      off
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "0"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec1"
      RsMode2		      off
      stop		      on
      numErr		      "1e7"
      maxBits		      "1e7"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Fading MIMO Channel"
      Ports		      [2, 2]
      Position		      [758, 400, 962, 490]
      Orientation	      "down"
      NamePlacement	      "alternate"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"Fading MIMO Channel"
	Location		[2, 78, 1278, 973]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "Tx1"
	  Position		  [55, 183, 85, 197]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Inport
	  Name			  "Tx2"
	  Position		  [55, 518, 85, 532]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel2"
	  Ports			  [1, 1]
	  Position		  [1005, 519, 1085, 561]
	  SourceBlock		  "commchan3/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  seed			  "71"
	  noiseMode		  "Signal to noise ratio  (SNR)"
	  EbNodB		  "10"
	  EsNodB		  "10"
	  SNRdB			  "snr"
	  bitsPerSym		  "1"
	  Ps			  "1"
	  Tsym			  "1"
	  variance		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "AWGN\nChannel3"
	  Ports			  [1, 1]
	  Position		  [1005, 284, 1085, 326]
	  SourceBlock		  "commchan3/AWGN\nChannel"
	  SourceType		  "AWGN Channel"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  seed			  "67"
	  noiseMode		  "Signal to noise ratio  (SNR)"
	  EbNodB		  "10"
	  EsNodB		  "10"
	  SNRdB			  "snr"
	  bitsPerSym		  "1"
	  Ps			  "1"
	  Tsym			  "1"
	  variance		  "1"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto"
	  Position		  [615, 130, 655, 160]
	  GotoTag		  "ch11"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto1"
	  Position		  [620, 290, 660, 320]
	  GotoTag		  "ch21"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto2"
	  Position		  [620, 490, 660, 520]
	  GotoTag		  "ch12"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto3"
	  Position		  [610, 655, 650, 685]
	  GotoTag		  "ch22"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel"
	  Ports			  [1, 2]
	  Position		  [395, 66, 490, 124]
	  SourceBlock		  "commchan3/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  maxDopplerShift	  "1"
	  pathDelays		  "0"
	  avgPathGaindB		  "0"
	  normalizePathGains	  on
	  seed			  "73"
	  enableProbe		  "0"
	  openVisAtStart	  off
	  outPathGains		  on
	  outDelay		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel1"
	  Ports			  [1, 2]
	  Position		  [395, 216, 490, 274]
	  SourceBlock		  "commchan3/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  maxDopplerShift	  "1"
	  pathDelays		  "0"
	  avgPathGaindB		  "0"
	  normalizePathGains	  on
	  seed			  "13"
	  enableProbe		  "0"
	  openVisAtStart	  off
	  outPathGains		  on
	  outDelay		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel2"
	  Ports			  [1, 2]
	  Position		  [400, 431, 495, 489]
	  SourceBlock		  "commchan3/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  maxDopplerShift	  "1"
	  pathDelays		  "0"
	  avgPathGaindB		  "0"
	  normalizePathGains	  on
	  seed			  "17"
	  enableProbe		  "0"
	  openVisAtStart	  off
	  outPathGains		  on
	  outDelay		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multipath Rayleigh\nFading Channel3"
	  Ports			  [1, 2]
	  Position		  [400, 576, 495, 634]
	  SourceBlock		  "commchan3/Multipath Rayleigh\nFading Channe"
"l"
	  SourceType		  "Multipath Rayleigh Fading Channel"
	  ShowPortLabels	  on
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData off
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  maxDopplerShift	  "1"
	  pathDelays		  "0"
	  avgPathGaindB		  "0"
	  normalizePathGains	  on
	  seed			  "19"
	  enableProbe		  "0"
	  openVisAtStart	  off
	  outPathGains		  on
	  outDelay		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [2, 1]
	  Position		  [870, 285, 900, 320]
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum1"
	  Ports			  [2, 1]
	  Position		  [870, 520, 900, 555]
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Rx1"
	  Position		  [1150, 298, 1180, 312]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Rx2"
	  Position		  [1150, 533, 1180, 547]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "AWGN\nChannel3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum1"
	  SrcPort		  1
	  DstBlock		  "AWGN\nChannel2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "AWGN\nChannel3"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Rx1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "AWGN\nChannel2"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Rx2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel"
	  SrcPort		  2
	  Points		  [55, 0; 0, 35]
	  DstBlock		  "Goto"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Tx1"
	  SrcPort		  1
	  Points		  [110, 0]
	  Branch {
	    Points		    [0, -95]
	    DstBlock		    "Multipath Rayleigh\nFading Channel"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 55]
	    DstBlock		    "Multipath Rayleigh\nFading Channel1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Tx2"
	  SrcPort		  1
	  Points		  [105, 0]
	  Branch {
	    Points		    [0, -65]
	    DstBlock		    "Multipath Rayleigh\nFading Channel2"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 80]
	    DstBlock		    "Multipath Rayleigh\nFading Channel3"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel"
	  SrcPort		  1
	  Points		  [270, 0; 0, 215]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel1"
	  SrcPort		  1
	  Points		  [250, 0; 0, 300]
	  DstBlock		  "Sum1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel2"
	  SrcPort		  1
	  Points		  [265, 0; 0, -135]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel3"
	  SrcPort		  1
	  Points		  [245, 0; 0, -45]
	  DstBlock		  "Sum1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel1"
	  SrcPort		  2
	  Points		  [55, 0; 0, 45]
	  DstBlock		  "Goto1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel2"
	  SrcPort		  2
	  Points		  [50, 0; 0, 30]
	  DstBlock		  "Goto2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multipath Rayleigh\nFading Channel3"
	  SrcPort		  2
	  Points		  [45, 0; 0, 50]
	  DstBlock		  "Goto3"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Multiple Error Rate Calculation1"
      Ports		      [2, 1, 1]

⌨️ 快捷键说明

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