ZHAO, YUQIN
ORCID: 0000-0001-7943-1433
(2026)
VeriPy and ChatGPT-Aided VeriPy: A Compatible, Extensible, and Comprehensive Python-Based High-Level Synthesis Framework for Readable and Optimisable Hardware Generation.
PhD thesis, University of Sheffield.
Abstract
Field-Programmable Gate Arrays (FPGAs) are widely adopted in domains such as Artificial Intelligence (AI) and Software-Defined Radio (SDR) due to their reconfigurability and inherent parallelism. However, existing High-Level Synthesis (HLS) tools still suffer from major limitations, including rigid coding styles, limited transparency of generated hardware, restricted low-level control, and suboptimal performance caused by conservative compiler-driven scheduling and optimisation. These issues contribute to a persistent gap between software-oriented development and efficient hardware implementation.
This thesis addresses these challenges through the development of VeriPy and ChatGPT-Aided VeriPy, two Python-based HLS frameworks that prioritise explicit hardware intent, structural transparency, controllable optimisation, and stable use of generative AI. Unlike conventional HLS tools that rely heavily on automated scheduling and opaque intermediate representations, VeriPy adopts a deterministic Python-to-Verilog translation methodology that preserves algorithmic structure and exposes parallelism explicitly. Performance improvements are achieved through user-controlled unrolling and pipelining, fine-grained mapping of operations to hardware primitives, and the generation of lean, modular Verilog that enables effective downstream synthesis and timing optimisation. An extensible hardware library further promotes modular reuse of verified building blocks, reducing over-generalisation and inefficiencies common in traditional HLS flows.
ChatGPT-Aided VeriPy extends this approach by automatically restructuring standard Python code into VeriPy-compatible, hardware-aware representations, significantly reducing coding effort without changing the underlying hardware mapping strategy. By constraining generative AI to front-end code transformation and retaining deterministic backend generation, the framework ensures stability and repeatability.
Experimental results show that VeriPy achieves up to 147% higher maximum frequency and 5700% higher throughput than Vivado HLS 2024 on selected benchmarks, with competitive resource usage. ChatGPT-Aided VeriPy reduces code length by up to 88% while maintaining equivalent performance. Overall, this work bridges the software–hardware gap without sacrificing hardware efficiency.
Metadata
| Supervisors: | Deng, Tiantai and Seed, Luke and Panagiotou, Panagiotis |
|---|---|
| Keywords: | High-Level Synthesis Tool, Electronic Design Automation, FPGA, Hardware Acceleration, Hardware Architecture. |
| Awarding institution: | University of Sheffield |
| Academic Units: | The University of Sheffield > Faculty of Engineering (Sheffield) > Electronic and Electrical Engineering (Sheffield) |
| Date Deposited: | 09 Feb 2026 14:40 |
| Last Modified: | 09 Feb 2026 14:40 |
| Open Archives Initiative ID (OAI ID): | oai:etheses.whiterose.ac.uk:38021 |
Download
Final eThesis - complete (pdf)
Embargoed until: 12 January 2031
Please use the button below to request a copy.
Export
Statistics
Please use the 'Request a copy' link(s) in the 'Downloads' section above to request this thesis. This will be sent directly to someone who may authorise access.
You can contact us about this thesis. If you need to make a general enquiry, please see the Contact us page.