Copyright | (C) 2015-2016 University of Twente 2017-2018 Google Inc. |
---|---|
License | BSD2 (see the file LICENSE) |
Maintainer | Christiaan Baaij <christiaan.baaij@gmail.com> |
Safe Haskell | None |
Language | Haskell2010 |
Generate Verilog for assorted Netlist datatypes
Synopsis
- data VerilogState
- include :: Monad m => [Text] -> Mon m Doc
- uselibs :: Monad m => [Text] -> Mon m Doc
- encodingNote :: Applicative m => HWType -> m Doc
- exprLit :: Lens' s (Maybe (Maybe Int)) -> Maybe (HWType, Size) -> Literal -> Mon (State s) Doc
- bits :: Lens' s (Maybe (Maybe Int)) -> [Bit] -> Mon (State s) Doc
- bit_char :: Lens' s (Maybe (Maybe Int)) -> Bit -> Mon (State s) Doc
- noEmptyInit :: (Monad m, Semigroup (m Doc)) => m Doc -> m Doc
Documentation
data VerilogState Source #
State for the VerilogM
monad:
Instances
encodingNote :: Applicative m => HWType -> m Doc Source #