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

📄 test41a.mdl

📁 锯齿波信号发生器 函数信号源采用数字存储方式存储一到几个周期
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  SrcBlock		  "Logical\nOperator1"
	  SrcPort		  1
	  Points		  [0, -25]
	  DstBlock		  "Qcc"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "J-K\nFlip-Flop1"
	  SrcPort		  1
	  Points		  [0, -20; 25, 0]
	  Branch {
	    Points		    [80, 0]
	    Branch {
	      Points		      [385, 0]
	      DstBlock		      "Logical\nOperator1"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, 480; 105, 0]
	      Branch {
		DstBlock		"Logical\nOperator26"
		DstPort			3
	      }
	      Branch {
		Points			[140, 0]
		DstBlock		"Logical\nOperator27"
		DstPort			3
	      }
	    }
	  }
	  Branch {
	    DstBlock		    "Switch1"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "P"
	  SrcPort		  1
	  Points		  [0, -25]
	  DstBlock		  "Logical\nOperator24"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "CR"
	  SrcPort		  1
	  Points		  [5, 0; 0, 85]
	  DstBlock		  "Logical\nOperator24"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "D2"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Logical\nOperator21"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "J-K\nFlip-Flop"
	  SrcPort		  2
	  Points		  [0, -50]
	  DstBlock		  "Switch"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Switch"
	  SrcPort		  1
	  Points		  [0, -15]
	  DstBlock		  "Q1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "J-K\nFlip-Flop1"
	  SrcPort		  2
	  Points		  [0, -50]
	  DstBlock		  "Switch1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Switch1"
	  SrcPort		  1
	  Points		  [0, -10]
	  DstBlock		  "Q2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "J-K\nFlip-Flop2"
	  SrcPort		  2
	  Points		  [0, -50]
	  DstBlock		  "Switch2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Switch2"
	  SrcPort		  1
	  DstBlock		  "Q3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "J-K\nFlip-Flop3"
	  SrcPort		  2
	  Points		  [0, -50]
	  DstBlock		  "Switch3"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Switch3"
	  SrcPort		  1
	  Points		  [0, -10]
	  DstBlock		  "Q4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "EN"
	  SrcPort		  1
	  Points		  [180, 0]
	  Branch {
	    Points		    [140, 0]
	    Branch {
	      Points		      [155, 0]
	      Branch {
		Points			[150, 0]
		DstBlock		"Switch3"
		DstPort			2
	      }
	      Branch {
		DstBlock		"Switch2"
		DstPort			2
	      }
	    }
	    Branch {
	      DstBlock		      "Switch1"
	      DstPort		      2
	    }
	  }
	  Branch {
	    DstBlock		    "Switch"
	    DstPort		    2
	  }
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "CR"
      Position		      [90, 70, 120, 100]
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Reference
      Name		      "Clock"
      Ports		      [0, 1]
      Position		      [20, 46, 60, 74]
      NamePlacement	      "alternate"
      SourceBlock	      "simulink_extras/Flip Flops/Clock"
      SourceType	      "Digital clock"
      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"
      MaskParam1	      "0.5"
    }
    Block {
      BlockType		      Constant
      Name		      "D0"
      Position		      [25, 95, 55, 125]
      Value		      "0"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "D1"
      Position		      [85, 120, 115, 150]
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "D2"
      Position		      [25, 145, 55, 175]
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "D3"
      Position		      [85, 170, 115, 200]
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "EN"
      Position		      [80, 270, 110, 300]
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "LD"
      Position		      [25, 195, 55, 225]
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Constant
      Name		      "P"
      Position		      [85, 220, 115, 250]
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope"
      Ports		      [1]
      Position		      [605, 123, 660, 177]
      Floating		      off
      Location		      [5, 48, 1281, 759]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem1"
      Ports		      [4, 1]
      Position		      [465, 48, 545, 252]
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      System {
	Name			"Subsystem1"
	Location		[2, 82, 1262, 747]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[1.270000, 1.270000, 1.270000, 1.270000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [260, 158, 290, 172]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [255, 208, 285, 222]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In3"
	  Position		  [260, 258, 290, 272]
	  Port			  "3"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Inport
	  Name			  "In4"
	  Position		  [260, 308, 290, 322]
	  Port			  "4"
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [325, 172, 350, 188]
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [325, 217, 350, 233]
	  Value			  "2"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [320, 272, 345, 288]
	  Value			  "4"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant3"
	  Position		  [320, 322, 345, 338]
	  Value			  "8"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [450, 156, 525, 189]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  OutDataTypeStr	  "Inherit: Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [450, 208, 520, 232]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  OutDataTypeStr	  "Inherit: Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [450, 258, 525, 287]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  OutDataTypeStr	  "Inherit: Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product3"
	  Ports			  [2, 1]
	  Position		  [445, 308, 520, 337]
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  OutDataTypeStr	  "Inherit: Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum"
	  Ports			  [4, 1]
	  Position		  [650, 150, 720, 310]
	  ShowName		  off
	  IconShape		  "round"
	  Inputs		  "|++++"
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  OutDataTypeStr	  "Inherit: Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [875, 223, 905, 237]
	  IconDisplay		  "Port number"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  DstBlock		  "Product2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In4"
	  SrcPort		  1
	  DstBlock		  "Product3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  DstBlock		  "Product"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  DstBlock		  "Product1"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  DstBlock		  "Product2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant3"
	  SrcPort		  1
	  DstBlock		  "Product3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product"
	  SrcPort		  1
	  Points		  [109, 0]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  Points		  [55, 0; 0, 10]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  Points		  [55, 0; 0, -10]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Product3"
	  SrcPort		  1
	  DstBlock		  "Sum"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Constant
      Name		      "T"
      Position		      [25, 245, 55, 275]
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Line {
      SrcBlock		      "Clock"
      SrcPort		      1
      DstBlock		      "4-2"
      DstPort		      1
    }
    Line {
      SrcBlock		      "CR"
      SrcPort		      1
      DstBlock		      "4-2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "T"
      SrcPort		      1
      DstBlock		      "4-2"
      DstPort		      9
    }
    Line {
      SrcBlock		      "P"
      SrcPort		      1
      DstBlock		      "4-2"
      DstPort		      8
    }
    Line {
      SrcBlock		      "LD"
      SrcPort		      1
      DstBlock		      "4-2"
      DstPort		      7
    }
    Line {
      SrcBlock		      "D3"
      SrcPort		      1
      DstBlock		      "4-2"
      DstPort		      6
    }
    Line {
      SrcBlock		      "D2"
      SrcPort		      1
      DstBlock		      "4-2"
      DstPort		      5
    }
    Line {
      SrcBlock		      "D1"
      SrcPort		      1
      DstBlock		      "4-2"
      DstPort		      4
    }
    Line {
      SrcBlock		      "D0"
      SrcPort		      1
      DstBlock		      "4-2"
      DstPort		      3
    }
    Line {
      SrcBlock		      "4-2"
      SrcPort		      1
      DstBlock		      "Subsystem1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "4-2"
      SrcPort		      2
      DstBlock		      "Subsystem1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "4-2"
      SrcPort		      3
      DstBlock		      "Subsystem1"
      DstPort		      3
    }
    Line {
      SrcBlock		      "4-2"
      SrcPort		      4
      DstBlock		      "Subsystem1"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Subsystem1"
      SrcPort		      1
      DstBlock		      "Scope"
      DstPort		      1
    }
    Line {
      SrcBlock		      "EN"
      SrcPort		      1
      DstBlock		      "4-2"
      DstPort		      10
    }
  }
}

⌨️ 快捷键说明

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