BusInput — 8-bit input
Ports
| Pin | Type | Description |
|---|---|---|
| OUT | bus (8 bits) | Output: the slider value, a number from 0 to 255 |
BusInput has no inputs — the value is set with a slider on the component itself.
How It Works
BusInput sets a numeric value from 0 to 255 on an 8-bit data bus. The bus combines 8 bits into one number — a convenient way to work with bytes: 00000000 is 0, 11111111 is 255.
In test mode BusInput takes values from the truth table on its own — bus-based levels also specify expectations as numbers 0–255. To work with individual bits of the number use Splitter; to assemble bits into a byte use Maker.
Usage
Buses appear starting with the "8-bit Adder" level: BusInput feeds the operands, BusOutput shows the result. Then comes the whole processor line: ALU operands, data for RAM, addresses for ROM.
If the value never changes (a mask, an address, an opcode), BusConstant is more convenient — no slider to nudge by accident.
Related components