-
Notifications
You must be signed in to change notification settings - Fork 1
/
abstract.txt
72 lines (58 loc) · 1.59 KB
/
abstract.txt
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
╔══════════════════════════════════════╗
║ Circuits for the People ║
║ ======================= ║
║ An "Engineer of the People"-clone. ║
╚══════════════════════════════════════╝
┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ High-Level Components ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━┛
---
Circuit_Model
===
Stored Structures
{
Metal Layer
metal
Silicon Layer
silicon
transistors (with non-static state)
Vias
}
Rules for valid structures
{
clean() function(s) that sanitize invalid stored structures.
}
Simulation
{
Do sim Tick()
{
propagate power respecting transistors states
update transistors states based on new power propagation
}
}
---
Circuit_Sim
===
tick()
- propagate across metal, vias, and open silicon paths.
- update transistors' blocking/open states
---
Circuit_Draw
===
draw silicon layer
draw silicon
draw transistors
draw metal layer
draw metal
draw vias
<draw power propogation>
---
Lattice_grid
===
- store multi-material structures
- draw multi-material structures
- test for connections
---
abstract circuit
===
- the connections between inputs, transistors, and outputs are cached so simulations don't have to simulate ever tile on a wire every time a tick occurs.