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

Författare

Markus Aronsson

Programvaruteknik, Grupp C1

Mary Sheeran

Programvaruteknik, Grupp 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,

Ämneskategorier

Programvaruteknik

Inbäddad systemteknik

Datorsystem

DOI

10.1145/3122955.3122970

Mer information

Senast uppdaterat

2022-01-18