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

Struct BusOne

components/components.go:492–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492type BusOne struct {
493 inputBus *Bus
494 outputBus *Bus
495 inputs [arch.BUS_WIDTH]circuit.Wire
496 bus1 circuit.Wire
497 andGates [arch.BUS_WIDTH - 1]circuit.ANDGate
498 notGate circuit.NOTGate
499 orGate circuit.ORGate
500 outputs [arch.BUS_WIDTH]circuit.Wire
501 next Component
502}
503
504func NewBusOne(inputBus, outputBus *Bus) *BusOne {
505 b := new(BusOne)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected