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

📄 a_law_base.mdl

📁 对simulink仿真系统非常有用
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  Name			  "Out1"
	  Position		  [250, 48, 280, 62]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "S-Function"
	  SrcPort		  1
	  DstBlock		  "Bing_Chuan"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "S-Function"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bing_Chuan"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Decode"
      Ports		      [1, 1]
      Position		      [865, 140, 905, 200]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Decode"
	Location		[412, 222, 757, 346]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 63, 55, 77]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Chuan_Bing"
	  Ports			  [1, 1]
	  Position		  [175, 40, 215, 100]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "Chuan_Bing"
	    Location		    [2, 74, 790, 555]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 163, 55, 177]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [4, 1]
	      Position		      [580, 60, 585, 315]
	      ShowName		      off
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Sample\nand Hold"
	      Ports		      [1, 1, 0, 1]
	      Position		      [235, 84, 285, 126]
	      SourceBlock	      "dspsigops/Sample\nand Hold"
	      SourceType	      "Sample and Hold"
	      ShowPortLabels	      on
	      trig		      "Rising edge"
	      initCond		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Sample\nand Hold1"
	      Ports		      [1, 1, 0, 1]
	      Position		      [290, 149, 340, 191]
	      SourceBlock	      "dspsigops/Sample\nand Hold"
	      SourceType	      "Sample and Hold"
	      ShowPortLabels	      on
	      trig		      "Rising edge"
	      initCond		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Sample\nand Hold2"
	      Ports		      [1, 1, 0, 1]
	      Position		      [370, 209, 420, 251]
	      SourceBlock	      "dspsigops/Sample\nand Hold"
	      SourceType	      "Sample and Hold"
	      ShowPortLabels	      on
	      trig		      "Rising edge"
	      initCond		      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Sample\nand Hold3"
	      Ports		      [1, 1, 0, 1]
	      Position		      [490, 279, 540, 321]
	      SourceBlock	      "dspsigops/Sample\nand Hold"
	      SourceType	      "Sample and Hold"
	      ShowPortLabels	      on
	      trig		      "Rising edge"
	      initCond		      "0"
	    }
	    Block {
	      BlockType		      TransportDelay
	      Name		      "delay =1/100"
	      Position		      [110, 90, 140, 120]
	      DelayTime		      "1/100"
	    }
	    Block {
	      BlockType		      TransportDelay
	      Name		      "delay=1/100/4"
	      Position		      [110, 285, 140, 315]
	      DelayTime		      "1/100/4"
	    }
	    Block {
	      BlockType		      TransportDelay
	      Name		      "delay=2/100/4"
	      Position		      [110, 215, 140, 245]
	      DelayTime		      "2/100/4"
	    }
	    Block {
	      BlockType		      TransportDelay
	      Name		      "delay=3/100/4"
	      Position		      [110, 155, 140, 185]
	      DelayTime		      "3/100/4"
	    }
	    Block {
	      BlockType		      DiscretePulseGenerator
	      Name		      "f=100hz \npulse width=5\ndelay=1/100/4/"
"2"
	      Ports		      [0, 1]
	      Position		      [165, 28, 210, 62]
	      PulseType		      "Time based"
	      Period		      "1/100"
	      PulseWidth	      "5"
	      PhaseDelay	      "1/100/4/2"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [610, 183, 640, 197]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      Points		      [0, 0; 15, 0]
	      Branch {
		Points			[0, 0]
		Branch {
		  Points		  [0, 60]
		  Branch {
		    Points		    [0, 70]
		    DstBlock		    "delay=1/100/4"
		    DstPort		    1
		  }
		  Branch {
		    DstBlock		    "delay=2/100/4"
		    DstPort		    1
		  }
		}
		Branch {
		  DstBlock		  "delay=3/100/4"
		  DstPort		  1
		}
	      }
	      Branch {
		Points			[0, -65]
		DstBlock		"delay =1/100"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "f=100hz \npulse width=5\ndelay=1/100/4/"
"2"
	      SrcPort		      1
	      Points		      [45, 0]
	      Branch {
		DstBlock		"Sample\nand Hold"
		DstPort			trigger
	      }
	      Branch {
		Points			[55, 0]
		Branch {
		  DstBlock		  "Sample\nand Hold1"
		  DstPort		  trigger
		}
		Branch {
		  Points		  [80, 0]
		  Branch {
		    DstBlock		    "Sample\nand Hold2"
		    DstPort		    trigger
		  }
		  Branch {
		    Points		    [120, 0]
		    DstBlock		    "Sample\nand Hold3"
		    DstPort		    trigger
		  }
		}
	      }
	    }
	    Line {
	      SrcBlock		      "delay =1/100"
	      SrcPort		      1
	      DstBlock		      "Sample\nand Hold"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "delay=3/100/4"
	      SrcPort		      1
	      DstBlock		      "Sample\nand Hold1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "delay=2/100/4"
	      SrcPort		      1
	      DstBlock		      "Sample\nand Hold2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "delay=1/100/4"
	      SrcPort		      1
	      DstBlock		      "Sample\nand Hold3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sample\nand Hold"
	      SrcPort		      1
	      Points		      [275, 0]
	      DstBlock		      "Mux"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Sample\nand Hold1"
	      SrcPort		      1
	      Points		      [220, 0]
	      DstBlock		      "Mux"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sample\nand Hold2"
	      SrcPort		      1
	      Points		      [140, 0]
	      DstBlock		      "Mux"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Sample\nand Hold3"
	      SrcPort		      1
	      Points		      [15, 0; 0, -15]
	      DstBlock		      "Mux"
	      DstPort		      4
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion"
	  Position		  [80, 53, 155, 87]
	  OutDataTypeMode	  "double"
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "DePcm"
	  Ports			  [1, 1]
	  Position		  [225, 40, 265, 100]
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  System {
	    Name		    "DePcm"
	    Location		    [2, 74, 790, 555]
	    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, 53, 45, 67]
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "A-Law\nExpander"
	      Ports		      [1, 1]
	      Position		      [485, 37, 575, 83]
	      SourceBlock	      "commsrccod2/A-Law\nExpander"
	      SourceType	      "A-Law Expander"
	      ShowPortLabels	      on
	      A			      "87.6"
	      V			      "1"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Bit to Integer\nConverter"
	      Ports		      [1, 1]
	      Position		      [75, 38, 155, 82]
	      SourceBlock	      "commutil2/Bit to Integer\nConverter"
	      SourceType	      "Bit to Integer Converter"
	      nbits		      "4"
	    }
	    Block {
	      BlockType		      DataTypeConversion
	      Name		      "Data Type Conversion"
	      Position		      [210, 43, 285, 77]
	      OutDataTypeMode	      "uint8"
	      RndMeth		      "Floor"
	      SaturateOnIntegerOverflow	off
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Scope4"
	      Ports		      [1]
	      Position		      [540, 124, 570, 156]
	      Location		      [1, 45, 801, 569]
	      Open		      off
	      NumInputPorts	      "1"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
	      }
	      SaveName		      "ScopeData3"
	      DataFormat	      "StructureWithTime"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Uniform\nDecoder"
	      Ports		      [1, 1]
	      Position		      [330, 39, 400, 81]
	      SourceBlock	      "dspquant2/Uniform\nDecoder"
	      SourceType	      "Uniform Decoder"
	      peak		      "1"
	      bits		      "4"
	      overflowMode	      "Saturate"
	      otype		      "Double"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [600, 53, 630, 67]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Bit to Integer\nConverter"
	      SrcPort		      1
	      DstBlock		      "Data Type Conversion"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Uniform\nDecoder"
	      SrcPort		      1
	      Points		      [35, 0; 35, 0]
	      Branch {
		Points			[-15, 0; 0, 80]
		DstBlock		"Scope4"
		DstPort			1
	      }
	      Branch {
		DstBlock		"A-Law\nExpander"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Data Type Conversion"
	      SrcPort		      1
	      DstBlock		      "Uniform\nDecoder"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "A-Law\nExpander"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Bit to Integer\nConverter"
	      DstPort		      1
	    }
	    Annotation {
	      Position		      [357, 175]
	    }
	  }
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [290, 63, 320, 77]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Chuan_Bing"
	  SrcPort		  1
	  DstBlock		  "DePcm"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion"
	  SrcPort		  1
	  DstBlock		  "Chuan_Bing"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "DePcm"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Annotation {
	  Position		  [201, 28]
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "Diff _enCode"
      Ports		      [1, 1]
      Position		      [635, 160, 675, 220]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Diff _enCode"
	Location		[2, 70, 798, 549]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 28, 55, 42]
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion"
	  Position		  [205, 33, 280, 67]
	  OutDataTypeMode	  "double"
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}

⌨️ 快捷键说明

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