Multicolumn

Blank

Combinational Logic

Boolean Properties

Multicolumn

Identity & Null AND with itself or its inverse.

Multicolumn

OR Properties OR with itself or its inverse.

Multicolumn

Absorption Classic simplification.

Multicolumn

De Morgan Inverting complex expressions.

CMOS Technology

Gate Structure:

  • Each input is connected to 1 NMOS and 1 PMOS.
  • PMOS (top, with bubble): Conducts if .
  • NMOS (bottom): Conducts if .

Operation:

  • If PMOS conducts Output = 1 (VDD).
  • If NMOS conducts Output = 0 (GND).

Dual Topology:

  • If 2 PMOS in series 2 NMOS in parallel.
  • If 2 PMOS in parallel 2 NMOS in series.

Blank

Specific Logic Gates

XOR (Exclusive OR)

Multicolumn

Blank

Definition and identities of XOR.

XNOR (Equivalence)

Multicolumn

Blank

Inverse of XOR.

Multiplexer (MUX 2:1)

Selects or based on .

Minterms vs Maxterms

Minterms and Maxterms are used to express the Boolean functions in its canonical forms.

  • Minterms (): Sum of Products (SOP), the output is equal to 1
  • Maxterms (): Product of Sums (POS), the output is equal to 0

Multicolumn

Blank

Sequential Logic

Latches

SR Latch (Set-Reset)

  • Asynchronous Latch.
  • Set Priority: (if ).
  • Reset Priority: (if ).

D-Latch

  • Level sensitive.

  • Transparent when (or Clock high).

Flip-Flops

D-FlipFlop

  • Edge sensitive (Rising or falling edge).
  • Built with two D-Latches in series (Master-Slave).
  • No β€œGated Clock” allowed.

Timing Constraints

Temporal Definitions:

  • : Clock period.
  • : Propagation delay ().
  • Duty Cycle: .

Blank

Timing Analysis

Setup Time () Time before the clock edge where data must be stable.

Hold Time () Time after the clock edge where data must remain stable.

Stability Conditions:
If changes within the window , the flip-flop enters Metastability (indeterminate state 0 or 1).

Critical Path

The critical path determines the maximum frequency.


Number Systems

Signed Representations

Sign-Magnitude:

  • MSB = Sign ().
  • Rest = Magnitude.
  • Issue: Two zeros ().

1’s Complement:

  • Positive: Same as Sign-Mag.
  • Negative: Total bit inversion (NOT).
  • Issue: Two zeros.

2’s Complement:

  • Negative: Total inversion + 1.
  • Only one zero. Standard.

Excess-N (Biased):

  • .

Multicolumn

Blank

Karnaugh & FSM

Karnaugh Map Method

Used to simplify combinational logic.

  1. Draw the grid: cells (Gray Code: 00, 01, 11, 10).

  2. Fill: Place 1s from the truth table.

  3. Group: Powers of 2 (). Largest groups possible.

  4. Sum: .

Example 3 vars:

Finite State Machine (FSM)

Design Steps

  1. State Diagram: Define states (circles) and transitions (arrows).
  2. Completeness & Consistency:
    • Completeness: At least one active transition possible.
    • Consistency: At most one active transition at a time.
  3. State Encoding:
    • Number of bits .
    • Transition table (Current State Next State).
  4. Logic:
    • Transition Logic (Next State Logic).
    • Output Logic.

Blank

Moore vs Mealy

Moore FSM

Outputs depend only on the current state.

flowchart LR
    I[Inputs] --> L1[Transition Logic]
    L1 --> R[State Reg]
    R -->|Current State| L1
    R --> L2[Output Logic]
    L2 --> O[Outputs]
  • Output synchronous with state.

Mealy FSM

Outputs depend on current state AND inputs.

flowchart LR
    I[Inputs] --> L1[Transition Logic]
    I ----> L2
    L1 --> R[State Reg]
    R -->|Current State| L1
    R --> L2[Output Logic]
    L2 --> O[Outputs]
  • Output asynchronous (reacts immediately to inputs).

Generic Circuit

  • Transition Logic: Pure combinational. Determines
  • State Memory: Flip-Flops ().
  • Output Logic: Determines final output.

Handwritten