Skip to content

Commit ef0ab67

Browse files
committed
modify logic fundamentals
1 parent 0bcd1e1 commit ef0ab67

36 files changed

+3817
-61
lines changed

docs/computer_architecture/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,10 @@ This course is based on following open textbooks:
1313
The course also based on following softwares:
1414

1515
- [Gem5](https://github.com/gem5/gem5)
16+
- [GPGPU-Sim](https://github.com/gpgpu-sim/gpgpu-sim_distribution)
17+
- [Ramulator](https://github.com/CMU-SAFARI/ramulator2)
18+
- [QEMU](https://www.qemu.org/)
19+
- [Spike](https://github.com/riscv-software-src/riscv-isa-sim)
20+
- [Ibex](https://github.com/lowRISC/ibex)
1621

1722
Thanks for the authors' great work.

docs/digital_design/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ The course also based on following softwares:
1212

1313
- [Digital](https://github.com/hneemann/Digital)
1414
- [Verilator](https://github.com/verilator/verilator)
15+
- [Yosys](https://github.com/YosysHQ/yosys)
16+
- [gtkwave](https://github.com/gtkwave/gtkwave)
17+
- [cocotb](https://github.com/cocotb/cocotb)
1518

1619
Thanks for the authors' great work.
Lines changed: 316 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,316 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<circuit>
3+
<version>2</version>
4+
<attributes/>
5+
<visualElements>
6+
<visualElement>
7+
<elementName>Out</elementName>
8+
<elementAttributes>
9+
<entry>
10+
<string>Label</string>
11+
<string>q</string>
12+
</entry>
13+
<entry>
14+
<string>Inputs</string>
15+
<int>1</int>
16+
</entry>
17+
</elementAttributes>
18+
<pos x="240" y="100"/>
19+
</visualElement>
20+
<visualElement>
21+
<elementName>Or</elementName>
22+
<elementAttributes>
23+
<entry>
24+
<string>wideShape</string>
25+
<boolean>true</boolean>
26+
</entry>
27+
<entry>
28+
<string>Inputs</string>
29+
<int>3</int>
30+
</entry>
31+
</elementAttributes>
32+
<pos x="140" y="80"/>
33+
</visualElement>
34+
<visualElement>
35+
<elementName>And</elementName>
36+
<elementAttributes>
37+
<entry>
38+
<string>wideShape</string>
39+
<boolean>true</boolean>
40+
</entry>
41+
<entry>
42+
<string>Inputs</string>
43+
<int>3</int>
44+
</entry>
45+
</elementAttributes>
46+
<pos x="20" y="0"/>
47+
</visualElement>
48+
<visualElement>
49+
<elementName>And</elementName>
50+
<elementAttributes>
51+
<entry>
52+
<string>wideShape</string>
53+
<boolean>true</boolean>
54+
</entry>
55+
<entry>
56+
<string>Inputs</string>
57+
<int>3</int>
58+
</entry>
59+
</elementAttributes>
60+
<pos x="20" y="80"/>
61+
</visualElement>
62+
<visualElement>
63+
<elementName>In</elementName>
64+
<elementAttributes>
65+
<entry>
66+
<string>rotation</string>
67+
<rotation rotation="3"/>
68+
</entry>
69+
<entry>
70+
<string>Label</string>
71+
<string>a</string>
72+
</entry>
73+
</elementAttributes>
74+
<pos x="-160" y="-100"/>
75+
</visualElement>
76+
<visualElement>
77+
<elementName>Not</elementName>
78+
<elementAttributes>
79+
<entry>
80+
<string>rotation</string>
81+
<rotation rotation="3"/>
82+
</entry>
83+
</elementAttributes>
84+
<pos x="-140" y="-60"/>
85+
</visualElement>
86+
<visualElement>
87+
<elementName>In</elementName>
88+
<elementAttributes>
89+
<entry>
90+
<string>rotation</string>
91+
<rotation rotation="3"/>
92+
</entry>
93+
<entry>
94+
<string>Label</string>
95+
<string>b</string>
96+
</entry>
97+
</elementAttributes>
98+
<pos x="-100" y="-100"/>
99+
</visualElement>
100+
<visualElement>
101+
<elementName>In</elementName>
102+
<elementAttributes>
103+
<entry>
104+
<string>rotation</string>
105+
<rotation rotation="3"/>
106+
</entry>
107+
<entry>
108+
<string>Label</string>
109+
<string>c</string>
110+
</entry>
111+
</elementAttributes>
112+
<pos x="-40" y="-100"/>
113+
</visualElement>
114+
<visualElement>
115+
<elementName>Not</elementName>
116+
<elementAttributes>
117+
<entry>
118+
<string>rotation</string>
119+
<rotation rotation="3"/>
120+
</entry>
121+
</elementAttributes>
122+
<pos x="-20" y="-60"/>
123+
</visualElement>
124+
<visualElement>
125+
<elementName>Not</elementName>
126+
<elementAttributes>
127+
<entry>
128+
<string>rotation</string>
129+
<rotation rotation="3"/>
130+
</entry>
131+
</elementAttributes>
132+
<pos x="-80" y="-60"/>
133+
</visualElement>
134+
<visualElement>
135+
<elementName>And</elementName>
136+
<elementAttributes>
137+
<entry>
138+
<string>wideShape</string>
139+
<boolean>true</boolean>
140+
</entry>
141+
<entry>
142+
<string>Inputs</string>
143+
<int>3</int>
144+
</entry>
145+
</elementAttributes>
146+
<pos x="20" y="160"/>
147+
</visualElement>
148+
</visualElements>
149+
<wires>
150+
<wire>
151+
<p1 x="-140" y="0"/>
152+
<p2 x="20" y="0"/>
153+
</wire>
154+
<wire>
155+
<p1 x="-160" y="80"/>
156+
<p2 x="20" y="80"/>
157+
</wire>
158+
<wire>
159+
<p1 x="120" y="80"/>
160+
<p2 x="140" y="80"/>
161+
</wire>
162+
<wire>
163+
<p1 x="-160" y="160"/>
164+
<p2 x="20" y="160"/>
165+
</wire>
166+
<wire>
167+
<p1 x="-100" y="20"/>
168+
<p2 x="20" y="20"/>
169+
</wire>
170+
<wire>
171+
<p1 x="100" y="20"/>
172+
<p2 x="120" y="20"/>
173+
</wire>
174+
<wire>
175+
<p1 x="-100" y="100"/>
176+
<p2 x="20" y="100"/>
177+
</wire>
178+
<wire>
179+
<p1 x="220" y="100"/>
180+
<p2 x="240" y="100"/>
181+
</wire>
182+
<wire>
183+
<p1 x="100" y="100"/>
184+
<p2 x="140" y="100"/>
185+
</wire>
186+
<wire>
187+
<p1 x="-80" y="180"/>
188+
<p2 x="20" y="180"/>
189+
</wire>
190+
<wire>
191+
<p1 x="100" y="180"/>
192+
<p2 x="120" y="180"/>
193+
</wire>
194+
<wire>
195+
<p1 x="-20" y="40"/>
196+
<p2 x="20" y="40"/>
197+
</wire>
198+
<wire>
199+
<p1 x="-40" y="120"/>
200+
<p2 x="20" y="120"/>
201+
</wire>
202+
<wire>
203+
<p1 x="120" y="120"/>
204+
<p2 x="140" y="120"/>
205+
</wire>
206+
<wire>
207+
<p1 x="-40" y="200"/>
208+
<p2 x="20" y="200"/>
209+
</wire>
210+
<wire>
211+
<p1 x="-160" y="-80"/>
212+
<p2 x="-140" y="-80"/>
213+
</wire>
214+
<wire>
215+
<p1 x="-40" y="-80"/>
216+
<p2 x="-20" y="-80"/>
217+
</wire>
218+
<wire>
219+
<p1 x="-100" y="-80"/>
220+
<p2 x="-80" y="-80"/>
221+
</wire>
222+
<wire>
223+
<p1 x="-100" y="-100"/>
224+
<p2 x="-100" y="-80"/>
225+
</wire>
226+
<wire>
227+
<p1 x="-100" y="20"/>
228+
<p2 x="-100" y="100"/>
229+
</wire>
230+
<wire>
231+
<p1 x="-100" y="-80"/>
232+
<p2 x="-100" y="20"/>
233+
</wire>
234+
<wire>
235+
<p1 x="-100" y="100"/>
236+
<p2 x="-100" y="220"/>
237+
</wire>
238+
<wire>
239+
<p1 x="-20" y="-80"/>
240+
<p2 x="-20" y="-60"/>
241+
</wire>
242+
<wire>
243+
<p1 x="-20" y="-20"/>
244+
<p2 x="-20" y="40"/>
245+
</wire>
246+
<wire>
247+
<p1 x="-20" y="40"/>
248+
<p2 x="-20" y="220"/>
249+
</wire>
250+
<wire>
251+
<p1 x="-40" y="-100"/>
252+
<p2 x="-40" y="-80"/>
253+
</wire>
254+
<wire>
255+
<p1 x="-40" y="200"/>
256+
<p2 x="-40" y="220"/>
257+
</wire>
258+
<wire>
259+
<p1 x="-40" y="120"/>
260+
<p2 x="-40" y="200"/>
261+
</wire>
262+
<wire>
263+
<p1 x="-40" y="-80"/>
264+
<p2 x="-40" y="120"/>
265+
</wire>
266+
<wire>
267+
<p1 x="120" y="20"/>
268+
<p2 x="120" y="80"/>
269+
</wire>
270+
<wire>
271+
<p1 x="120" y="120"/>
272+
<p2 x="120" y="180"/>
273+
</wire>
274+
<wire>
275+
<p1 x="-140" y="-80"/>
276+
<p2 x="-140" y="-60"/>
277+
</wire>
278+
<wire>
279+
<p1 x="-140" y="-20"/>
280+
<p2 x="-140" y="0"/>
281+
</wire>
282+
<wire>
283+
<p1 x="-140" y="0"/>
284+
<p2 x="-140" y="220"/>
285+
</wire>
286+
<wire>
287+
<p1 x="-160" y="-100"/>
288+
<p2 x="-160" y="-80"/>
289+
</wire>
290+
<wire>
291+
<p1 x="-160" y="80"/>
292+
<p2 x="-160" y="160"/>
293+
</wire>
294+
<wire>
295+
<p1 x="-160" y="-80"/>
296+
<p2 x="-160" y="80"/>
297+
</wire>
298+
<wire>
299+
<p1 x="-160" y="160"/>
300+
<p2 x="-160" y="220"/>
301+
</wire>
302+
<wire>
303+
<p1 x="-80" y="-80"/>
304+
<p2 x="-80" y="-60"/>
305+
</wire>
306+
<wire>
307+
<p1 x="-80" y="-20"/>
308+
<p2 x="-80" y="180"/>
309+
</wire>
310+
<wire>
311+
<p1 x="-80" y="180"/>
312+
<p2 x="-80" y="220"/>
313+
</wire>
314+
</wires>
315+
<measurementOrdering/>
316+
</circuit>

0 commit comments

Comments
 (0)