-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtick2.circ
126 lines (125 loc) · 4.29 KB
/
tick2.circ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project source="2.7.1" version="1.0">
This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
<lib desc="#Wiring" name="0">
<tool name="Splitter">
<a name="facing" val="west"/>
</tool>
<tool name="Probe">
<a name="facing" val="west"/>
</tool>
<tool name="Tunnel">
<a name="facing" val="east"/>
</tool>
<tool name="Pull Resistor">
<a name="facing" val="north"/>
</tool>
</lib>
<lib desc="#Gates" name="1"/>
<lib desc="#Plexers" name="2"/>
<lib desc="#Arithmetic" name="3"/>
<lib desc="#Memory" name="4">
<tool name="ROM">
<a name="contents">addr/data: 8 8
0
</a>
</tool>
</lib>
<lib desc="#I/O" name="5"/>
<lib desc="#Base" name="6">
<tool name="Text Tool">
<a name="text" val=""/>
<a name="font" val="SansSerif plain 12"/>
<a name="halign" val="center"/>
<a name="valign" val="base"/>
</tool>
</lib>
<lib desc="file#tick.circ" name="7"/>
<main name="main"/>
<options>
<a name="gateUndefined" val="ignore"/>
<a name="simlimit" val="1000"/>
<a name="simrand" val="0"/>
</options>
<mappings>
<tool lib="6" map="Button2" name="Menu Tool"/>
<tool lib="6" map="Button3" name="Menu Tool"/>
<tool lib="6" map="Ctrl Button1" name="Menu Tool"/>
</mappings>
<toolbar>
<tool lib="6" name="Poke Tool"/>
<tool lib="6" name="Edit Tool"/>
<tool lib="6" name="Text Tool">
<a name="text" val=""/>
<a name="font" val="SansSerif plain 12"/>
<a name="halign" val="center"/>
<a name="valign" val="base"/>
</tool>
<sep/>
<tool lib="0" name="Pin">
<a name="tristate" val="false"/>
</tool>
<tool lib="0" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="labelloc" val="east"/>
</tool>
<tool lib="1" name="NOT Gate"/>
<tool lib="1" name="AND Gate"/>
<tool lib="1" name="OR Gate"/>
</toolbar>
<circuit name="main">
<a name="circuit" val="main"/>
<a name="clabel" val=""/>
<a name="clabelup" val="east"/>
<a name="clabelfont" val="SansSerif plain 12"/>
<appear>
<rect fill="none" height="40" stroke="#000000" stroke-width="2" width="50" x="50" y="50"/>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="63" y="64">clk</text>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="62" y="83">in</text>
<text font-family="SansSerif" font-size="12" text-anchor="middle" x="84" y="74">out</text>
<circ-port height="8" pin="290,340" width="8" x="46" y="56"/>
<circ-port height="8" pin="290,360" width="8" x="46" y="76"/>
<circ-port height="10" pin="470,360" width="10" x="95" y="65"/>
<circ-anchor facing="east" height="6" width="6" x="97" y="47"/>
</appear>
<wire from="(290,340)" to="(350,340)"/>
<wire from="(370,310)" to="(400,310)"/>
<wire from="(420,340)" to="(440,340)"/>
<wire from="(420,330)" to="(420,340)"/>
<wire from="(440,340)" to="(440,350)"/>
<wire from="(460,350)" to="(460,360)"/>
<wire from="(410,340)" to="(420,340)"/>
<wire from="(290,360)" to="(430,360)"/>
<wire from="(450,360)" to="(460,360)"/>
<wire from="(350,320)" to="(350,340)"/>
<wire from="(460,360)" to="(470,360)"/>
<wire from="(400,310)" to="(400,330)"/>
<wire from="(350,340)" to="(390,340)"/>
<comp lib="4" loc="(370,300)" name="Counter">
<a name="width" val="1"/>
<a name="max" val="0x1"/>
</comp>
<comp lib="0" loc="(420,330)" name="Pull Resistor"/>
<comp lib="0" loc="(470,360)" name="Pin">
<a name="facing" val="west"/>
<a name="output" val="true"/>
<a name="labelloc" val="east"/>
</comp>
<comp lib="1" loc="(450,360)" name="Controlled Buffer">
<a name="control" val="left"/>
</comp>
<comp lib="0" loc="(290,360)" name="Pin">
<a name="tristate" val="false"/>
<a name="label" val="IN"/>
</comp>
<comp lib="0" loc="(460,350)" name="Pull Resistor"/>
<comp lib="1" loc="(410,340)" name="Controlled Buffer">
<a name="control" val="left"/>
</comp>
<comp lib="0" loc="(290,340)" name="Pin">
<a name="tristate" val="false"/>
<a name="label" val="CLK"/>
</comp>
</circuit>
</project>