Skip to main content
AmigoFish

How Do Computers Remember?

From Sebastian Lague · · 19 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.

If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.

Watch on YouTube

Not rated yet

Description

Exploring some of the basics of computer memory: latches, flip flops, and registers!

Support my work (and get early access to new videos and source code) on Patreon or Nebula * Patreon: https://www.patreon.com/SebastianLague * Nebula: https://go.nebula.tv/sebastianlague

Source code and Simulator download: * Simulation tool (work in progress): https://sebastian.itch.io/digital-logic-sim * Source code: https://github.com/SebLague/Digital-Logic-Sim

Resources and Inspiration: * https://www.youtube.com/c/BenEater * https://www.coursera.org/learn/build-a-computer * https://en.wikipedia.org/wiki/Flip-flop_(electronics)#SR_NOR_latch * https://en.wikipedia.org/wiki/Sequential_logic * https://electronics.stackexchange.com/questions/65463/why-edge-triggering-is-preferred-over-level-triggering * https://tams.informatik.uni-hamburg.de/applets/hades/webdemos/16-flipflops/20-dlatch/dff-enable.html * Music credits: https://github.com/SebLague/Misc-Project-Info/blob/main/Digital-Logic-Sim/HowComputersRemember.txt

Chapters: 00:00 Intro 00:33 Set-Reset Latch 04:33 Data Latch 05:56 Race Condition! 07:32 Breadboard Data Latch 09:36 Asynchronous Register 11:41 The Clock 13:03 Edge Triggered Flip Flop 14:18 Synchronous Register 16:48 Testing 4-bit Registers 18:25 Outro

Back to Sebastian Lague · Report a problem