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

📄 turbo_code.mdl

📁 turbo码simulink仿真程序及模块
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Selector"
	  SrcPort		  1
	  DstBlock		  "Buffer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "Error Rate Calculation1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Buffer"
	  SrcPort		  1
	  DstBlock		  "Frame Status Conversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Frame Status Conversion"
	  SrcPort		  1
	  DstBlock		  "Mean"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold"
	  SrcPort		  1
	  DstBlock		  "Error Rate Calculation1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Error Rate Calculation1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Mean"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 125]
	    DstBlock		    "To Workspace"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Signal From\nWorkspace"
	  SrcPort		  1
	  Points		  [40, 0; 0, -60]
	  DstBlock		  "Mean"
	  DstPort		  2
	}
      }
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [850, 305, 910, 335]
      VariableName	      "simout1"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Structure"
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace1"
      Position		      [640, 350, 700, 380]
      VariableName	      "simout3"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Array"
    }
    Block {
      BlockType		      SubSystem
      Name		      "receiver_front_end"
      Ports		      [1, 2]
      Position		      [460, 455, 500, 515]
      Orientation	      "left"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"receiver_front_end"
	Location		[2, 74, 1014, 722]
	Open			on
	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			  "In1"
	  Position		  [15, 48, 45, 62]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [80, 40, 100, 70]
	  Gain			  "2/Variance"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  ParameterDataType	  "sfix(16)"
	  ParameterScaling	  "2^0"
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  SaturateOnIntegerOverflow off
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Interlacer1"
	  Ports			  [2, 1]
	  Position		  [260, 218, 340, 267]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  SourceBlock		  "commsequence2/Interlacer"
	  SourceType		  "Interlacer"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Interlacer2"
	  Ports			  [2, 1]
	  Position		  [100, 383, 180, 432]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  SourceBlock		  "commsequence2/Interlacer"
	  SourceType		  "Interlacer"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Matrix\nDeinterleaver"
	  Ports			  [1, 1]
	  Position		  [230, 24, 285, 86]
	  SourceBlock		  "commblkintrlv2/Matrix\nDeinterleaver"
	  SourceType		  "Matrix Deinterleaver"
	  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"
	  Nrows			  "3"
	  Ncols			  "Len"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Multiport\nSelector2"
	  Ports			  [1, 3]
	  Position		  [335, 21, 370, 89]
	  ShowName		  off
	  SourceBlock		  "dspindex/Multiport\nSelector"
	  SourceType		  "Multiport Selector"
	  rowsOrCols		  "Rows"
	  idxCellArray		  "{1:Len, Len+1:2*Len, 2*Len+1:3*Len} %{1:3:3*Len, 2:3:3*Len, 3:3:3*Len}"
	  idxErrMode		  "Clip Index"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Random\nInterleaver1"
	  Ports			  [1, 1]
	  Position		  [260, 318, 340, 372]
	  Orientation		  "left"
	  SourceBlock		  "commblkintrlv2/Random\nInterleaver"
	  SourceType		  "Random Interleaver"
	  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"
	  N			  "Len"
	  seed			  "Seed"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [265, 140, 325, 170]
	  VariableName		  "simout4"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Block {
	  BlockType		  ZeroOrderHold
	  Name			  "Zero-Order\nHold"
	  Position		  [150, 34, 175, 76]
	  ShowName		  off
	  SampleTime		  "Iter"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [205, 238, 235, 252]
	  Orientation		  "left"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [45, 403, 75, 417]
	  Orientation		  "left"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "Multiport\nSelector2"
	  SrcPort		  1
	  Points		  [70, 0; 0, 195]
	  Branch {
	    DstBlock		    "Interlacer1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [10, 0; 0, 115]
	    DstBlock		    "Random\nInterleaver1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Multiport\nSelector2"
	  SrcPort		  2
	  Points		  [50, 0; 0, 200]
	  DstBlock		  "Interlacer1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Random\nInterleaver1"
	  SrcPort		  1
	  Points		  [0, 5; -45, 0; 0, 45]
	  DstBlock		  "Interlacer2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Multiport\nSelector2"
	  SrcPort		  3
	  Points		  [20, 0; 0, 345]
	  DstBlock		  "Interlacer2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Zero-Order\nHold"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Zero-Order\nHold"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Matrix\nDeinterleaver"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 100]
	    DstBlock		    "To Workspace"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Interlacer1"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Interlacer2"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Out2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Matrix\nDeinterleaver"
	  SrcPort		  1
	  DstBlock		  "Multiport\nSelector2"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "turbo_decoder"
      Ports		      [2, 1]
      Position		      [335, 455, 375, 515]
      Orientation	      "left"
      ForegroundColor	      "white"
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      System {
	Name			"turbo_decoder"
	Location		[2, 74, 1014, 722]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"[0.800000, 0.909804, 0.811765]"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"200"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [405, 70, 435, 85]
	  Orientation		  "down"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [270, 233, 300, 247]
	  Orientation		  "left"
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "APP Decoder"
	  Ports			  [2, 2]
	  Position		  [353, 110, 442, 185]
	  Orientation		  "down"
	  SourceBlock		  "commcnvcod2/APP Decoder"
	  SourceType		  "APP Decoder"
	  trellis		  "trellis"
	  termMethod		  "Truncated"
	  algorithm		  "Max*"
	  maxStarNumScaleBits	  "3"
	}
	Block {
	  BlockType		  Reference
	  Name			  "APP Decoder1"
	  Ports			  [2, 2]
	  Position		  [170, 179, 245, 261]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  SourceBlock		  "commcnvcod2/APP Decoder"
	  SourceType		  "APP Decoder"
	  trellis		  "trellis"
	  termMethod		  "Truncated"
	  algorithm		  "Max*"
	  maxStarNumScaleBits	  "3"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Delay"
	  Ports			  [1, 1]
	  Position		  [175, 68, 220, 102]
	  ShowName		  off
	  SourceBlock		  "dspsigops/Delay"
	  SourceType		  "Delay"
	  dly_unit		  "Samples"
	  delay			  "Len"
	  ic_detail		  off
	  dif_ic_for_ch		  off
	  dif_ic_for_dly	  off
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  DiscretePulseGenerator
	  Name			  "Discrete Pulse\nGenerator"
	  Ports			  [0, 1]
	  Position		  [215, 110, 235, 130]
	  ShowName		  off
	  Period		  "Iter"
	  PulseWidth		  "Iter-1"
	  PhaseDelay		  "1"
	}
	Block {
	  BlockType		  Product
	  Name			  "Frame Reset"
	  Ports			  [2, 1]
	  Position		  [275, 76, 320, 109]
	  ShowName		  off
	  CollapseMode		  "All dimensions"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Hard Decision1"
	  Ports			  [1, 1]
	  Position		  [80, 31, 120, 69]
	  Orientation		  "left"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  FunctionWithSeparateData off
	  MaskType		  "Hard Decision"
	  MaskDescription	  "Likelihood to binary transformation.\n"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Hard Decision1"
	    Location		    [162, 314, 662, 655]
	    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		      "Lin"
	      Position		      [170, 130, 200, 140]
	      NamePlacement	      "alternate"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      Constant
	      Name		      "Constant"
	      Position		      [105, 135, 145, 165]
	      ShowName		      off
	      Value		      "0"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Block {
	      BlockType		      RelationalOperator
	      Name		      "Relational\nOperator"
	      Position		      [245, 125, 280, 160]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "0/1"
	      Position		      [350, 140, 380, 150]
	      NamePlacement	      "alternate"
	      IconDisplay	      "Port number"
	      OutDataType	      "sfix(16)"
	      OutScaling	      "2^0"
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Lin"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      DstBlock		      "0/1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "Random\nDeinterleaver"
	  Ports			  [1, 1]

⌨️ 快捷键说明

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