| ||||
| ||||
![]() Title:A Reusable Verification Framework for Deep Learning Accelerators Using PyUVM and Cocotb Authors:Michael Girgis, Mina Ehab, Moamen Wael, Moayad Elbarbary, Yousef Elbably, Yousef Karam, Amr Gamal, Essraa Massoud, Mohamed Nafea and Rania O. Hassan Conference:DVCon Europe 2026 Tags:CNN, cocotb, Deep Learning Accelerators, Functional Verification, NVDLA, pyuvm, UVM and VTA Abstract: Functional verification of Deep Learning Accelerators (DLAs) accounts for nearly 50% of ASIC/SoC development time, largely due to architecture-specific SystemVerilog reimplementation efforts and the semantic gap between Python-based golden models and hardware implementations. In this paper, we introduce a reusable, scalable, and efficient verification framework for DLAs using pyuvm and cocotb. The framework enables a Python-native and layer-wise verification strategy, confining hardware-specific behavior to three well-defined extension points: (1) Bus Functional Models (BFMs), (2) layer-strategy subclasses, and (3) design-under-test (DUT)-specific sequences, while reusing a shared Universal Verification Methodology (UVM) environment, agents, scoreboard, coverage collector, and PyTorch/NumPy golden models verbatim across targets. Moreover, the verification environment generalizes across diverse Deep Neural Network (DNN) layer types and DLA architectures through a generic, reconfigurable design. To assess our proposed methodology, we applied it to four architecturally distinct accelerators (NVDLA, VTA, a LeNet-5 RTL implementation, and a custom CNN design) as case studies, achieving 56.0-86.0% code reuse across different accelerator architectures and 72.2-100% code coverage, and 100% closure of NVDLA's 603 functional-coverage bins by a coverage-directed test generation mechanism. The framework lets verification engineers bring up a new DLA target by implementing the three previously mentioned extension points, reusing the shared verification infrastructure unchanged. A Reusable Verification Framework for Deep Learning Accelerators Using PyUVM and Cocotb ![]() A Reusable Verification Framework for Deep Learning Accelerators Using PyUVM and Cocotb | ||||
| Copyright © 2002 – 2026 EasyChair |
