LOAD and STORE instructions SIMULATION.
In CircuitVerse simulator we see how LOAD and STORE instructions work in Scott's CPU. You can run your own simulation.
In Scott’s CPU, as in many other kind of CPUs, the ALU operates only with registers so we need some kind of instructions to get data from the RAM and to store data into the RAM.
Replying to @vivekgalatage @dendibakh
How computers really work - from transistors to CPU (endorsed by Andrej Karpathy co-founder of OpenAI)
This playlist explain how computers work from scratch. Starting from the basics we build every component step by step.
youtube.com/playlist?list=PL…
nitter.cf/karpathy/status/181889….
Actually this was really good - a tour from one transistor to a small CPU (Scott CPU, to be precise).
The YouTube playlist:
youtube.com/watch?v=HaBMAD-D…
I also haven't yet come across the "But How Do It Know" by Scott, which this is based on, and which looks great:
amazon.com/But-How-Know-Prin…
Turns out this is a whole deeper rabbit hole of people who've also built + simulated it in code, e.g.:
djharper.dev/post/2019/05/21…
Now I must resist the temptation to simulate Scott CPU in C, add tensor cores to it, move it to an FPGA and get it to inference a Llama.
5
115
How CPU runs logic and mathematical operation? how the ALU instruction are fetched decoded and executed?
Here the link to the video youtu.be/Kv2fPywX7EA
Here the link to the circuit circuitverse.org/simulator/e…
Here the link to the playlist youtube.com/playlist?list=PL…
74
In this video we start to see the instrcution set of the Scott's CPU. In particular the ALU instruction. We have built a specific circuit in CirctuitVerse simulator to see every signal in detail.
1
5
120
How computers work - from transistors to CPU - Simulation videos added -
These videos explain how computers work from scratch. Starting from the basics we build every component step by step. Simulation circuit available. You can run your own simulation.
youtube.com/playlist?list=PL…
Replying to @_streetdogg
Yeah, here an other way to view the only thing CPU does: fetch – decode – execute cycle. We use the Scott’s CPU. A 8 bit CPU perfect for education purpose.
youtu.be/1BidIYu6Cls
82
Fetch Simulation – Scott’s CPU - CircuitVerse SIM
This video shows the CircuitVerse simulation of the fetch operation in the Scott’s CPU. We see how the instructions are fetched in the IR and how the IAR is updated to point to the next instruction.
youtu.be/6cskmKVfCqs?si=sZbC…
Simulationg the Clock and the Stepper - Scott's CPU
The Clock and the stepper are the heart of the Control Unit of the Scott’s CPU. To perform its own tasks the CPU needs to follow the proper sequence. Some operations have to be done sooner than others.
youtu.be/g00LypHa7k4
Scott's CPU is a 8 bit CPU perfect for educational purpose. This video simulates the Arithmetic and Logic Unit of the Scott’s CPU.
youtu.be/eyr2Dmj9Nas
1
4
210









