Resistance and Ohm's Law
Three variables, three laws, one SIDRA crossbar.
Prerequisites
What you'll learn here
- Use Ohm's law V = IĀ·R and conductance G = 1/R
- Sum currents at a node with Kirchhoff's Current Law (KCL)
- Explain why analog matrix-vector multiply in a crossbar is 'free'
- Write the formula for a column's current in a SIDRACHIP 256Ć256 crossbar
Hook: The Smallest Equation Behind the Biggest Chip
In 1827 Georg Simon Ohm, with a wire, a battery, and a galvanometer, discovered: double the voltage, double the current. Equation: . Three letters, one multiplication.
Two centuries later, SIDRACHIP Y10 has 1.04 trillion memristors doing trillions of multiplications per second using that same equation. Same physics. Same formula. Scale changed.
This chapter shows why that one-liner is the foundation of all analog AI computing.
Intuition: Current = Voltage Ć Conductance
Instead of resistance , use conductance ā multiplication becomes clearer:
A memristor stores a programmable . Apply voltage ā output . One multiply, one cell, electrically.
Connect two memristors to the same output line. Kirchhoffās Current Law (KCL): currents into a node sum to currents out. The two memristor currents add on the wire automatically:
Connect 256 memristors to the same line? Total current = 256-term dot product. 256 such columns in parallel? 256 dot products ā a matrix-vector multiply (MVM).
No ātransportā. No āwalkingā. Just Ohm + Kirchhoff.
Formalism: Ohm + Kirchhoff ā MVM
Three laws, three sentences:
- Ohm: ā current ā voltage, inversely ā resistance.
- KCL: currents entering a node equal currents leaving.
- KVL: voltage drops around any closed loop sum to zero.
With just these three rules you can build 90% of modern electronics.
Let a memristorās conductance be ; with voltage across it, current .
An crossbar has a memristor at every intersection, conductance . Apply on row . Total current at column (by KCL):
That is exactly the definition of a matrix-vector product: .
Energy: one MAC costs ~. At 256Ć256 with V, µS, ns ā ~ J = 10 aJ per cell. ~300,000Ć less than a digital 32-bit FMAC.
Resistance range: > 100 MĪ© ā current too small (lost in meter noise). < 1 kĪ© ā too much current, chip overheats. SIDRA window: ~10 kĪ© ā 1 MĪ© (G = 1 µS ā 100 µS).
Linearity limit: real memristors are not linear ā ohmic at low bias, Schottky/tunneling rollover at high bias. Analog MVM runs in the linear regime (read voltage -0.3 V). Program voltage (~2 V) uses a separate path.
Temperature dependence: . HfOā has eV. +10°C ā +10% drift. SIDRA compensates with periodic refresh + on-die temperature sensing.
Noise (deep-dive in 5.10): thermal (Johnson-Nyquist), shot, 1/f (flicker), RTN (random telegraph). Each adds stddev to . These set the accuracy ceiling of analog MVM.
Column readout: converting analog current to digital is expensive. SIDRA uses a TDC (Time-to-Digital Converter) at 6-bit, 3.125 ps ā not an ADC. Current charges a capacitor, time is measured. 10-30Ć power/area win.
Experiment: 3Ć3 Mini Crossbar
Below is a mini crossbar with 3 input voltages and 9 memristor conductances. Move the sliders; column currents update live per the formula.
Try:
- Zero all weights (expand āG matrixā), set one cell to 10 µS. Only that column should show current.
- Zero all Vās ā currents must be zero (V = 0 ā I = 0).
- Vā = 1.0, others 0: column currents track only row 1ās weights.
- Multiply and add on paper; compare against the display.
Quiz
Lab Task: 4Ć4 MVM by Hand
Pen-and-paper. 4Ć4 crossbar with conductances (µS):
Input voltages: V.
(a) Compute column 1 current. (b) Find the full output current vector. (c) How many clock cycles would a single-ALU CPU need for the same work?
Answers
(a) µA.
(b) . . . Vector: µA.
(c) 4Ć4 MVM = 16 multiplies + 12 adds = 28 ops. On a single-ALU CPU: ~28 cycles. Crossbar: 1. 28Ć faster, 100Ć more efficient.
Cheat Sheet
- Ohm: āŗ (G = 1/R, unit: siemens).
- KCL: currents sum at a node (in = out).
- Analog MVM: column = . One clock cycle, analog.
- Energy: ~10 aJ per cell (10āµĆ under digital FMAC).
- SIDRA resistance range: ~10 kĪ© ā 1 MĪ© (G = 1-100 µS).
- Linearity window: read -0.3 V; program voltage is separate (~2 V).
- Noise floor: thermal, shot, 1/f, RTN ā they cap analog accuracy.
Vision: Beyond Classical Conduction
Ohmās law has held since 1827, but new regimes exist:
- Quantized conductance: in nanowires, ( µS). Single-atom contact research.
- Superconductors: zero resistance; critical for cryogenic (4 K) quantum-hybrid AI accelerators.
- Topological conduction: surface electrons travel long distances without scattering ā low-power interconnect candidate.
- Photonic MVM: Lightmatter replaces Ohm with interfering light. Multiply-accumulate with no electrical current.
- MoirƩ-lattice memristors: tunable G in twisted bilayers; an alternative analog-weight cell to SIDRA.
- Ballistic transport: channel length below the mean free path ā non-ohmic regime, seen in 2D materials.
- Hopping conduction: hops between localized states in amorphous oxides ā the source of memristor LRS/HRS noise.
- Phonon-drag transport: acoustic phonons drag electrons; usable as a temperature-field sensor.
Biggest lever for post-Y10 SIDRA: a photonic crossbar hybrid ā MVM via MZI (Mach-Zehnder) or micro-ring resonators, with electricity only for weight programming. 100Ć bandwidth, 10Ć lower power. Lightmatter / Neurophos target 2027 commercial.
Further Reading
- Next: 1.6 ā Capacitance and the RC Time Constant
- Previous: 1.4 ā MOSFET
- Classic: Hambley, Electrical Engineering ā chapter 2 āResistive Circuitsā.
- Crossbar paper: Hu et al., Memristor-based analog computation and neural network classification, Adv. Mater. 2018.