📄 qiangdaping.mdl
字号:
DstBlock "非门1"
DstPort 1
}
Line {
SrcBlock "1"
SrcPort 1
DstBlock "非门"
DstPort 1
}
Line {
SrcBlock "非门"
SrcPort 1
DstBlock "相加器"
DstPort 1
}
Line {
SrcBlock "非门1"
SrcPort 1
DstBlock "相加器"
DstPort 3
}
Line {
SrcBlock "非门2"
SrcPort 1
DstBlock "相加器"
DstPort 4
}
}
}
Block {
BlockType SubSystem
Name "移位寄存器"
Ports [1, 7]
Position [410, 201, 480, 349]
TreatAsAtomicUnit off
System {
Name "移位寄存器"
Location [452, 255, 727, 459]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [60, 65, 90, 79]
}
Block {
BlockType DiscretePulseGenerator
Name "CP3"
Position [25, 128, 70, 162]
PulseType "Time based"
Period "0.005"
PulseWidth "50"
}
Block {
BlockType SubSystem
Name "移位寄存器"
Ports [2, 7]
Position [125, 29, 195, 181]
TreatAsAtomicUnit off
System {
Name "移位寄存器"
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 "In"
Position [145, 243, 175, 257]
}
Block {
BlockType Inport
Name "CP3"
Position [145, 323, 175, 337]
Port "2"
}
Block {
BlockType SubSystem
Name "DFF"
Ports [2, 2]
Position [220, 235, 260, 295]
TreatAsAtomicUnit off
System {
Name "DFF"
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 "DFF1"
Ports [2, 2]
Position [300, 235, 340, 295]
TreatAsAtomicUnit off
System {
Name "DFF1"
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 "DFF2"
Ports [2, 2]
Position [375, 235, 415, 295]
TreatAsAtomicUnit off
System {
Name "DFF2"
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 "DFF3"
Ports [2, 2]
Position [450, 235, 490, 295]
TreatAsAtomicUnit off
System {
Name "DFF3"
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 "DFF4"
Ports [2, 2]
Position [525, 235, 565, 295]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
System {
Name "DFF4"
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 "DFF5"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -