FPGA · Verilog HDL · Zynq‑7 ZC702
An M.Tech project on hardware‑accelerated malaria diagnosis, later published in two research papers — k‑Nearest Neighbors, CNN and Decision Tree classifiers, synthesized in 8‑bit fixed‑point and benchmarked across parallel, pipelined and basic architectures.
A hardware-accelerated screening pipeline for malaria. Blood-smear images are preprocessed, then classified as parasitic or uninfected by machine-learning models running directly on an FPGA — fast, compact and low power, without a GPU or a PC in the loop.
Malaria diagnosis from blood smears needs to be quick and affordable, including where compute resources are limited.
Images are converted to grayscale, binarized and shrunk to a small fixed size (8×8 works best), then fed to three classifiers: CNN, k‑NN and Decision Tree.
Each model is written in Verilog with 8‑bit fixed‑point arithmetic and built as basic, parallel and pipelined architectures, then compared on area, power and delay.
Real-time classification at a 200 MHz clock with accuracy up to 80%, showing that lightweight models on an FPGA can support low-power malaria screening.
Every classifier shares the same front end: grayscale conversion, thresholded binarization, and downsampling to a hardware‑friendly resolution. This runs live on the actual Kaggle blood‑smear photographs used in the Project.
Live pipeline, running on the real Cell Images for Detecting Malaria dataset samples (Kaggle).
Each classifier is realized as an independent hardware module. Pick a classifier and an implementation style to see the actual figure from the project — and what it costs in area, power and timing.
Accuracy, on‑chip power and Cadence Genus timing delay across every classifier × architecture pairing, synthesized on the Zynq‑7 ZC702 at 200 MHz, 8‑bit fixed‑point.



Higher resolution preserves more morphological detail — at a steep hardware price. 8×8 was selected as the optimum trade‑off for FPGA deployment.
Beyond raw accuracy: precision, recall and F1‑score across 5,512 test images, split evenly between infected and uninfected blood cells.
Estimated at 200 MHz (5 ns clock period) across the full inference pipeline — input buffering through output decision.
| Classifier | Architecture | Clock Cycles | Latency (µs) | Throughput (img/s) |
|---|
The full system architecture, dataset composition and synthesized RTL schematics referenced throughout this page. Click any figure to enlarge.






The path each classifier takes from HDL source to a live, running design on the Zynq‑7 ZC702 board.
RTL for KNN, CNN & DT — parallel / pipelined
Netlist, area, power & timing at 200 MHz
Implementation run produces the .bit file
Program the Zynq‑7 device with the bitstream
Feed test images, observe class output on hardware