The essence of Bluespec: a core language for rule-based hardware design
Author(s)
Bourgeat, Thomas; Pit-Claudel, Clément; Chlipala, Adam; Arvind, Arvind
DownloadAccepted version (957.5Kb)
Open Access Policy
Open Access Policy
Creative Commons Attribution-Noncommercial-Share Alike
Terms of use
Metadata
Show full item recordAbstract
The Bluespec hardware-description language presents a significantly higher-level view than hardware engineers are used to, exposing a simpler concurrency model that promotes formal proof, without compromising on performance of compiled circuits. Unfortunately, the cost model of Bluespec has been unclear, with performance details depending on a mix of user hints and opaque static analysis of potential concurrency conflicts within a design. In this paper we present Koika, a derivative of Bluespec that preserves its desirable properties and yet gives direct control over the scheduling decisions that determine performance. Koika has a novel and deterministic operational semantics that uses dynamic analysis to avoid concurrency anomalies. Our implementation includes Coq definitions of syntax, semantics, key metatheorems, and a verified compiler to circuits. We argue that most of the extra circuitry required for dynamic analysis can be eliminated by compile-time BSV-style static analysis.
Date issued
2020-06Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory; Massachusetts Institute of Technology. Department of Electrical Engineering and Computer ScienceJournal
PLDI 2020: Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation
Publisher
Association for Computing Machinery (ACM)
Citation
Bourgeat, Thomas et al. "The essence of Bluespec: a core language for rule-based hardware design." PLDI 2020: Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation, June 2020, London, UK, Association for Computing Machinery, June 2020. © 2020 Authors
Version: Author's final manuscript
ISBN
978-1-4503-7613-6