Experimenting with Seven-Segment Displays to Visualize Binary Data
https://www.youtube.com/watc...Displaying numbers is trickier than I expected! In this video we explore how to visualize the data inside of our simulated 4-bit registers, with the help of the double dabble algorithm and some seven segment displays.
The latest version of the simulation software is now available here: https://sebastian.itch.io/digital-logic-sim
And the source code is here: https://github.com/SebLague/Digital-Logic-Sim
Correction for a mistake in my boolean algebra explanation: https://www.youtube.com/watch?v=A-vLRThfJ4Q
Series playlist:
https://youtube.com/playlist?list=PLFt_AvWsXl0dPhqVsKt1Ni_46ARyiCGSq
If you'd like to support my work (and get early access to new videos and projects), consider becoming a patron of the channel over here:
https://www.patreon.com/SebastianLague
Resources and Inspiration:
https://en.wikipedia.org/wiki/Double_dabble
https://electronics.stackexchange.com/questions/499884/3-digit-of-7-segment-on-logisim/499916#499916
https://pdf1.alldatasheet.com/datasheet-pdf/view/5697/MOTOROLA/SN54/74LS248.html
Music:
https://github.com/SebLague/Misc-Project-Info/blob/main/Digital-Logic-Sim/7Seg%20Music%20Credits.txt
Chapters
0:00 Intro
0:49 Two’s Complement Refresher
1:34 Seven-Segment Display + Truth Table
2:58 Boolean Algebra Basics
5:43 Simplifying the Equation
6:48 Converting Algebra to Logic Gates
8:33 Computer-Assisted Design
11:25 Testing the Digit Display Design
12:36 A Real-World Version (the 74LS248)
14:20 Visualizing the Data in a 4-bit Register
15:14 All Ten Digits
17:22 Binary Coded Decimal
19:49 The Double Dabble Algorithm
22:58 Dabbling with Logic Gates
24:05 Implementing Double Dabble
26:39 Displaying an 8-bit Number
27:18 Ripple Blanking
29:32 Displaying Negative Numbers
32:34 Testing the Final Design
33:50 Outro
Home
/
Indie Game Developers/
Sebastian Lague/
Experimenting with Seven-Segment Displays to Visualize Binary Data