Home / Learn Verilog / Memory-Mapped Registers
Memory-Mapped Registers
Control hardware via addresses.
Quick summaryControl hardware via addresses.
How to think about this
What it is
Software reads and writes addresses that map to control and status registers.
Why it matters
The CPU-to-hardware interface.
Mechanically speaking
Decode the address, update the register.
Shows up in
- Everyday RTL design
- FPGA and ASIC projects
- Testbenches and debugging
Try it
Register blockVerilog: edit and run
Writing CONTROL bit 0 turns the LED on.
Check yourself
1. Software controls hardware via...
MMIO.