Q(t+1) = D / JQ' + K'Q
TRIGGER: ACTIVE_RISING_EDGE
ARCHITECTURE: MASTER-SLAVE
STATE: RETAINED
ASKiIMAN™ DOOR 03 / THE DIGITAL MACHINE / REALM 12
--:-- · -- --- ----

Ontological Layer: Discrete State Retention

Latches & Flip-Flops

The Physical Construction of Digital Memory

The Architecture of the Past

Combinational logic calculates the present, but to move forward, a machine must remember. By crossing the outputs of basic logic gates back into their own inputs, we create a bistable circuit—a trap for a single bit of data. This realm details the evolution from volatile, level-sensitive Latches to precise, edge-triggered Flip-Flops, forming the atomic memory cells required for complex sequential machines.

LOGIC GATES → CROSS-COUPLING → STATE RETENTION (LATCH) → EDGE TRIGGERING → FLIP-FLOP → TRUTH & EXCITATION → NEXT-STATE CONTROL

The 18 Memory Nodes

Ontological Mapping: From Cross-Coupling to Edge-Triggering

GROUP 01

Memory Fundamentals

  • 1-bit storage concept
  • Bistable multivibrator
  • Set vs Reset states
  • Complementary outputs (Q, Q̅)
GROUP 02

Latches (Level-Sensitive)

  • Level-sensitive storage
  • Enable / gate control
  • Transparent state (Active)
  • Hold state (Inactive)
GROUP 03

SR Latch

  • Cross-coupled NOR/NAND
  • Set (S=1) & Reset (R=1)
  • Hold condition (S=0, R=0)
  • Forbidden state (S=1, R=1)
GROUP 04

Gated SR Latch

  • Enable input addition
  • Gating logic (AND gates)
  • Enabled operation
  • Disabled storage isolation
GROUP 05

D Latch (Transparent)

  • Data (D) input definition
  • Complementary SR generation
  • Eliminates forbidden state
  • Transparent when EN=1
GROUP 06

Edge-Triggering

  • Edge-triggered storage
  • Rising vs Falling edge
  • Dynamic input indicator (Triangle)
  • Synchronous state update
GROUP 07

D Flip-Flop

  • Data delay flip-flop
  • Captures D at clock edge
  • Q(t+1) = D
  • Foundation of Registers
GROUP 08

JK Flip-Flop

  • Universal flip-flop logic
  • Set (J=1) / Reset (K=1)
  • Toggle state (J=1, K=1)
  • Resolves SR forbidden state
GROUP 09

T Flip-Flop

  • Toggle (T) input
  • Hold (T=0) / Toggle (T=1)
  • Divide-by-2 frequency action
  • Foundation of Counters
GROUP 10

Preset & Clear

  • Asynchronous override inputs
  • Force Set (PRE=0)
  • Force Reset (CLR=0)
  • Independent of clock edge
GROUP 11

Truth/State Tables

Q(t)INQ(t+1)
000
011
100
111
  • Present State + Input evaluation
  • Deriving the Next State
  • Flip-Flop behavior definition
  • Forward logical analysis
GROUP 12

Excitation Tables

Q(t)Q(t+1)INPUTS
000 X
01
10
11X 0
  • Reverse logic mapping
  • Desired transition (Q → Q+)
  • Finding required inputs
  • Crucial for FSM/Counter design
GROUP 13

Characteristic Equations

=
=
=
  • Next-state algebraic representation
  • Derived from K-Maps of truth table
  • Mathematical core of sequential logic
  • Used in formal verification
GROUP 14

Flip-Flop Conversion

  • Synthesizing one FF from another
  • Combining Excitation + Truth tables
  • Combinational conversion logic
  • e.g., D-FF to T-FF via XOR
GROUP 15

Latch vs Flip-Flop

  • Level-sensitive (Transparency window)
  • Edge-triggered (Instantaneous capture)
  • Enable vs Clock pin behavior
  • Timing vulnerability differences
GROUP 16

Master-Slave Concept

  • Two-stage sequential storage
  • Opposite clock phases (Inverted)
  • Master loads while Slave holds
  • Prevents Race-Around Condition
GROUP 17

Sequential Design Bridge

  • Next-state logic + Memory element
  • Closing the feedback loop
  • Excitation equations to hardware
  • Bridge to State Machines (FSMs)
FINAL PROTOCOL

18 — Memory Hardware Laboratory

1. IDENTIFY REQUIRED Q(t+1)
2. CONSULT EXCITATION TABLE
3. SYNTHESIZE INPUT LOGIC
[1] TRUTH VS EXCITATION [2] LATCH ISOLATION [3] EDGE DETECTION [4] ASYNC OVERRIDES [5] FF CONVERSION

A memory element is the physical anchor of time. By mastering how D captures data, T toggles frequencies, and JK provides universal control, we forge the basic units required for the complex Registers, Counters, and Finite State Machines of the higher Realms.

SIMULATION RUNNING