LSSK / LOGIC SYNTHESIS SCHOOL KIT

Kit 5 / 6 · one learner or pair

FSM and custom sequence tasks

A 01 starter and a configurable, overlapping recognizer for any 2–4 bit binary sequence. Includes an assembled clock and an offline task generator.

Download CSVExercise catalogue
$29.21estimated component cost
$49.05cost with packing, labor and allowances
$90.00suggested direct-sale price, before tax / delivery

Coverage: P05, P06. 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, 2 button modules, 0 self-locking touch switches, 1 assembled clock generator, 1 LED bars (8 LEDs), 0 seven-segment displays, 200 M–M and 40 M–F jumpers. Other indicators and tools are itemized below.

Component inventory

ComponentQuantity (pieces)SourceUSD / pieceLine USD
CD4013: Dual D flip-flop1LSSK row 3$0.3500$0.35
CD4069: Hex inverter1LSSK row 24$0.3000$0.30
CD4081: Quad 2-input AND gate1LSSK row 10$0.5500$0.55
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 resistor2
Allocated from supplier lots of 5
LSSK row 66 · Part / supplier$0.4060$0.81
8-channel 5 V current-limited LED module1LSSK row 62 · Part / supplier$0.3775$0.38
Assembled 555 clock module, blue1LSSK row 54 · Part / supplier$0.5300$0.53
Male–male jumper, 10–15 cm200
5 full packs × 40
LSSK row 70 · Part / supplier$0.0325$6.50
Male–female jumper, 10–15 cm40
1 full packs × 40
LSSK row 71 · Part / supplier$0.0325$1.30
CD40174: Hex D flip-flop1LSSK row 26$0.5800$0.58
CD4076: 4-bit register (DFF?)1LSSK row 25$0.1900$0.19
CD4073: Triple 3-input AND3LSSK row 9$0.4500$1.35
CD4072: Dual 4-input OR3LSSK row 21$0.2500$0.75
CD4071: Quad 2-input OR1LSSK row 20$0.2500$0.25

Cost and selling-price estimate

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

Give each student a different sequence

Assign a binary pattern of length 2–4, for example 01, 001, 101 or 1011. Connect the already assembled 555 generator directly to the register clock inputs and set it to approximately 0.5–1 Hz. DATA is 1 while its button is held and 0 while released. RESET starts a fresh input stream.

Set DATA between clock edges. Each rising edge records one bit, so holding DATA for three rising edges enters the same bit three times. A pattern describes the button states at successive clock edges. MATCH indicates whether the most recent edge completed the pattern; it holds until the next edge. Overlaps count: 10101 contains two matches for 101.

Worked example: pattern 1011

States encode the length of the longest recognized prefix: S0=00 (none), S1=01 (1), S2=10 (10), S3=11 (101). RESET sets both state bits and MATCH to 0.

Current stateInput 0: next / matchInput 1: next / match
S0 (00)S0 / 0S1 / 0
S1 (01)S2 / 0S1 / 0
S2 (10)S0 / 0S3 / 0
S3 (11)S2 / 0S1 / 1

Define minterm index m = 4Q1 + 2Q0 + X. Then D1=m2∨m5∨m6, D0=m1∨m3∨m5∨m7, and Dmatch=m7. The eight minterms are the eight AND combinations of Q1/¬Q1, Q0/¬Q0 and X/¬X. Test 1011011: matches occur on samples 4 and 7.

Why this hardware covers every offered custom task

A Mealy recognizer for an L-bit pattern needs L prefix states here; for L≤4, two state bits are sufficient. Three inverted signals come from CD4069. Three CD4073 packages provide nine 3-input AND gates, enough to generate all eight minterms of (Q1,Q0,X). For each of D1, D0 and Dmatch, two 4-input OR gates feed one 2-input OR. Three CD4072 packages and one CD4071 therefore implement any three truth-table outputs over these inputs.

Use three CD40174 flip-flops to register Q1, Q0 and MATCH on the same rising edge of the assembled clock. Its reset is active low; invert the active-high RESET button with a spare CD4069 gate. A fourth inverter remains available to translate reset polarity for the alternative CD4076 if needed—follow that part’s own control truth table. Tie unused D inputs and all register control inputs to defined levels. CD4076 is supplied as the source’s alternative storage experiment; it does not add unlimited FSM capacity.

Unused state encodings for patterns shorter than four bits go to S0 with MATCH=0. Start from reset before each test stream. The minterm implementation has a guaranteed capacity for the stated 2–4 bit tasks. Longer patterns, independent event buttons, handshakes or arbitrary teacher-defined FSMs require a fresh state/gate/wire count and are outside this fixed kit.

Student hand-in

  1. A state diagram naming the recognized prefix at each state, including overlap transitions.
  2. A transition table, state encoding and three next-value equations.
  3. A pin-level wiring plan and gate allocation within the kit.
  4. Tests for a correct code, an almost-correct code, overlaps, reset midway through a code, and repeated bits when DATA is held across several clock cycles.
  5. A demonstration that state changes at clock edges and that DATA changes between edges do not immediately change the stored state.

Starter 01 uses both halves of a CD4013: seen_zero_next = NOT X, match_next = seen_zero AND X, with both flip-flops reset to 0. This correctly rejects an initial 1 and recognizes 01 without needing an implicit earlier zero.

Quantity and sourcing assumptions

Source register, quantities and pricing assumptions. LSSK component spreadsheet