LSSK / LOGIC SYNTHESIS SCHOOL KIT

Kit 3 / 6 · one learner or pair

Automatic three-FIFO adder

Two operand queues feed an adder and a result queue automatically, following the supplied SystemVerilog valid/ready design.

Download CSVExercise catalogue
$34.52estimated component cost
$53.76cost with packing, labor and allowances
$95.00suggested direct-sale price, before tax / delivery

Coverage: P03. 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: 4 full-size boards, 3 button modules, 0 self-locking touch switches, 1 assembled clock generator, 3 LED bars (24 LEDs), 0 seven-segment displays, 160 M–M and 80 M–F jumpers. Other indicators and tools are itemized below.

Component inventory

ComponentQuantity (pieces)SourceUSD / pieceLine USD
CD74HC40105E, 16 × 4 FIFO, PDIP-163LSSK row 36 · Part / supplier$1.7400$5.22
CD4008: Adder1LSSK row 6 · Part / supplier$1.0000$1.00
CD4081: Quad 2-input AND gate3LSSK row 10$0.5500$1.65
CD4069: Hex inverter2LSSK row 24$0.3000$0.60
Full-size solderless breadboard (830-point class)4LSSK row 45 · Part / supplier$3.0000$12.00
Breadboard regulator module, output set to 5 V1LSSK row 56 · Part / supplier$1.0000$1.00
USB-to-barrel boost cable, marked 9 V1LSSK row 57 · Part / supplier$1.1700$1.17
Insulated IC extractor1LSSK row 53 · Part / supplier$1.2000$1.20
Individual 3-pin button module with embedded pull resistor3
Allocated from supplier lots of 5
LSSK row 66 · Part / supplier$0.4060$1.22
8-channel 5 V current-limited LED module3LSSK row 62 · Part / supplier$0.3775$1.13
Assembled 555 clock module, blue1LSSK row 54 · Part / supplier$0.5300$0.53
Male–male jumper, 10–15 cm160
4 full packs × 40
LSSK row 70 · Part / supplier$0.0325$5.20
Male–female jumper, 10–15 cm80
2 full packs × 40
LSSK row 71 · Part / supplier$0.0325$2.60

Cost and selling-price estimate

ItemUSD / kitBasis
Components$34.52Sum of rounded line extensions below / in CSV
Inbound freight and procurement allowance$5.1815% of components
Loss / replacement allowance$1.735% of components
Packaging, labels and printed insert$4.00Planning allowance
Picking, packing and QA labor$8.3325 minutes at $20/hour; validate on a pilot batch
Loaded cost$53.76Components + all above allowances
Suggested direct-sale price$95.00ceil((loaded cost / (1 − 0.40 − 0.03)) / 5) × $5
Payment fee at suggested price$2.853% of retail
Contribution after fee and loaded cost$38.3940.41% of retail; before fixed business overhead
Loaded cost sensitivity$43.40–$74.47Component 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.

The same dataflow as your SystemVerilog design

The reference is a_plus_b_using_wrapped_fifos.sv, read from the path named in the review. Its two input queues feed a combinational adder and an output queue. The assembled clock drives the exercise.

a_ready = NOT full_A
b_ready = NOT full_B
sum_valid = NOT empty_SUM

push_A = a_valid AND a_ready
push_B = b_valid AND b_ready
pop_SUM = sum_valid AND sum_ready

join = (NOT empty_A) AND (NOT empty_B) AND (NOT full_SUM)
pop_A = join
pop_B = join
push_SUM = join
sum_input = (head_A + head_B) modulo 16

Every accepted join removes one oldest operand from each input queue and puts their sum into SUM. The output queue can accumulate results while SUM_READY is low. When SUM becomes full, joins stop; they resume when space becomes available. In the reference wrapper, a full SUM FIFO does not accept a replacement on the same edge that pops it: the next cycle sees the new free slot.

Three operational buttons

ButtonMeaning at a clock cycle
A_VALIDOffer the four-bit A input word while A_READY is high.
B_VALIDOffer the four-bit B input word while B_READY is high.
SUM_READYAccept the oldest result while SUM_VALID is high.

The eight operand bits use rail-connected data jumpers, as allowed in the source’s adder exercise. Initialization uses a reset jumper. A held request offers or accepts a word on each eligible clock cycle. Set data and requests between clock cycles. Internal addition and queue transfer are automatic.

What the component count represents

The main datapath is three CD74HC40105E FIFOs and one CD4008. Three CD4081 packages provide twelve AND gates: two for the three-way join condition, three for external request/ready qualification and four for the four distinct clock-qualified commands, with three gates spare. Two CD4069 packages provide twelve inversions: six for EMPTY/FULL indication and two for the shared input-FIFO and result-FIFO pop polarities, with four spare. These are preliminary logic quantities for budgeting; they are not a claim that a complete pin-level pulse adapter has been validated.

The distinction matters because the reference uses synchronous FIFO ports and CD74HC40105 has separate SI/SO pulse inputs. The confirmed interface differences and the remaining unverified pulse-adapter details are recorded separately. No extra controller or support-component purchase is silently included to settle that uncertainty.

The reference defaults to width=8 and depth=10. This inventory uses width=4 and depth=16 to match one 40105 per queue and one 4008. The valid/ready behavior is preserved at that configuration; arithmetic wraps modulo 16, as width-limited addition does in the RTL. This is not a claim of identical storage width/depth to the default instance.

Indicators and lesson checks

Three eight-LED modules provide 24 channels. Use 12 for the three queue-head words and six for EMPTY/FULL on the three queues. The remaining channels can show the clock, join and carry; carry is not stored in the four-bit result queue.

  1. Initialize all queues. Both operand queues and the result queue indicate EMPTY.
  2. Offer A values 1, 2 and 3 while B is absent. No sum should appear.
  3. Offer B values 4, 5 and 6. As paired operands become available, SUM accumulates 5, 7 and 9 automatically.
  4. Keep SUM_READY low until SUM fills. Verify that the next pair remains in A/B.
  5. Assert SUM_READY. Read the results in order and observe automatic resumption of joins.
  6. Test simultaneous input offers and output acceptance, reset during activity and arithmetic overflow.

A simulation check uses the actual supplied RTL at width=4, depth=16. That validates the intended transaction behavior; it does not substitute for testing a 40105 pulse-interface circuit on a breadboard.

Quantity and sourcing assumptions

Source register, quantities and pricing assumptions. LSSK component spreadsheet