Skip to content

Commit c7d4405

Browse files
committed
如果採用,此提交將新增JK正反器的組合邏輯電路與模擬測試檔
修改項目: 模組: 議題57
1 parent 22877cf commit c7d4405

2 files changed

Lines changed: 446 additions & 0 deletions

File tree

Lines changed: 224 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,224 @@
1+
/*
2+
WARNING: Do NOT edit the input and output ports in this file in a text
3+
editor if you plan to continue editing the block that represents it in
4+
the Block Editor! File corruption is VERY likely to occur.
5+
*/
6+
/*
7+
Copyright (C) 1991-2015 Altera Corporation. All rights reserved.
8+
Your use of Altera Corporation's design tools, logic functions
9+
and other software and tools, and its AMPP partner logic
10+
functions, and any output files from any of the foregoing
11+
(including device programming or simulation files), and any
12+
associated documentation or information are expressly subject
13+
to the terms and conditions of the Altera Program License
14+
Subscription Agreement, the Altera Quartus II License Agreement,
15+
the Altera MegaCore Function License Agreement, or other
16+
applicable license agreement, including, without limitation,
17+
that your use is for the sole purpose of programming logic
18+
devices manufactured by Altera and sold by Altera or its
19+
authorized distributors. Please refer to the applicable
20+
agreement for further details.
21+
*/
22+
(header "graphic" (version "1.4"))
23+
(pin
24+
(input)
25+
(rect 168 120 336 136)
26+
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
27+
(text "PR" (rect 5 0 22 11)(font "Arial" ))
28+
(pt 168 8)
29+
(drawing
30+
(line (pt 84 12)(pt 109 12))
31+
(line (pt 84 4)(pt 109 4))
32+
(line (pt 113 8)(pt 168 8))
33+
(line (pt 84 12)(pt 84 4))
34+
(line (pt 109 4)(pt 113 8))
35+
(line (pt 109 12)(pt 113 8))
36+
)
37+
(text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6)))
38+
)
39+
(pin
40+
(input)
41+
(rect 168 144 336 160)
42+
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
43+
(text "J" (rect 5 0 11 11)(font "Arial" ))
44+
(pt 168 8)
45+
(drawing
46+
(line (pt 84 12)(pt 109 12))
47+
(line (pt 84 4)(pt 109 4))
48+
(line (pt 113 8)(pt 168 8))
49+
(line (pt 84 12)(pt 84 4))
50+
(line (pt 109 4)(pt 113 8))
51+
(line (pt 109 12)(pt 113 8))
52+
)
53+
(text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6)))
54+
)
55+
(pin
56+
(input)
57+
(rect 168 216 336 232)
58+
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
59+
(text "CLR" (rect 5 0 28 11)(font "Arial" ))
60+
(pt 168 8)
61+
(drawing
62+
(line (pt 84 12)(pt 109 12))
63+
(line (pt 84 4)(pt 109 4))
64+
(line (pt 113 8)(pt 168 8))
65+
(line (pt 84 12)(pt 84 4))
66+
(line (pt 109 4)(pt 113 8))
67+
(line (pt 109 12)(pt 113 8))
68+
)
69+
(text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6)))
70+
)
71+
(pin
72+
(input)
73+
(rect 168 168 336 184)
74+
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
75+
(text "CK" (rect 5 0 23 11)(font "Arial" ))
76+
(pt 168 8)
77+
(drawing
78+
(line (pt 84 12)(pt 109 12))
79+
(line (pt 84 4)(pt 109 4))
80+
(line (pt 113 8)(pt 168 8))
81+
(line (pt 84 12)(pt 84 4))
82+
(line (pt 109 4)(pt 113 8))
83+
(line (pt 109 12)(pt 113 8))
84+
)
85+
(text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6)))
86+
)
87+
(pin
88+
(input)
89+
(rect 168 192 336 208)
90+
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
91+
(text "K" (rect 5 0 16 11)(font "Arial" ))
92+
(pt 168 8)
93+
(drawing
94+
(line (pt 84 12)(pt 109 12))
95+
(line (pt 84 4)(pt 109 4))
96+
(line (pt 113 8)(pt 168 8))
97+
(line (pt 84 12)(pt 84 4))
98+
(line (pt 109 4)(pt 113 8))
99+
(line (pt 109 12)(pt 113 8))
100+
)
101+
(text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6)))
102+
)
103+
(pin
104+
(output)
105+
(rect 544 152 720 168)
106+
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
107+
(text "Q" (rect 90 0 100 11)(font "Arial" ))
108+
(pt 0 8)
109+
(drawing
110+
(line (pt 0 8)(pt 52 8))
111+
(line (pt 52 4)(pt 78 4))
112+
(line (pt 52 12)(pt 78 12))
113+
(line (pt 52 12)(pt 52 4))
114+
(line (pt 78 4)(pt 82 8))
115+
(line (pt 82 8)(pt 78 12))
116+
(line (pt 78 12)(pt 82 8))
117+
)
118+
)
119+
(symbol
120+
(rect 448 136 512 216)
121+
(text "JKFF" (rect 1 0 25 10)(font "Arial" (font_size 6)))
122+
(text "inst" (rect 3 68 21 79)(font "Arial" ))
123+
(port
124+
(pt 32 0)
125+
(input)
126+
(text "PRN" (rect 24 13 44 24)(font "Courier New" (bold)))
127+
(text "PRN" (rect 24 11 44 22)(font "Courier New" (bold)))
128+
(line (pt 32 4)(pt 32 0))
129+
)
130+
(port
131+
(pt 32 80)
132+
(input)
133+
(text "CLRN" (rect 21 59 48 70)(font "Courier New" (bold)))
134+
(text "CLRN" (rect 21 58 48 69)(font "Courier New" (bold)))
135+
(line (pt 32 80)(pt 32 76))
136+
)
137+
(port
138+
(pt 0 56)
139+
(input)
140+
(text "K" (rect 15 51 23 62)(font "Courier New" (bold)))
141+
(text "K" (rect 15 51 23 62)(font "Courier New" (bold)))
142+
(line (pt 0 56)(pt 12 56))
143+
)
144+
(port
145+
(pt 0 24)
146+
(input)
147+
(text "J" (rect 15 20 22 31)(font "Courier New" (bold)))
148+
(text "J" (rect 15 20 22 31)(font "Courier New" (bold)))
149+
(line (pt 0 24)(pt 12 24))
150+
)
151+
(port
152+
(pt 0 40)
153+
(input)
154+
(text "CLK" (rect 2 31 23 42)(font "Courier New" (bold))(invisible))
155+
(text "CLK" (rect 2 31 23 42)(font "Courier New" (bold))(invisible))
156+
(line (pt 0 40)(pt 12 40))
157+
)
158+
(port
159+
(pt 64 24)
160+
(output)
161+
(text "Q" (rect 45 20 53 31)(font "Courier New" (bold)))
162+
(text "Q" (rect 41 20 49 31)(font "Courier New" (bold)))
163+
(line (pt 52 24)(pt 64 24))
164+
)
165+
(drawing
166+
(line (pt 12 12)(pt 52 12))
167+
(line (pt 12 68)(pt 52 68))
168+
(line (pt 52 68)(pt 52 12))
169+
(line (pt 12 68)(pt 12 12))
170+
(line (pt 12 34)(pt 12 33))
171+
(line (pt 19 40)(pt 12 47))
172+
(line (pt 12 32)(pt 20 40))
173+
(circle (rect 28 4 36 12))
174+
(circle (rect 28 68 36 76))
175+
)
176+
)
177+
(connector
178+
(pt 336 176)
179+
(pt 448 176)
180+
)
181+
(connector
182+
(pt 336 152)
183+
(pt 392 152)
184+
)
185+
(connector
186+
(pt 392 152)
187+
(pt 392 160)
188+
)
189+
(connector
190+
(pt 448 160)
191+
(pt 392 160)
192+
)
193+
(connector
194+
(pt 336 200)
195+
(pt 392 200)
196+
)
197+
(connector
198+
(pt 392 200)
199+
(pt 392 192)
200+
)
201+
(connector
202+
(pt 448 192)
203+
(pt 392 192)
204+
)
205+
(connector
206+
(pt 336 224)
207+
(pt 480 224)
208+
)
209+
(connector
210+
(pt 480 224)
211+
(pt 480 216)
212+
)
213+
(connector
214+
(pt 336 128)
215+
(pt 480 128)
216+
)
217+
(connector
218+
(pt 480 128)
219+
(pt 480 136)
220+
)
221+
(connector
222+
(pt 544 160)
223+
(pt 512 160)
224+
)

0 commit comments

Comments
 (0)