News for hackers. Stuff that matters.
Re:How a CPU works: Bare metal C on my RISC-V toy CPU by sgtnoodle on Thursday January 26, 2023 @10:47PM (#34542213)
In college, we wrote a CPU simulation in C, for a simple architecture called "little computer". You could call it an emulator, but the whole idea was to faithfully implement all the pipelining and register renaming and stuff. A main loop iteration was equivalent to a clock cycle.

There are no comments on this comment yet.