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

Function NewIsZero

components/components.go:162–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160}
161
162func NewIsZero() *IsZero {
163 z := new(IsZero)
164 z.orer = *NewORer()
165 z.notGate = *circuit.NewNOTGate()
166
167 return z
168}
169
170func (z *IsZero) Reset() {
171 z.output.Update(false)

Callers 2

NewALUFunction · 0.92
TestIsZeroFunction · 0.85

Calls 2

NewNOTGateFunction · 0.92
NewORerFunction · 0.85

Tested by 1

TestIsZeroFunction · 0.68