Kit 4 / 6 · one learner or pair
Two-request round-robin arbiter
A four-core-IC arbiter with requests, grants, retained priority, a slow assembled clock.
Coverage: P04. One exercise is assembled at a time; the inventory is the maximum quantity of each component across those exercises, not the sum of all exercises.
In the box: 2 full-size boards, 3 button modules, 0 self-locking touch switches, 1 assembled clock generator, 1 LED bars (8 LEDs), 0 seven-segment displays, 80 M–M and 40 M–F jumpers. Other indicators and tools are itemized below.
Component inventory
| Component | Quantity (pieces) | Source | USD / piece | Line USD |
|---|---|---|---|---|
| CD4081: Quad 2-input AND gate | 1 | LSSK row 10 | $0.5500 | $0.55 |
| CD4011: Quad 2-input NAND | 1 | LSSK row 12 | $0.3500 | $0.35 |
| CD4071: Quad 2-input OR | 1 | LSSK row 20 | $0.2500 | $0.25 |
| CD4013: Dual D flip-flop | 1 | LSSK row 3 | $0.3500 | $0.35 |
| Full-size solderless breadboard (830-point class) | 2 | LSSK row 45 · Part / supplier | $3.0000 | $6.00 |
| Breadboard regulator module, output set to 5 V | 1 | LSSK row 56 · Part / supplier | $1.0000 | $1.00 |
| USB-to-barrel boost cable, marked 9 V | 1 | LSSK row 57 · Part / supplier | $1.1700 | $1.17 |
| Insulated IC extractor | 1 | LSSK row 53 · Part / supplier | $1.2000 | $1.20 |
| Individual 3-pin button module with embedded pull resistor | 3 Allocated from supplier lots of 5 | LSSK row 66 · Part / supplier | $0.4060 | $1.22 |
| 8-channel 5 V current-limited LED module | 1 | LSSK row 62 · Part / supplier | $0.3775 | $0.38 |
| Assembled 555 clock module, blue | 1 | LSSK row 54 · Part / supplier | $0.5300 | $0.53 |
| Male–male jumper, 10–15 cm | 80 2 full packs × 40 | LSSK row 70 · Part / supplier | $0.0325 | $2.60 |
| Male–female jumper, 10–15 cm | 40 1 full packs × 40 | LSSK row 71 · Part / supplier | $0.0325 | $1.30 |
Cost and selling-price estimate
| Item | USD / kit | Basis |
|---|---|---|
| Components | $16.90 | Sum of rounded line extensions below / in CSV |
| Inbound freight and procurement allowance | $2.54 | 15% of components |
| Loss / replacement allowance | $0.85 | 5% of components |
| Packaging, labels and printed insert | $3.00 | Planning allowance |
| Picking, packing and QA labor | $6.67 | 20 minutes at $20/hour; validate on a pilot batch |
| Loaded cost | $29.96 | Components + all above allowances |
| Suggested direct-sale price | $55.00 | ceil((loaded cost / (1 − 0.40 − 0.03)) / 5) × $5 |
| Payment fee at suggested price | $1.65 | 3% of retail |
| Contribution after fee and loaded cost | $23.39 | 42.53% of retail; before fixed business overhead |
| Loaded cost sensitivity | $24.88–$40.09 | Component prices −25% to +50%; same labor and packaging |
USD planning model, source snapshot 14 October 2026. Spreadsheet prices are not live quotes; several are bulk/lot prices. CSV and HTML use the same Decimal calculations. Per-piece normalization preserves four decimals; line extensions round to cents before summation. Prices exclude customer delivery, sales tax, marketplace commissions above the assumed 3%, curriculum-development costs, insurance and fixed business overhead. A USB 5 V source and multimeter are supplied by the classroom. For a standalone retail bundle, add quotes for those before repricing.
Four logic ICs, one bit of scheduling history
Let p=0 prefer requester 0 and p=1 prefer requester 1 when both request. Each rising edge of the assembled clock accepts the visible grant. There is no separate downstream ready signal in this exercise.
g0 = r0 AND (NOT r1 OR NOT p) g1 = r1 AND (NOT r0 OR p) p_next = g0 OR (p AND NOT (r0 OR r1)) RESET: p = 0
When both request, accepting g0 makes p=1; accepting g1 makes p=0. With no requests, priority is retained. With one request, that request wins regardless of priority. These are combinational grants for the upcoming sampling edge; after the edge, the displayed grants may immediately change to the next decision.
| r0 r1 | g0 g1 if p=0 | g0 g1 if p=1 | Next priority |
|---|---|---|---|
| 00 | 00 | 00 | Hold p |
| 01 | 01 | 01 | 0 |
| 10 | 10 | 10 | 1 |
| 11 | 10 | 01 | Toggle p |
Gate allocation: CD4011 supplies three inversions by joining each NAND’s two inputs (¬r0, ¬r1, ¬(r0∨r1)). CD4071 supplies four OR gates (r0∨r1, the two grant conditions, and the next-state merge). CD4081 supplies three AND gates (g0, g1, and idle hold). One half of CD4013 stores p and supplies both p and ¬p. Thus the advertised four core packages are sufficient.
Connect p_next to 4013 D, the assembled 555 module OUT directly to CLK, RESET to its active-high reset, and SET to GND. Buttons are r0, r1 and RESET. Set the clock near 0.5–1 Hz and change requests between rising edges.
Check the behavior
- Reset: p=0. Both requests low must give no grant.
- Exercise each single request with both possible p values.
- Hold both requests high for eight clock cycles. Record the grant just before each rising edge: 0,1,0,1,0,1,0,1.
- Insert three idle clock cycles; confirm that the next contested decision retains the saved priority.
- For every cycle check
NOT(g0 AND g1),g0 → r0andg1 → r1.
The accompanying software checks exhaust all input/state combinations and persistent-request traces. They verify these equations; physical operation still requires the pilot build.
Quantity and sourcing assumptions
Source register, quantities and pricing assumptions. LSSK component spreadsheet