Chisel: constructing hardware in a Scala embedded language

  • Authors:
  • Jonathan Bachrach;Huy Vo;Brian Richards;Yunsup Lee;Andrew Waterman;Rimas Avižienis;John Wawrzynek;Krste Asanović

  • Affiliations:
  • UC Berkeley;UC Berkeley;UC Berkeley;UC Berkeley;UC Berkeley;UC Berkeley;UC Berkeley;UC Berkeley

  • Venue:
  • Proceedings of the 49th Annual Design Automation Conference
  • Year:
  • 2012

Quantified Score

Hi-index 0.03

Visualization

Abstract

In this paper we introduce Chisel, a new hardware construction language that supports advanced hardware design using highly parameterized generators and layered domain-specific hardware languages. By embedding Chisel in the Scala programming language, we raise the level of hardware design abstraction by providing concepts including object orientation, functional programming, parameterized types, and type inference. Chisel can generate a high-speed C++-based cycle-accurate software simulator, or low-level Verilog designed to map to either FPGAs or to a standard ASIC flow for synthesis. This paper presents Chisel, its embedding in Scala, hardware examples, and results for C++ simulation, Verilog emulation and ASIC synthesis.