BEC302 · YEAR 2 · SEM 3
DIGITAL SYSTEM DESIGN — Last-Night Cheat Sheet
Five units: number systems and minimisation, MSI combinational blocks, flip-flops and state machines, logic-family electrical limits, and data converters. The strips are unit-specific.
1. Logic simplification and combinational logic design
Recall anchor. review of Boolean algebra and Demorgans theorem, SOP & POS forms and Karnaugh maps up to 5 variables: a truth table is converted into canonical SOP/POS form and then minimised by grouping adjacent minterms into power-of-two blocks.
Scored points.
- Number Systems and Binary arithmetic convert between binary, octal, decimal and hexadecimal; weighted positional expansion gives the decimal value.
- signed magnitude representation, plus 1's and 2's complement, fixes how negative numbers are written; 2's complement makes subtraction an addition.
- Binary codes and code conversion cover BCD, Excess-3, Gray and ASCII; Gray code changes one bit between successive values.
- review of Boolean algebra and Demorgans theorem supplies complement, absorption and distributive identities for manipulating expressions.
- SOP & POS forms and Canonical forms list minterms (Σm) or maxterms (ΠM); each canonical form maps one-to-one to a truth table.
- Karnaugh maps up to 5 variables group 1s for SOP or 0s for POS; wraparound adjacency and don't-care entries allow larger groups.
- tabulation method (Quine–McCluskey) finds prime implicants systematically and selects essential ones with a cover chart when K-maps become unwieldy.
Formula strip.
Micro-example. (1011)₂ = 8+0+2+1 = 11; the 9's complement of 3 in one BCD digit is 9−3 = 6, and a 4-cell K-map group removes 2 literals.
Examiner line. For logic simplification, write the number conversion or canonical expansion first, then show each grouping or theorem step before the final minimal expression.
2. Combinational circuits
Recall anchor. Analysis and Design of combinational circuits with multiplexers, decoders, half and full adders: outputs depend only on present inputs, so the design is a truth table realised by adders, comparators or MSI selection devices.
Scored points.
- Analysis and Design of combinational circuits proceeds from truth table to Boolean expression to gate-level or MSI implementation.
- MSI devices like comparators give outputs for A>B, A=B and A<B by cascading magnitude inputs.
- multiplexers select one of 2ⁿ inputs using n select lines; demultiplexers route one input to one of 2ⁿ outputs.
- encoder, decoder and circuit realization using Multiplexers and decoders: an n-to-2ⁿ decoder asserts one output per input code; an encoder performs the inverse.
- half and full adders: S=A⊕B and C=AB for a half adder; a full adder adds carry-in and is built from two half adders plus an OR.
- subtractors, serial and parallel adders: ripple-carry adders chain full adders; parallel-prefix adders reduce carry delay; BCD adder adds 0110 when the sum exceeds 9.
- barrel shifter and ALU combine a shifter with arithmetic and logic functions selected by control lines.
Formula strip.
Micro-example. For A=B=C_in=1, S = 1⊕1⊕1 = 1 and C_out = 1·1 + 0·1 = 1; a 4-to-1 MUX needs 2 select lines, and BCD 7+5 (1100) becomes 1 0010 after adding 0110.
Examiner line. For combinational circuits, give the truth table or selection equation, then name the MSI block and show the pin-level connection that implements it.
3. Sequential logic design
Recall anchor. Building blocks like S-R, JK and Master-Slave JK FF and Applications of Flip Flops: ripple and synchronous counters: storage elements hold state between clocks, and the characteristic equation predicts the next state from inputs and present state.
Scored points.
- Building blocks like S-R, JK and Master-Slave JK FF, D FF and T FF: the JK pair J=K=1 toggles, S-R with S=R=1 is forbidden, D captures the input and T toggles.
- edge triggered FF samples inputs only at a clock edge, avoiding the race-around problem of level-triggered designs; master-slave uses two phases.
- Flip flop conversion changes one type into another by deriving the input equations from the target characteristic equation, e.g. D→T uses D=T⊕Q.
- Applications of Flip Flops: ripple and synchronous counters—ripple clocks each stage from the previous output, synchronous clocks all stages together for higher speed.
- Ring counter and Johnson counter: a ring shifts a single 1 through N stages; a Johnson counter feeds back the complement and gives 2N states.
- shift registers: SISO, SIPO, PISO, PIPO, Bidirectional shift register and Universal shift register provide serial/parallel loading and left/right shifting.
- Finite state machines: Mealy and Moore machines, State diagrams, state reduction, Analysis of clocked sequential circuits and Design of clocked sequential circuits—Mealy output depends on state and input, Moore output only on state.
Formula strip.
Micro-example. A JK flip-flop with J=K=1 toggles every edge; a 4-bit ripple counter divides by 2⁴ = 16 (mod-16, 16 states), and a 4-bit SISO register needs 4 clocks to load a serial word.
Examiner line. For sequential design, draw the state table or diagram, write the characteristic or excitation equation used, and state the count/modulus that results.
4. Logic families and semiconductor memories
Recall anchor. TTL NAND gate specifications, noise margin, propagation delay, fan-out and CMOS families and their interfacing: TTL and CMOS differ in voltage levels, speed and power, and the data-sheet limits determine reliable interfacing.
Scored points.
- TTL NAND gate uses a multi-emitter input transistor and totem-pole output; the standard family has defined V_IH, V_IL, V_OH and V_OL levels.
- specifications and noise margin: low and high noise margins are the gaps between what a gate guarantees to output and what the next gate recognises.
- propagation delay t_pLH and t_pHL limit the maximum clock rate; the average t_pd is used in timing budgets.
- fan-in counts permitted inputs; fan-out is the number of standard loads an output can drive, set by output current over input current.
- tristate TTL adds a high-impedance state so multiple sources can share a bus; ECL offers very high speed with small swings and high power.
- CMOS families and their interfacing: CMOS gives low static power and high input impedance; level and current compatibility must be checked when driving TTL.
- memory elements and concept of programmable logic devices such as FPGA support stored state and reconfigurable logic; Verilog RTL coding of combinational and sequential elements and logic implementation using programmable devices complete the flow.
Formula strip.
Micro-example. For V_OH,min=2.4 V and V_IH,min=2.0 V, NM_H = 0.4 V; with I_OL,max=16 mA and I_IL,max=1.6 mA, fan-out = 10 standard loads.
Examiner line. For logic families, quote the voltage/current limits, compute the margin or fan-out, and say which family or interface satisfies the stated constraint.
5. Digital-to-Analog converters (DAC)
Recall anchor. Specifications of DACs, Weighted resistor, R-2R ladder and ADC Types: dual slope, successive approximation, counting type, flash: converters map an n-bit code to a analogue level or a sampled voltage to a code, with resolution and conversion time as the key figures.
Scored points.
- Specifications of DACs include resolution, accuracy, settling time, monotonicity and full-scale error; LSB size sets the smallest distinguishable change.
- Weighted resistor DAC sums binary-scaled currents but needs a wide range of resistor values; R-2R ladder uses only two values and is easier to fabricate.
- Analog-to-digital converters (ADC): Specifications of ADCs include sampling rate, resolution, conversion time and quantisation error of ±½ LSB.
- principle of ADC samples and holds the input, then quantises and encodes it; anti-alias filtering precedes sampling.
- switched capacitor circuits: Basic concept, practical configurations and ADC etc use capacitor charge redistribution for sampling and successive approximation.
- ADC Types: dual slope integrates over a fixed time then counts down with a reference (slow but accurate); successive approximation uses a binary search in n steps.
- counting type compares a ramp to the input with up to 2ⁿ counts; flash uses 2ⁿ−1 comparators for the fastest single-step conversion.
Formula strip.
Micro-example. An 8-bit DAC with V_ref=5 V and code 128 (10000000) gives V_out = 5×128/256 = 2.5 V; LSB = 5/255 ≈ 19.6 mV, and an 8-bit successive-approximation ADC at 1 MHz needs about 8 µs.
Examiner line. For converters, name the architecture first, write the resolution or conversion-time relation, and show the numeric code-to-voltage or time calculation.
Memory map
%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '17px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
U1["Logic simplification and combinational logic design"] --> U1a["Karnaugh maps up to 5 variables"] --> U1b["tabulation method"]
U1b --> U2["Combinational circuits"] --> U2a["half and full adders"] --> U2b["circuit realization using Multiplexers and decoders"]
U2b --> U3["Sequential logic design"] --> U3a["JK and Master-Slave JK FF"] --> U3b["Finite state machines: Mealy and Moore machines"]
U3b --> U4["Logic families and semiconductor memories"] --> U4a["TTL NAND gate"] --> U4b["concept of programmable logic devices such as FPGA"]
U4b --> U5["Digital-to-Analog converters (DAC)"] --> U5a["R-2R ladder"] --> U5b["successive approximation"]
Rapid recall
- U1 Logic simplification and combinational logic design — Number Systems; Binary arithmetic; signed magnitude representation; Binary codes; code conversion; review of Boolean algebra and Demorgans theorem; SOP & POS forms; Canonical forms; Karnaugh maps up to 5 variables; tabulation method.
- U2 Combinational circuits — Analysis and Design of combinational circuits; MSI devices like comparators; multiplexers; demultiplexers; encoder; decoder; circuit realization using Multiplexers and decoders; half and full adders; subtractors; serial and parallel adders; BCD adder; barrel shifter and ALU.
- U3 Sequential logic design — S-R, JK and Master-Slave JK FF; D FF; T FF; edge triggered FF; Flip flop conversion; ripple and synchronous counters; Ring counter; Johnson counter; SISO, SIPO, PISO, PIPO; Bidirectional and Universal shift register; Mealy and Moore machines; State diagrams; state reduction; Analysis and Design of clocked sequential circuits.
- U4 Logic families and semiconductor memories — TTL NAND gate; specifications; noise margin; propagation delay; fan-in; fan-out; tristate TTL; ECL; CMOS families and their interfacing; memory elements; programmable logic devices such as FPGA; Verilog RTL coding; logic implementation using programmable devices.
- U5 Digital-to-Analog converters (DAC) — Specifications of DACs; Weighted resistor; R-2R ladder; Specifications of ADCs; principle of ADC; switched capacitor circuits; dual slope; successive approximation; counting type; flash.
Final-answer checklist (BEC302)
- Say whether the circuit is combinational or sequential before choosing a truth table, characteristic equation or state diagram.
- Write the arithmetic relation for the specific block—adder, MUX, counter, fan-out or converter—before substituting values.
- For K-maps show the group size; for flip-flops show the next state; for converters show the code and LSB explicitly.
- Quote units where they matter (V, mA, ns, µs, LSB) and keep the division or exponent visible.
- End with the requested output—minimal expression, sum/carry, state count, noise margin or analogue voltage—in one sentence.