Microarchitecture¶
Microarchitecture Overview¶
The microarchitecture of Mach-V has currently evolved through two distinct iterations:
Mach-V Microarchitecture - Version 1
Mach-V Version 1 serves as the baseline implementation, featuring a classic RISC-V scalar architecture:
- Classic 5-Stage Pipeline: Implements the standard Fetch, Decode, Execute, Memory, and Writeback stages for balanced throughput.
- Comprehensive Hazard Management: Dedicated hardware for data forwarding and hazard detection resolves data and control hazards automatically.
- Scalar In-Order Execution: Issues, executes, and commits instructions sequentially (single-issue) to ensure deterministic behavior and architectural simplicity.
Mach-V Microarchitecture - Version 2
Mach-V Version 2 focuses on timing optimization and hardware acceleration, introducing the following enhancements:
- Enhanced Clock Frequency: Integrated Clock Wizard boosts the operating frequency to 115 MHz (surpassing the 100 MHz baseline).
- Critical Path Optimization: PC logic is relocated from the Execute (EXE) stage to the Memory (MEM) stage to relax timing constraints.
- Hardware-Accelerated Arithmetic: Replaces native design with optimized AMD/Xilinx IP cores for high-performance integer multiplication and division.