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

📄 deconv.mdl

📁 1
💻 MDL
📖 第 1 页 / 共 2 页
字号:
  }
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    Block {
      BlockType		      Constant
      Value		      "1"
      VectorParams1D	      on
      OutDataTypeMode	      "Inherit from 'Constant value'"
      OutDataType	      "sfix(16)"
      ConRadixGroup	      "Use specified scaling"
      OutScaling	      "2^0"
      SampleTime	      "inf"
    }
    Block {
      BlockType		      FrameConversion
      OutFrame		      "Frame based"
    }
    Block {
      BlockType		      FromWorkspace
      VariableName	      "simulink_input"
      SampleTime	      "-1"
      Interpolate	      on
      OutputAfterFinalValue   "Extrapolation"
    }
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Inport
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    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		      "S-Function"
      FunctionName	      "system"
      SFunctionModules	      "''"
      PortCounts	      "[]"
    }
    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"
    }
    Block {
      BlockType		      ToWorkspace
      VariableName	      "simulink_output"
      MaxDataPoints	      "1000"
      Decimation	      "1"
      SampleTime	      "0"
      FixptAsFi		      off
    }
  }
  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		    "deconv"
    Location		    [121, 132, 717, 599]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      SubSystem
      Name		      "Data"
      Ports		      [0, 1]
      Position		      [280, 33, 335, 77]
      BackgroundColor	      "[1.000000, 0.501961, 0.000000]"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Data"
	Location		[-8, 50, 784, 596]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Integer to Bit\nConverter1"
	  Ports			  [1, 1]
	  Position		  [145, 13, 225, 57]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "commutil2/Integer to Bit\nConverter"
	  SourceType		  "Integer to Bit Converter"
	  nbits			  "num_of_bits_per_interger"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Signal From\nWorkspace"
	  Ports			  [0, 1]
	  Position		  [15, 18, 70, 52]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "dspsrcs4/Signal From\nWorkspace"
	  SourceType		  "Signal From Workspace"
	  ShowPortLabels	  on
	  X			  "deint_input"
	  Ts			  "sample_time_deconv"
	  nsamps		  "1/sample_time_deconv"
	  OutputAfterFinalValue	  "Setting to zero"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [285, 28, 315, 42]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Signal From\nWorkspace"
	  SrcPort		  1
	  DstBlock		  "Integer to Bit\nConverter1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Integer to Bit\nConverter1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Deinterleaver"
      Ports		      [1, 1]
      Position		      [270, 128, 325, 172]
      Orientation	      "left"
      BackgroundColor	      "[1.000000, 0.501961, 0.000000]"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Deinterleaver"
	Location		[199, 267, 698, 620]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [15, 33, 45, 47]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "General Block\nDeinterleaver"
	  Ports			  [1, 1]
	  Position		  [95, 13, 175, 67]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "commblkintrlv2/General Block\nDeinterleaver"
	  SourceType		  "General Block Deinterleaver"
	  elements		  "int_idx'"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [255, 80, 315, 110]
	  VariableName		  "deint"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [225, 33, 255, 47]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "General Block\nDeinterleaver"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Out1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 55]
	    DstBlock		    "To Workspace"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "General Block\nDeinterleaver"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Viterbi\nDecoder"
      Ports		      [1]
      Position		      [190, 128, 245, 172]
      Orientation	      "left"
      BackgroundColor	      "[1.000000, 0.501961, 0.000000]"
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Viterbi\nDecoder"
	Location		[17, 293, 805, 786]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [15, 38, 45, 52]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Insert Zero"
	  Ports			  [1, 1]
	  Position		  [225, 23, 305, 67]
	  BackgroundColor	  "[1.000000, 0.501961, 0.250980]"
	  SourceBlock		  "commsequence2/Insert Zero"
	  SourceType		  "Insert Zero"
	  insertZeroVector	  "puncture"
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [620, 30, 680, 60]
	  VariableName		  "deconv"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Unipolar to\nBipolar\nConverter"
	  Ports			  [1, 1]
	  Position		  [100, 23, 180, 67]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "commutil2/Unipolar to\nBipolar\nConverter"
	  SourceType		  "Unipolar to Bipolar Converter"
	  ShowPortLabels	  on
	  M			  "2"
	  polarity		  "Negative"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Viterbi Decoder"
	  Ports			  [1, 1]
	  Position		  [355, 15, 475, 75]
	  BackgroundColor	  "[1.000000, 0.501961, 0.000000]"
	  SourceBlock		  "commcnvcod2/Viterbi Decoder"
	  SourceType		  "Viterbi Decoder"
	  trellis		  "poly2trellis(7, [171 133])"
	  dectype		  "Unquantized"
	  nsdecb		  "8"
	  tbdepth		  "8"
	  opmode		  "Continuous"
	  reset			  off
	}
	Line {
	  SrcBlock		  "Viterbi Decoder"
	  SrcPort		  1
	  DstBlock		  "To Workspace"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Unipolar to\nBipolar\nConverter"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Unipolar to\nBipolar\nConverter"
	  SrcPort		  1
	  DstBlock		  "Insert Zero"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Insert Zero"
	  SrcPort		  1
	  DstBlock		  "Viterbi Decoder"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "Deinterleaver"
      SrcPort		      1
      DstBlock		      "Viterbi\nDecoder"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Data"
      SrcPort		      1
      Points		      [80, 0; 0, 95]
      DstBlock		      "Deinterleaver"
      DstPort		      1
    }
  }
}

⌨️ 快捷键说明

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