circ
Examples /
NOT chain
▾
Idle
Type to compile.
Download
Share
Connect agent
◐
⌕
⌘K
Tour
1. A single NOT gate
2. AND of two inputs
3. Naming an intermediate signal
4. Anonymous nested components
5. A half-adder
6. A full-adder, by importing the half-adder
7. Stable feedback through wires
Examples
NOT chain
One input, three destinations
A built-in macro
Slicing and joining a bus
One gate across eight bits
Half-adder
2-to-1 multiplexer
1-to-2 demultiplexer
Full-adder
A ROM the host loads
2-bit ripple-carry adder
4-bit ripple-carry adder
SR latch
A RAM with a clock
Mine
+ file
input a not n1(in=a) not n2(in=n1.out) not n3(in=n2.out) output out(in=n3.out)
Schematic
Live
Truth
Expand macros
Expand display
Copy
Input-bit cap
2^cap rows; once the enumeration starts, it runs to the end.
Data
⋮⋮
Data
hex
bin
dec
✕
0 × 0 chars
Copy as markdown
·
CSV
cell 14
·
100%
·
fit
circ-compile main.circ --sim
>
Compile a circuit first.
Console
▴
Memory
Console
circ-compile main.circ --sim
Clear
Copy script
Copy log
▾
Compile a circuit first.
>