380 lines
6.3 KiB
YAML
Executable File
380 lines
6.3 KiB
YAML
Executable File
list:
|
||
100:
|
||
skin: input
|
||
width: 3
|
||
height: 3
|
||
class: InputGate
|
||
output:
|
||
- Q 1.5 1.5 E big
|
||
110:
|
||
skin: output
|
||
width: 3
|
||
height: 3
|
||
class: OutputGate
|
||
input:
|
||
- A 1.5 1.5 W big
|
||
120:
|
||
skin: clk
|
||
name: CLK 1Hz
|
||
width: 3
|
||
height: 3
|
||
class: ClockGate
|
||
output:
|
||
- Q 2.5 1.5 E
|
||
properties: [ 1 ]
|
||
130:
|
||
skin: clk
|
||
name: CLK 5Hz
|
||
width: 3
|
||
height: 3
|
||
class: ClockGate
|
||
output:
|
||
- Q 2.5 1.5 E
|
||
properties: [ 0.2 ]
|
||
140:
|
||
skin: clk
|
||
name: CLK 10Hz
|
||
width: 3
|
||
height: 3
|
||
class: ClockGate
|
||
output:
|
||
- Q 2.5 1.5 E
|
||
properties: [ 0.1 ]
|
||
150:
|
||
skin: clk
|
||
name: CLK 50Hz
|
||
width: 3
|
||
height: 3
|
||
class: ClockGate
|
||
output:
|
||
- Q 2.5 1.5 E
|
||
properties: [ 0.02 ]
|
||
200:
|
||
skin: buffer
|
||
width: 3
|
||
height: 3
|
||
input:
|
||
- A 0.5 1.5 W
|
||
output:
|
||
- Q 2.5 1.5 E
|
||
210:
|
||
skin: and
|
||
width: 5
|
||
height: 5
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
output:
|
||
- Q 4.5 2.5 E
|
||
220:
|
||
skin: or
|
||
width: 5
|
||
height: 5
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
output:
|
||
- Q 4.5 2.5 E
|
||
230:
|
||
skin: xor
|
||
width: 6
|
||
height: 5
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
output:
|
||
- Q 5.5 2.5 E
|
||
230:
|
||
skin: xor
|
||
width: 6
|
||
height: 5
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
output:
|
||
- Q 5.5 2.5 E
|
||
240:
|
||
skin: not
|
||
width: 4
|
||
height: 3
|
||
input:
|
||
- A 0.5 1.5 W
|
||
output:
|
||
- Q 3.5 1.5 E
|
||
250:
|
||
skin: nand
|
||
width: 6
|
||
height: 5
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
output:
|
||
- Q 5.5 2.5 E
|
||
260:
|
||
skin: nor
|
||
width: 6
|
||
height: 5
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
output:
|
||
- Q 5.5 2.5 E
|
||
270:
|
||
skin: xnor
|
||
width: 7
|
||
height: 5
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
output:
|
||
- Q 6.5 2.5 E
|
||
300:
|
||
name: SR Latch
|
||
width: 5
|
||
height: 5
|
||
input:
|
||
- S 0.5 1.5 W
|
||
- R 0.5 3.5 W
|
||
output:
|
||
- Q 4.5 1.5 E
|
||
- Q̅ 4.5 3.5 E
|
||
310:
|
||
name: JK Latch
|
||
width: 5
|
||
height: 5
|
||
input:
|
||
- J 0.5 1.5 W
|
||
- K 0.5 3.5 W
|
||
output:
|
||
- Q 4.5 1.5 E
|
||
- Q̅ 4.5 3.5 E
|
||
320:
|
||
name: D Latch
|
||
width: 5
|
||
height: 5
|
||
input:
|
||
- D 0.5 1.5 W
|
||
- E 0.5 3.5 W
|
||
output:
|
||
- Q 4.5 1.5 E
|
||
- Q̅ 4.5 3.5 E
|
||
400:
|
||
name: SR Flip-Flop
|
||
width: 5
|
||
height: 7
|
||
input:
|
||
- S 0.5 1.5 W
|
||
- R 0.5 3.5 W
|
||
- CLK 0.5 5.5 W
|
||
output:
|
||
- Q 4.5 1.5 E
|
||
- Q̅ 4.5 5.5 E
|
||
410:
|
||
name: JK Flip-Flop
|
||
width: 5
|
||
height: 7
|
||
input:
|
||
- J 0.5 1.5 W
|
||
- K 0.5 3.5 W
|
||
- CLK 0.5 5.5 W
|
||
output:
|
||
- Q 4.5 1.5 E
|
||
- Q̅ 4.5 5.5 E
|
||
420:
|
||
name: D Flip-Flop
|
||
width: 5
|
||
height: 7
|
||
input:
|
||
- D 0.5 1.5 W
|
||
- CLK 0.5 5.5 W
|
||
output:
|
||
- Q 4.5 1.5 E
|
||
- Q̅ 4.5 5.5 E
|
||
430:
|
||
name: T Flip-Flop
|
||
width: 5
|
||
height: 7
|
||
input:
|
||
- T 0.5 1.5 W
|
||
- CLK 0.5 5.5 W
|
||
output:
|
||
- Q 4.5 1.5 E
|
||
- Q̅ 4.5 5.5 E
|
||
500:
|
||
name: Half Add.
|
||
width: 5
|
||
height: 5
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
output:
|
||
- S 4.5 1.5 E
|
||
- C 4.5 3.5 E
|
||
510:
|
||
name: Full Add.
|
||
width: 5
|
||
height: 7
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
- Cɪ 0.5 5.5 W
|
||
output:
|
||
- S 4.5 1.5 E
|
||
- Cᴏ 4.5 5.5 E
|
||
520:
|
||
name: Half Sub.
|
||
width: 5
|
||
height: 5
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
output:
|
||
- S 4.5 1.5 E
|
||
- C 4.5 3.5 E
|
||
530:
|
||
name: Full Sub.
|
||
width: 5
|
||
height: 7
|
||
input:
|
||
- A 0.5 1.5 W
|
||
- B 0.5 3.5 W
|
||
- Cɪ 0.5 5.5 W
|
||
output:
|
||
- S 4.5 1.5 E
|
||
- Cᴏ 4.5 5.5 E
|
||
600:
|
||
name: Mux.
|
||
skin: mux
|
||
width: 3
|
||
height: 5
|
||
input:
|
||
- D0 0.5 1.5 W
|
||
- D1 0.5 3.5 W
|
||
- E̅ 1.5 1.0 N
|
||
- S 1.5 4.0 S
|
||
output:
|
||
- Y 2.5 2.5 E
|
||
610:
|
||
name: Demux.
|
||
skin: demux
|
||
width: 3
|
||
height: 5
|
||
input:
|
||
- D 0.5 2.5 W
|
||
- E̅ 1.5 1.0 N
|
||
- S 1.5 4.0 S
|
||
output:
|
||
- Y0 2.5 1.5 E
|
||
- Y1 2.5 3.5 E
|
||
620:
|
||
name: 2bits Mux.
|
||
skin: mux2
|
||
width: 4
|
||
height: 6
|
||
input:
|
||
- D0 0.5 1.5 W
|
||
- D1 0.5 2.5 W
|
||
- D2 0.5 3.5 W
|
||
- D3 0.5 4.5 W
|
||
- E̅ 1.5 1.0 N
|
||
- S0 1.5 5.0 S
|
||
- S1 2.5 4.5 S
|
||
output:
|
||
- Y 3.5 3.0 E
|
||
630:
|
||
name: 2bits Demux.
|
||
skin: demux2
|
||
width: 4
|
||
height: 6
|
||
input:
|
||
- D 0.5 3.0 W
|
||
- E̅ 2.5 1.0 S
|
||
- S0 1.5 4.5 S
|
||
- S1 2.5 5.0 S
|
||
output:
|
||
- Y0 3.5 1.5 E
|
||
- Y1 3.5 2.5 E
|
||
- Y2 3.5 3.5 E
|
||
- Y3 3.5 4.5 E
|
||
640:
|
||
name: 2b./4b. Enc.
|
||
width: 5
|
||
height: 6
|
||
input:
|
||
- D0 0.5 1.5 W
|
||
- D1 0.5 4.5 W
|
||
output:
|
||
- Y0 4.5 1.5 E
|
||
- Y1 4.5 2.5 E
|
||
- Y2 4.5 3.5 E
|
||
- Y3 4.5 4.5 E
|
||
650:
|
||
name: 2b./4b. Dec.
|
||
width: 5
|
||
height: 6
|
||
input:
|
||
- D0 0.5 1.5 W
|
||
- D1 0.5 2.5 W
|
||
- D2 0.5 3.5 W
|
||
- D3 0.5 4.5 W
|
||
output:
|
||
- Y0 4.5 1.5 E
|
||
- Y1 4.5 4.5 E
|
||
700:
|
||
name: 4bits SISO
|
||
width: 7
|
||
height: 7
|
||
input:
|
||
- D 0.5 1.5 W
|
||
- CLK 3.5 6.5 S
|
||
output:
|
||
- Q 6.5 1.5 E
|
||
710:
|
||
name: 4bits SIPO
|
||
width: 7
|
||
height: 7
|
||
input:
|
||
- D 0.5 1.5 W
|
||
- CLK 3.5 6.5 S
|
||
output:
|
||
- Q0 6.5 1.5 E
|
||
- Q1 6.5 2.5 E
|
||
- Q2 6.5 3.5 E
|
||
- Q3 6.5 4.5 E
|
||
720:
|
||
name: 4bits PIPO
|
||
width: 7
|
||
height: 7
|
||
input:
|
||
- D0 0.5 1.5 W
|
||
- D1 0.5 2.5 W
|
||
- D2 0.5 3.5 W
|
||
- D3 0.5 4.5 W
|
||
- CLK 3.5 6.5 S
|
||
output:
|
||
- Q0 6.5 1.5 E
|
||
- Q1 6.5 2.5 E
|
||
- Q2 6.5 3.5 E
|
||
- Q3 6.5 4.5 E
|
||
800:
|
||
name: 2bits Count.
|
||
width: 6
|
||
height: 5
|
||
input:
|
||
- CLK 1.5 4.5 S
|
||
- RST 2.5 4.5 S
|
||
output:
|
||
- Q0 5.5 1.5 E
|
||
- Q1 5.5 3.5 E
|
||
810:
|
||
name: 4bits Count.
|
||
width: 6
|
||
height: 6
|
||
input:
|
||
- CLK 1.5 5.5 S
|
||
- RST 2.5 5.5 S
|
||
output:
|
||
- Q0 5.5 1.5 E
|
||
- Q1 5.5 2.5 E
|
||
- Q2 5.5 3.5 E
|
||
- Q3 5.5 4.5 E |