Maker (Bits→Bus)
Inputs
| Pin | Type | Description |
|---|---|---|
| Bit0 | bit | Least significant bit (weight 1) |
| Bit1 | bit | Weight 2 |
| Bit2 | bit | Weight 4 |
| Bit3 | bit | Weight 8 |
| Bit4 | bit | Weight 16 |
| Bit5 | bit | Weight 32 |
| Bit6 | bit | Weight 64 |
| Bit7 | bit | Most significant bit (weight 128) |
Outputs
| Pin | Type | Description |
|---|---|---|
| OUT | bus8 | 8-bit number: Bit0 + Bit1*2 + … + Bit7*128 |
How It Works
Maker is the mirror of Splitter. It assembles 8 individual bits into an 8-bit bus. The output value is the weighted sum of all inputs:
OUT = Bit0×1 + Bit1×2 + Bit2×4 + Bit3×8 + Bit4×16 + Bit5×32 + Bit6×64 + Bit7×128
Bit order matters: input 0 is the LSB (least significant), input 7 is the MSB (most significant).
Example
| Bit7 | Bit6 | Bit5 | Bit4 | Bit3 | Bit2 | Bit1 | Bit0 | Output (dec) | Output (hex) |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 170 | 0xAA |
| 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 21 | 0x15 |
Usage
Used wherever individual bits need to be combined back into a byte — e.g. assembling a modified instruction byte in the ALU, or composing the new PC value in the Program Counter. Maker + Splitter are the fundamental bridge between bit-level logic and byte-level datapath.