MCPcopy Create free account
hub / github.com/djhworld/simple-computer / Stepper

Struct Stepper

components/stepper.go:9–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type Stepper struct {
10 bits [12]Bit
11 reset circuit.Wire
12 resetNotGate circuit.NOTGate
13 clockIn circuit.Wire
14 clockInNotGate circuit.NOTGate
15 inputOrGates [2]circuit.ORGate
16 outputs [7]circuit.Wire
17 outputAndGates [5]circuit.ANDGate
18 outputOrGate circuit.ORGate
19 outputNotGates [6]circuit.NOTGate
20}
21
22func NewStepper() *Stepper {
23 s := new(Stepper)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected