DT2HDL: A Binary Decision Tree to HDL Generation Tool

Edge computing devices ideally need to process large amounts of sensor data and execute machine learning models in real-time. Deploying deep learning algorithms can be challenging in energy-constrained nodes with limited computational capacity, when using lightweight classification algorithms is essential. Decision Tree (DT) algorithms require fewer computational resources than Artificial Neural Networks (ANNs) while maintaining similar accuracy. However, implementing DTs on hardware becomes difficult as the number of nodes increases. This work proposes a framework for automatically generating Hardware Description Language (HDL) code for binary decision trees, simplifying their deployment on FPGAs or ASICs. The effectiveness of the DT2HDL tool was evaluated using five distinct datasets: electrical fault detection, electrical fault classification, heart disease, breast cancer, and Iris. Results from both HDL and Python simulations indicate that full-precision decision trees (DTs) and 8-bit quantized DTs achieve the same accuracy levels as artificial neural networks (ANNs) with more than five hidden neurons.

Authors

Institutions

Publication Details

Published
2025-04-23
DOI
https://doi.org/10.1109/isqed65160.2025.11014334
Primary Topic
Embedded Systems and FPGA Design
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DT2HDL: A Binary Decision Tree to HDL Generation Tool

Dinesh Pamunuwa, Roshan Weerasekera, Qijia Tang
Embedded Systems and FPGA Design
article

DT2HDL: A Binary Decision Tree to HDL Generation Tool

Dinesh Pamunuwa, Roshan Weerasekera, Qijia Tang
article en

Abstract

Edge computing devices ideally need to process large amounts of sensor data and execute machine learning models in real-time. Deploying deep learning algorithms can be challenging in energy-constrained nodes with limited computational capacity, when using lightweight classification algorithms is essential. Decision Tree (DT) algorithms require fewer computational resources than Artificial Neural Networks (ANNs) while maintaining similar accuracy. However, implementing DTs on hardware becomes difficult as the number of nodes increases. This work proposes a framework for automatically generating Hardware Description Language (HDL) code for binary decision trees, simplifying their deployment on FPGAs or ASICs. The effectiveness of the DT2HDL tool was evaluated using five distinct datasets: electrical fault detection, electrical fault classification, heart disease, breast cancer, and Iris. Results from both HDL and Python simulations indicate that full-precision decision trees (DTs) and 8-bit quantized DTs achieve the same accuracy levels as artificial neural networks (ANNs) with more than five hidden neurons.

University of Bristol (GB)
UK Research and Innovation, Royal Academy of Engineering, Horizon 2020 Framework Programme, HORIZON EUROPE Framework Programme
Openalex Percentile: Top 87%
Embedded Systems and FPGA Design
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

DT2HDL: A Binary Decision Tree to HDL Generation Tool — Dinesh Pamunuwa, Roshan Weerasekera, et al. · (2025) | TGRS Research Map | TGRS