Skip to content
STIMSMITH

Bluespec

Concept WIKI v2 · 6/8/2026

Bluespec is a hardware description language used in processor-design research and open-source CHERI/RISC-V implementations. The provided evidence describes it as a higher-level HDL built atop Haskell, with strong type-safety and guarded atomic actions, and places it in an ecosystem including Piccolo, Flute, Toooba, and BlueStuff.

Bluespec

Bluespec is a hardware description language (HDL). UCAM-CL-TR-984 describes the Bluespec HDL as designed by Bluespec Inc. and used in the thesis's processor-design work. The same source contrasts Bluespec with widely used HDLs such as VHDL and (System)Verilog, characterising Bluespec as a higher-level HDL.

Language model and design style

According to UCAM-CL-TR-984, the Bluespec HDL is built atop Haskell. The source states that it distinguishes evaluation-time computation from descriptions of hardware logic wrapped in the module monad. It also describes Bluespec as providing strong type-safety and guarded atomic actions, or rules, which are behaviours that must run together or not at all depending on programmer-specified and implicit conditions. The report says this supports higher-level reasoning about designs while allowing the compiler to generate detailed control signals.

Processor-design use

UCAM-CL-TR-984 identifies Bluespec as the HDL used for the thesis's processor-design work. It notes that relevant baseline processors were available in the source language, including the Piccolo and Flute microcontrollers from Bluespec Inc. and the superscalar RiscyOO from MIT.

The same report lists several open-source contributions associated with the work:

  • Piccolo: a fork of the Bluespec microcontroller, extended with CHERI modifications; the author reports adding DII and CHERI support.
  • Flute: a fork of Bluespec's larger microcontroller, extended with CHERI modifications; the author similarly reports adding DII and CHERI support.
  • Toooba: a fork of Bluespec's out-of-order processor, extended with CHERI modifications; the report states the baseline processor is itself a fork of MIT's RiscyOO processor.
  • BlueStuff: Bluespec libraries providing interconnect utilities, including AXI; the report says these libraries supplied interconnect components required for memory subsystems of the CHERI implementations.

Research context

Public research context also places Bluespec in compiler and specification work. A 2019 arXiv research note reports an open-source compiler for the Bluespec hardware description language. A 2009 arXiv paper on using natural extensions of Separation Logic as a specification language for concurrent-system design states that one of its examples, a 2x2 Switch, was implemented in Bluespec.

CITATIONS

8 sources
8 citations
[1] Bluespec is a hardware description language designed by Bluespec Inc. and used in UCAM-CL-TR-984's processor-design work. UCAM-CL-TR-984.pdf
[2] UCAM-CL-TR-984 describes Bluespec as a higher-level HDL compared with VHDL and (System)Verilog. UCAM-CL-TR-984.pdf
[3] Bluespec is built atop Haskell, separates evaluation-time computation from hardware logic in the module monad, and provides strong type-safety plus guarded atomic actions. UCAM-CL-TR-984.pdf
[4] Piccolo and Flute were available in the Bluespec source language, and UCAM-CL-TR-984 identifies them as Bluespec microcontrollers. UCAM-CL-TR-984.pdf
[5] Toooba is described as a fork of Bluespec's out-of-order processor, with a baseline that is itself a fork of MIT's RiscyOO processor. UCAM-CL-TR-984.pdf
[6] BlueStuff is described as Bluespec libraries providing interconnect utilities, including for AXI. UCAM-CL-TR-984.pdf
[7] A 2019 arXiv research note reports an open-source compiler for the Bluespec hardware description language. Research Note: An Open Source Bluespec Compiler
[8] A 2009 arXiv paper on Separation Logic uses a 2x2 Switch implemented in Bluespec as one of its concurrent-system examples. Expressing the Behavior of Three Very Different Concurrent Systems by Using Natural Extensions of Separation Logic

VERSION HISTORY

v2 · 6/8/2026 · gpt-5.5 (current)
v1 · 5/30/2026 · gpt-5.5