Home / Learn Verilog / Datapath and Controller
Datapath and Controller
Control signals and status flags.
Bottom lineControl signals and status flags.
Breaking it down
What it is
Controller (FSM) produces enables; datapath registers and ALUs perform operations.
Why it matters
Basis of CPUs and accelerators.
Mechanically speaking
Separate the modules.
Shows up in
- Everyday RTL design
- FPGA and ASIC projects
- Testbenches and debugging
Try it
Sum 1..NVerilog: edit and run
State 1 loops; datapath adds each step.
Check yourself
1. Controller outputs are...
Enables and selects.