| Copyright | (C) 2017 Myrtle Software Ltd QBayLogic Google Inc. |
|---|---|
| License | BSD2 (see the file LICENSE) |
| Maintainer | Christiaan Baaij <christiaan.baaij@gmail.com> |
| Safe Haskell | Safe |
| Language | Haskell2010 |
| Extensions |
|
Clash.NamedTypes
Description
Add inline documentation to types:
fifo
:: Clock domain gated
-> Reset domain synchronous
-> SNat addrSize
-> "read request" ::: Signal domain Bool
-> "write request" ::: Signal domain (Maybe (BitVector dataSize))
-> ( "q" ::: Signal domain (BitVector dataSize)
, "full" ::: Signal domain Bool
, "empty" ::: Signal domain Bool
)
which can subsequently be inspected in the interactive environment:
>>>:t fifo @Systemfifo @System :: Clock System gated -> Reset System synchronous -> SNat addrSize -> ("read request" ::: Signal System Bool) -> ("write request" ::: Signal System (Maybe (BitVector dataSize))) -> ("q" ::: Signal System (BitVector dataSize), "full" ::: Signal System Bool, "empty" ::: Signal System Bool)
- type (:::) (name :: k) a = a