Skip to content

Commit 30bdf66

Browse files
committed
Add common_emitter_full example
1 parent 499ed94 commit 30bdf66

File tree

2 files changed

+187
-1
lines changed

2 files changed

+187
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ node_modules
22
out.svg
33
test/*.json
44
test/*.svg
5-
examples/**/*.json
5+
examples/*.json
66
examples/**/*.svg
77
examples/**/*.png
88
.yosys_extra
Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
{
2+
"modules": {
3+
"Common Emitter": {
4+
"cells": {
5+
"C1": {
6+
"connections": {
7+
"A": [
8+
12
9+
],
10+
"B": [
11+
85
12+
]
13+
},
14+
"port_directions": {
15+
"A": "input",
16+
"B": "output"
17+
},
18+
"type": "c"
19+
},
20+
"C2": {
21+
"connections": {
22+
"A": [
23+
70
24+
],
25+
"B": [
26+
10
27+
]
28+
},
29+
"port_directions": {
30+
"A": "input",
31+
"B": "output"
32+
},
33+
"type": "c"
34+
},
35+
"Q": {
36+
"connections": {
37+
"B": [
38+
10
39+
],
40+
"C": [
41+
18
42+
],
43+
"E": [
44+
12
45+
]
46+
},
47+
"port_directions": {
48+
"B": "input",
49+
"C": "input",
50+
"E": "output"
51+
},
52+
"type": "q_npn"
53+
},
54+
"R1": {
55+
"connections": {
56+
"A": [
57+
80
58+
],
59+
"B": [
60+
18
61+
]
62+
},
63+
"port_directions": {
64+
"A": "input",
65+
"B": "output"
66+
},
67+
"type": "r"
68+
},
69+
"R2": {
70+
"connections": {
71+
"A": [
72+
12
73+
],
74+
"B": [
75+
83
76+
]
77+
},
78+
"port_directions": {
79+
"A": "input",
80+
"B": "output"
81+
},
82+
"type": "r"
83+
},
84+
"R3": {
85+
"connections": {
86+
"A": [
87+
86
88+
],
89+
"B": [
90+
10
91+
]
92+
},
93+
"port_directions": {
94+
"A": "input",
95+
"B": "output"
96+
},
97+
"type": "r"
98+
},
99+
"R4": {
100+
"connections": {
101+
"A": [
102+
10
103+
],
104+
"B": [
105+
89
106+
]
107+
},
108+
"port_directions": {
109+
"A": "input",
110+
"B": "output"
111+
},
112+
"type": "r"
113+
},
114+
"gnd83": {
115+
"connections": {
116+
"A": [
117+
83
118+
]
119+
},
120+
"port_directions": {
121+
"A": "input"
122+
},
123+
"type": "gnd"
124+
},
125+
"gnd85": {
126+
"connections": {
127+
"A": [
128+
85
129+
]
130+
},
131+
"port_directions": {
132+
"A": "input"
133+
},
134+
"type": "gnd"
135+
},
136+
"gnd89": {
137+
"connections": {
138+
"A": [
139+
89
140+
]
141+
},
142+
"port_directions": {
143+
"A": "input"
144+
},
145+
"type": "gnd"
146+
},
147+
"vcc80": {
148+
"connections": {
149+
"A": [
150+
80
151+
]
152+
},
153+
"port_directions": {
154+
"A": "output"
155+
},
156+
"type": "vcc"
157+
},
158+
"vcc86": {
159+
"connections": {
160+
"A": [
161+
86
162+
]
163+
},
164+
"port_directions": {
165+
"A": "output"
166+
},
167+
"type": "vcc"
168+
}
169+
},
170+
"ports": {
171+
"vin": {
172+
"bits": [
173+
70
174+
],
175+
"direction": "input"
176+
},
177+
"vout": {
178+
"bits": [
179+
18
180+
],
181+
"direction": "output"
182+
}
183+
}
184+
}
185+
}
186+
}

0 commit comments

Comments
 (0)