copilot-bluespec: A compiler for Copilot targeting FPGAs.

[ bsd3, embedded, language, library ] [ Propose Tags ] [ Report a vulnerability ]

This package is a back-end from Copilot to FPGAs in Bluespec.

Copilot is a stream (i.e., infinite lists) domain-specific language (DSL) in Haskell. Copilot contains an interpreter, multiple back-end compilers, and other verification tools.

A tutorial, examples, and other information are available at https://copilot-language.github.io.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 3.19, 3.20, 4.0, 4.1
Change log CHANGELOG
Dependencies base (>=4.9 && <5), copilot-core (>=4.1 && <4.2), directory (>=1.3 && <1.4), filepath (>=1.4 && <1.5), language-bluespec (>=0.1 && <0.2), pretty (>=1.1.2 && <1.2) [details]
License BSD-3-Clause
Author Frank Dedden , Alwyn Goodloe , Ivan Perez , Ryan Scott
Maintainer Ryan Scott <rscott@galois.com>
Category Language, Embedded
Home page https://copilot-language.github.io
Bug tracker https://github.com/Copilot-Language/copilot-bluespec/issues
Source repo head: git clone https://github.com/Copilot-Language/copilot-bluespec.git
Uploaded by ryanglscott at 2024-11-08T14:59:16Z
Distributions
Downloads 130 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
All reported builds failed as of 2024-11-08 [all 1 reports]

Readme for copilot-bluespec-4.1

[back to package description]

Build Status

Copilot: a stream DSL

Copilot-Bluespec implements a Bluespec backend for Copilot, producing code that is suitable for FPGAs.

Copilot is a runtime verification framework written in Haskell. It allows the user to write programs in a simple but powerful way using a stream-based approach.

Programs can be interpreted for testing, or translated Bluespec code to be incorporated in a project, or as a standalone application. The Bluespec backend ensures us that the output is constant in memory and time, making it suitable for systems with hard realtime requirements.

Installation

Copilot-Bluespec can be found on Hackage. It is intended to be installed alongside a Copilot distribution by running the following commands:

$ cabal update
$ cabal install copilot
$ cabal install copilot-bluespec

For more detailed instructions on how to install Copilot, please refer to the Copilot website.

The generated Bluespec code requires bsc (the Bluespec compiler) in order to be compiled. bsc can be downloaded here.

We also provide a Dockerfile which automates the process of installing Copilot, Copilot-Bluespec, and bsc. The Dockerfile can be built and run using the following commands:

$ docker build -t <tag> .
$ docker run -it <tag>

Where <tag> is a unique name for the Docker image.

Further information

For further information, install instructions and documentation, please visit the Copilot website: [https://copilot-language.github.io](https://copilot-language.github.io)

There is also an implementation-focused design document here.

License

Copilot is distributed under the BSD-3-Clause license, which can be found here.