Hardware Software Co-design in Haskell
Journal article, 2017

We present a library in Haskell for programming Field Programmable Gate Arrays (FPGAs), including hardware software co-design. Code for software (in C) and hardware (in VHDL) is generated from a single program, along with the code to support communication between hardware and software. We present type-based techniques for the simultaneous implementation of more than one embedded domain specific language (EDSL). We build upon a generic representation of imperative programs that is loosely coupled to instruction and expression types, allowing the individual parts to be developed and improved separately. Code generation is implemented as a series of translations between progressively smaller, typed EDSLs, safeguarding against errors that arise in untyped translations. Initial case studies show promising performance.

hardware software co-design

domain specific language

Computer Science


Markus Aronsson

Functional Programming

Mary Sheeran

Functional Programming

SIGPLAN Notices (ACM Special Interest Group on Programming Languages)

0362-1340 (ISSN)

Vol. 52 10 162-173

Areas of Advance

Information and Communication Technology

Subject Categories

Software Engineering



More information

Latest update