Building FPGA-Accelerated Models
Complete tutorial for creating models compatible with the OncologyAI FPGA platform
Prerequisites
Required software and hardware to develop FPGA models
Hardware Requirements
- PYNQ Z1 Development Board (Zynq-7020)
- MicroSD card (16GB+) with PYNQ image
- Ethernet connection to host machine
- Development PC with 16GB+ RAM
Software Requirements
- Xilinx Vivado 2022.1+ (Design Suite)
- Vitis HLS (for C/C++ to RTL)
- Python 3.8+ with PYNQ library
- Git for version control
FPGA Development Workflow
Understanding the end-to-end process of creating FPGA-accelerated models
1
Algorithm Design
Define your computation in C/C++
2
HLS Synthesis
Convert to RTL using Vitis HLS
3
Overlay Creation
Build bitstream in Vivado
4
Integration
Connect to OncologyAI platform
Why FPGA Acceleration?
FPGAs provide massive parallelism for computationally intensive tasks like cellular automaton simulations, Monte Carlo methods, and matrix operations. The PYNQ Z1 can achieve 100-1000x speedups compared to CPU-only implementations.
Project Structure
project-structure
bashPYNQ Z1 Specifications
Key hardware specifications for the target platform
Processing System
- Dual-core ARM Cortex-A9 @ 650MHz
- 512MB DDR3 RAM
- 16GB MicroSD storage
- Gigabit Ethernet
Programmable Logic
- 53,200 LUTs
- 106,400 Flip-Flops
- 630KB Block RAM
- 220 DSP Slices
Interfaces
- AXI4 Master/Slave ports
- AXI4-Lite for control
- AXI4-Stream for data
- Interrupt support