Simulating 256 Bytes of RAM

Sebastian Lague April 12, 2025
Video Thumbnail

About

No channel description available.

Video Description

Let’s try building a whopping 256 bytes of random access memory (inside a digital logic simulation). This is part 5 of my journey to explore the basics of how computer’s work. If you’d like to watch the other episodes, you can find the full playlist here: https://youtube.com/playlist?list=PLFt_AvWsXl0dPhqVsKt1Ni_46ARyiCGSq&si=tYFx249Y6Nufctdb The simulation program is in a slightly rough and unstable state as I’m developing it as I go, but if you’d like to try it out, the latest version (and source code) is available over here: https://sebastian.itch.io/digital-logic-sim https://github.com/SebLague/Digital-Logic-Sim If you’d like to support me in creating more videos, consider becoming a patron of the channel: https://www.patreon.com/c/SebastianLague This series was largely inspired by the 8-bit breadboard computer series by @BenEater (so be sure to check that out if you haven’t already)! Image and music credits: https://raw.githubusercontent.com/SebLague/Misc-Project-Info/refs/heads/main/Digital-Logic-Sim/ram-credits.txt Chapters: 00:00 Intro and a New Simulation 01:50 A Grid of Latches 03:12 Decoder 04:42 1-Bit Memory Cell 06:42 Rambling about Dynamic and Static Memory 08:46 16 Bits of Memory 11:41 Surprise Inspection 12:16 256 Bits of Memory 14:28 Asynchronous RAM 18:02 A Brief Note Concerning Caches 19:00 Synchronous RAM 22:28 Equality Chip 23:28 The Final Test 24:37 A Trip Down Memory Lane

Boost Your RAM Skills

AI-recommended products based on this video

Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22
Loading...
TEAMGROUP Elite DDR4 16GB Kit (2 x 8GB) 3200MHz PC4-25600 CL22 Unbuffered Non-ECC 1.2V SODIMM 260-Pin Laptop Notebook PC Computer Memory Module Ram Upgrade - TED416G3200C22DC-S01

TEAMGROUP Elite DDR4 16GB Kit (2 x 8GB) 3200MHz PC4-25600 CL22 Unbuffered Non-ECC 1.2V SODIMM 260-Pin Laptop Notebook PC Computer Memory Module Ram Upgrade - TED416G3200C22DC-S01

(3,629)
$57.46
$7.05 delivery Jun 17 - 20Only 3 left in stock.
Loading...
Gigastone 32GB 5-Pack Micro SD Card, Camera Plus, Nintendo-Switch Compatible, High Speed 90MB/s, 4K Video Recording, Micro SDHC UHS-I A1 Class 10

Gigastone 32GB 5-Pack Micro SD Card, Camera Plus, Nintendo-Switch Compatible, High Speed 90MB/s, 4K Video Recording, Micro SDHC UHS-I A1 Class 10

(8,903)
$34.98
FREE delivery Sat, Jun 14 on your first order
400+ bought in past month
Loading...
Firewall Mini PC Octa-core i3-N305, 32GB DDR5 RAM 512GB SSD, 4 x 2.5GbE i226V LAN Fanless Computer Hardware, Micro Router Appliance, AES-NI, TF Card Slot, Dual 4K Display HDMI 2.1 + DP 1.4

Firewall Mini PC Octa-core i3-N305, 32GB DDR5 RAM 512GB SSD, 4 x 2.5GbE i226V LAN Fanless Computer Hardware, Micro Router Appliance, AES-NI, TF Card Slot, Dual 4K Display HDMI 2.1 + DP 1.4

(0)
$666.99
FREE delivery Jul 3 - 24
Loading...
Inland 32GB Class 10 SDHC Flash Memory Card Standard Full Size SD Card USH-I U1 Trail Camera by Micro Center (2 Pack)

Inland 32GB Class 10 SDHC Flash Memory Card Standard Full Size SD Card USH-I U1 Trail Camera by Micro Center (2 Pack)

(41,906)
$35.32$35.15
FREE delivery Sun, Jun 15
Loading...
VersionTECH. Gaming Mouse Ergonomic Wired Computer Mouse with 7 Colors LED Backlight, 4 DPI Settings Up to 3600 DPI Compatible for Chromebook Windows 7/8/10/11 XP/Mac/Linux Gamer/Notebook/MacBook
Best Seller

VersionTECH. Gaming Mouse Ergonomic Wired Computer Mouse with 7 Colors LED Backlight, 4 DPI Settings Up to 3600 DPI Compatible for Chromebook Windows 7/8/10/11 XP/Mac/Linux Gamer/Notebook/MacBook

(15,947)
$12.79
FREE delivery Thu, Sep 11 on your first order
500+ bought in past month
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
N2 Pro 8K USB 4 Mini PC Ryzen 7 6800H, 32GB DDR5 RAM 512GB NVMe SSD Gaming Mini PC, Quad Display, Wi-Fi 6E, USB 3.2, BT 5.2

N2 Pro 8K USB 4 Mini PC Ryzen 7 6800H, 32GB DDR5 RAM 512GB NVMe SSD Gaming Mini PC, Quad Display, Wi-Fi 6E, USB 3.2, BT 5.2

(30)
$629.99
FREE delivery Sat, Jan 3
Loading...
GMKtec EVO-X2 AI Mini PC Ryzen Al Max+ 395 (up to 5.1GHz) Mini Gaming Computers, 96GB LPDDR5X 8000MHz (12GB*8) 1TB PCIe 4.0 SSD, Quad Screen 8K Display, WiFi 7 & USB4, SD Card Reader 4.0 Global Recycled Standard

GMKtec EVO-X2 AI Mini PC Ryzen Al Max+ 395 (up to 5.1GHz) Mini Gaming Computers, 96GB LPDDR5X 8000MHz (12GB*8) 1TB PCIe 4.0 SSD, Quad Screen 8K Display, WiFi 7 & USB4, SD Card Reader 4.0 Global Recycled Standard

(69)
$3,259.99
FREE delivery Sat, Jan 3