Back to search

McGill University

A Type-Safe HDL Verified in Coq

Abstract

dc:description.abstract

Hardware Description Languages (HDL), such as VHDL and Verilog, simplify the circuit specification, simulation, and synthesis by enabling different types of abstractions. Hardware verification pipelines reduce design faults caused by erroneous transformations of a design specification into the layout description. However, there is little work on the language aspect of Verilog itself, and designers tend to trust the language as a source of truth. Unfortunately, unverified languages may be unreliable and lead to circuit design faults. For instance, in Verilog, values can be converted automatically from one type to another when the context of use requires it, generating undesired bugs due to the automatic conversion. In this thesis, we address the need for a verified, type-safe language that can rule out undesired faults in hardware projects occasioned by language issues. We present Verifloq, a strongly typed HDL based on a subset of the original Verilog language.Verifloq is developed in the Coq proof assistant, and uses the Simply-Typed Lambda Calculus (STLC) as its core foundation. We develop a flexible small-step operational semantics for our language, and combined with its set of typing rules, we prove that Verifloq is a type-safe language.We also provide several use cases for Verifloq, including a composed verification pipeline with Hoare Logic and a multi-staged hardware verification pipeline. Finally, we also present possible integration scenarios for High-Level Synthesis applications

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Andreazzi Tavante, Hanneli Carolina
Advisors dc:contributor.advisor
  • Maheswaran, Muthucumaru (Supervisor2)
  • Zilic, Zeljko (Supervisor1)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1416848968
Dc Identifier Other
hyrax:jm214v69x

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Andreazzi Tavante, Hanneli Carolina. A Type-Safe HDL Verified in Coq. McGill University, 2023. https://doi.org/10.82308/19313