copilot-bluespec-3.19: A compiler for Copilot targeting FPGAs.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Copilot.Compile.Bluespec

Description

Compile Copilot specifications to Bluespec code.

Synopsis

Documentation

compile :: String -> Spec -> IO () Source #

Compile a specification to a Bluespec.

The first argument is used as a prefix for the generated .bs files.

compileWith :: BluespecSettings -> String -> Spec -> IO () Source #

Compile a specification to a Bluespec file.

The first argument is the settings for the Bluespec code generated.

The second argument is used as a module name and the prefix for the .bs files that are generated.

newtype BluespecSettings Source #

Settings used to customize the code generated.

mkDefaultBluespecSettings :: BluespecSettings Source #

Default Bluespec settings. Output to the current directory.