Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Class for the methods of the Papilio
class MonadFix fabric => Papilio fabric where Source
board_init :: fabric () Source
board_init
sets up the use of default clock,
which is the native 32MHz on-board clock.
tickTock :: Size w => Witness w -> Integer -> fabric (Seq Bool) Source
tickTock
generates n
pulses per second,
based on the expected simulation, or clockrate on the board.
The purpose is for controlling real-time sampling, or for animations.