A Single-Cycle 64-Bit RISC-V Register File

In this web content, the author discusses the concept of reading and writing to the same register in a single-cycle processor. They explain that while software engineers often think of events as happening sequentially, hardware actually operates in a continuous manner. The fastest memory in a processor is the register file, which controls reading and writing to registers. The author provides an example of using registers in the moss register file and explains how changes in input values can affect the output values. They introduce the concept of edge-triggered flip-flops to handle write-back operations and ensure stability in the circuit. The author emphasizes that while values may be changing frequently within a clock cycle, as long as they become stable, the processor appears sequential.

https://danielmangum.com/posts/single-cycle-rv64-register-file/

To top