📄 qiangdaping.mdl
字号:
Ports [2, 2]
Position [600, 235, 640, 295]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
System {
Name "DFF5"
Location [2, 74, 1014, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "T"
Position [465, 273, 495, 287]
}
Block {
BlockType Inport
Name "CP"
Position [465, 298, 495, 312]
Port "2"
}
Block {
BlockType Reference
Name "J-K\nFlip-Flop"
Ports [3, 2]
Position [545, 267, 590, 343]
SourceBlock "simulink_extras/Flip Flops/J-K\nFli"
"p-Flop"
SourceType "JKFlipFlop"
initial_condition "0"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [465, 329, 495, 361]
Operator "NOT"
}
Block {
BlockType Outport
Name "Q"
Position [615, 278, 645, 292]
}
Block {
BlockType Outport
Name "!Q"
Position [615, 318, 645, 332]
Port "2"
}
Line {
SrcBlock "J-K\nFlip-Flop"
SrcPort 2
DstBlock "!Q"
DstPort 1
}
Line {
SrcBlock "CP"
SrcPort 1
DstBlock "J-K\nFlip-Flop"
DstPort 2
}
Line {
SrcBlock "J-K\nFlip-Flop"
SrcPort 1
DstBlock "Q"
DstPort 1
}
Line {
SrcBlock "T"
SrcPort 1
Points [5, 0; 10, 0]
Branch {
DstBlock "J-K\nFlip-Flop"
DstPort 1
}
Branch {
Points [0, -20; -70, 0; 0, 85]
DstBlock "Logical\nOperator"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [15, 0; 0, -15]
DstBlock "J-K\nFlip-Flop"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "DFF6"
Ports [2, 2]
Position [680, 235, 720, 295]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
System {
Name "DFF6"
Location [2, 74, 1014, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "T"
Position [465, 273, 495, 287]
}
Block {
BlockType Inport
Name "CP"
Position [465, 298, 495, 312]
Port "2"
}
Block {
BlockType Reference
Name "J-K\nFlip-Flop"
Ports [3, 2]
Position [545, 267, 590, 343]
SourceBlock "simulink_extras/Flip Flops/J-K\nFli"
"p-Flop"
SourceType "JKFlipFlop"
initial_condition "0"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [465, 329, 495, 361]
Operator "NOT"
}
Block {
BlockType Outport
Name "Q"
Position [615, 278, 645, 292]
}
Block {
BlockType Outport
Name "!Q"
Position [615, 318, 645, 332]
Port "2"
}
Line {
SrcBlock "J-K\nFlip-Flop"
SrcPort 2
DstBlock "!Q"
DstPort 1
}
Line {
SrcBlock "CP"
SrcPort 1
DstBlock "J-K\nFlip-Flop"
DstPort 2
}
Line {
SrcBlock "J-K\nFlip-Flop"
SrcPort 1
DstBlock "Q"
DstPort 1
}
Line {
SrcBlock "T"
SrcPort 1
Points [5, 0; 10, 0]
Branch {
DstBlock "J-K\nFlip-Flop"
DstPort 1
}
Branch {
Points [0, -20; -70, 0; 0, 85]
DstBlock "Logical\nOperator"
DstPort 1
}
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
Points [15, 0; 0, -15]
DstBlock "J-K\nFlip-Flop"
DstPort 3
}
}
}
Block {
BlockType Outport
Name "1"
Position [185, 175, 215, 185]
Orientation "up"
NamePlacement "alternate"
}
Block {
BlockType Outport
Name "2"
Position [260, 175, 290, 185]
Orientation "up"
NamePlacement "alternate"
Port "2"
}
Block {
BlockType Outport
Name "3"
Position [340, 175, 370, 185]
Orientation "up"
NamePlacement "alternate"
Port "3"
}
Block {
BlockType Outport
Name "4"
Position [415, 175, 445, 185]
Orientation "up"
NamePlacement "alternate"
Port "4"
}
Block {
BlockType Outport
Name "5"
Position [490, 175, 520, 185]
Orientation "up"
NamePlacement "alternate"
Port "5"
}
Block {
BlockType Outport
Name "6"
Position [565, 175, 595, 185]
Orientation "up"
NamePlacement "alternate"
FontSize 12
Port "6"
}
Block {
BlockType Outport
Name "7"
Position [635, 175, 665, 185]
Orientation "up"
NamePlacement "alternate"
FontSize 12
Port "7"
}
Line {
Labels [0, 0]
SrcBlock "In"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "DFF"
DstPort 1
}
Branch {
DstBlock "1"
DstPort 1
}
}
Line {
SrcBlock "CP3"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [75, 0]
Branch {
Points [80, 0]
Branch {
Points [75, 0]
Branch {
Points [0, -50]
DstBlock "DFF3"
DstPort 2
}
Branch {
Points [75, 0]
Branch {
Points [75, 0]
Branch {
Points [0, -50]
DstBlock "DFF5"
DstPort 2
}
Branch {
Points [70, 0; 0, -50]
DstBlock "DFF6"
DstPort 2
}
}
Branch {
Points [0, -50]
DstBlock "DFF4"
DstPort 2
}
}
}
Branch {
Points [0, -50]
DstBlock "DFF2"
DstPort 2
}
}
Branch {
Points [0, -50]
DstBlock "DFF1"
DstPort 2
}
}
Branch {
Points [0, -50]
DstBlock "DFF"
DstPort 2
}
}
Line {
SrcBlock "DFF"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "DFF1"
DstPort 1
}
Branch {
DstBlock "2"
DstPort 1
}
}
Line {
SrcBlock "DFF1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "DFF2"
DstPort 1
}
Branch {
DstBlock "3"
DstPort 1
}
}
Line {
SrcBlock "DFF2"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "DFF3"
DstPort 1
}
Branch {
DstBlock "4"
DstPort 1
}
}
Line {
SrcBlock "DFF3"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "5"
DstPort 1
}
Branch {
DstBlock "DFF4"
DstPort 1
}
}
Line {
SrcBlock "DFF4"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "DFF5"
DstPort 1
}
Branch {
DstBlock "6"
DstPort 1
}
}
Line {
SrcBlock "DFF5"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "DFF6"
DstPort 1
}
Branch {
DstBlock "7"
DstPort 1
}
}
}
}
Block {
BlockType Outport
Name "1"
Position [220, 40, 250, 54]
}
Block {
BlockType Outport
Name "2"
Position [220, 60, 250, 74]
Port "2"
}
Block {
BlockType Outport
Name "3"
Position [220, 80, 250, 94]
Port "3"
}
Block {
BlockType Outport
Name "4"
Position [220, 100, 250, 114]
Port "4"
}
Block {
BlockType Outport
Name "5"
Position [220, 120, 250, 134]
Port "5"
}
Block {
BlockType Outport
Name "6"
Position [220, 140, 250, 154]
Port "6"
}
Block {
BlockType Outport
Name "7"
Position [220, 160, 250, 174]
Port "7"
}
Line {
SrcBlock "CP3"
SrcPort 1
DstBlock "移位寄存器"
DstPort 2
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "移位寄存器"
DstPort 1
}
Line {
SrcBlock "移位寄存器"
SrcPort 1
DstBlock "1"
DstPort 1
}
Line {
SrcBlock "移位寄存器"
SrcPort 2
DstBlock "2"
DstPort 1
}
Line {
SrcBlock "移位寄存器"
SrcPort 3
DstBlock "3"
DstPort 1
}
Line {
SrcBlock "移位寄存器"
SrcPort 4
DstBlock "4"
DstPort 1
}
Line {
SrcBlock "移位寄存器"
SrcPort 5
DstBlock "5"
DstPort 1
}
Line {
SrcBlock "移位寄存器"
SrcPort 6
DstBlock "6"
DstPort 1
}
Line {
SrcBlock "移位寄存器"
SrcPort 7
DstBlock "7"
DstPort 1
}
}
}
Line {
SrcBlock "移位寄存器"
SrcPort 2
DstBlock "相加器"
DstPort 2
}
Line {
SrcBlock "移位寄存器"
SrcPort 3
DstBlock "相加器"
DstPort 3
}
Line {
SrcBlock "移位寄存器"
SrcPort 4
DstBlock "相加器"
DstPort 4
}
Line {
SrcBlock "移位寄存器"
SrcPort 5
DstBlock "相加器"
DstPort 5
}
Line {
SrcBlock "移位寄存器"
SrcPort 6
DstBlock "相加器"
DstPort 6
}
Line {
SrcBlock "移位寄存器"
SrcPort 7
DstBlock "相加器"
DstPort 7
}
Line {
SrcBlock "移位寄存器"
SrcPort 1
DstBlock "相加器"
DstPort 1
}
Line {
Labels [1, 0]
SrcBlock "巴克码"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -85; 230, 0; 0, 55]
DstBlock "Scope"
DstPort 1
}
Branch {
DstBlock "移位寄存器"
DstPort 1
}
}
Line {
SrcBlock "相加器"
SrcPort 1
Points [5, 0; 10, 0]
Branch {
DstBlock "Scope"
DstPort 2
}
Branch {
Points [0, 55]
DstBlock "判决器"
DstPort 1
}
}
Line {
SrcBlock "判决器"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "Scope"
DstPort 3
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -