Hardware software co-design in Haskell
Paper in proceeding, 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

Author

Markus Aronsson

Software Technology, Group C1

Mary Sheeran

Software Technology, Group A

Haskell 2017 - Proceedings of the 10th ACM SIGPLAN International Symposium on Haskell, co-located with ICFP 2017

162-173
9781450351829 (ISBN)

10th ACM SIGPLAN International Symposium on Haskell, Haskell 2017
Oxford, United Kingdom,

Subject Categories

Software Engineering

Embedded Systems

Computer Systems

DOI

10.1145/3122955.3122970

More information

Latest update

1/18/2022