clash-lib
Copyright(C) 2012-2016 University of Twente
(C) 2021-2026 QBayLogic B.V.
LicenseBSD2 (see the file LICENSE)
MaintainerQBayLogic B.V. <devops@qbaylogic.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Clash.Normalize.Strategy.Spec

Description

The normalization strategies, as pure Clash.Rewrite.StrategyDSL values. Clash.Normalize.Strategy compiles normalizationSpec and constantPropagationSpec into the executable normalization and constantPropagation; Clash.Normalize compiles flattenSpec into the flattening strategy of flattenCallTree.

Synopsis

Documentation

normalizationSpec :: Name -> Strat Source #

Normalisation transformation. The argument is the name of the compiled constantPropagation binding.

flattenSpec :: Strat Source #

The flattening strategy of flattenCallTree.