
Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 6 of 14
3 Tutorial #2: Device symbols and sub-circuits
3.1 Objectives
o To make the following turn-signal circuit a sub-circuit.
o To create a device symbol for the turn-signal circuit.
o To draw a turn-signal circuit with the created device symbol and verify it.
o To create a sub-circuit and device symbol with Top-Down approach.
3.2 Example sub-circuit: 74LS08 4 2-input AND gates
Sub-circuit and its symbol
A1
A2
A3
A4
B1
B2
B3
B4
X1
X2
X3
X4
A1
A1
A2
A2
A3
A3
A4
A4
B1
B1
B2
B2
B3
B3
B4
B4
X1
X1
X2
X2
X3
X3
X4
X4
08
1
4
9
12
2
5
10
13
3
6
8
11
3.3 Draw the schematic of the following turn-signal circuit without clocks
0
0
0
0
0
0
160,160
80,80
40,40
Flash(F)
Left(L)
Left_turn(LT)
Right_turn(RT)
Right(R)
3.4 Create Port Connectors
Port connectors are in part library Connect.clf. A port can be output (Port out), input
(Port in) or bi-directional (Port Bidir). A port has port name and signal name. The port
name is used to match with its external device pins. The port signal name matches signals in the
sub-circuit.
To name a port or its signal, click on the text icon (the button with letter A) in the Tool Palette
and point to the end of the port to type a port name or the wire of the port to type a signal name.
Comentarios a estos manuales