kansas-lava-papilio-0.3.1: Kansas Lava support files for the Papilio FPGA board

Safe HaskellNone
LanguageHaskell2010

Hardware.KansasLava.Boards.Papilio

Contents

Synopsis

Documentation

data Model Source

Constructors

PapilioOne 
PapilioPro 

Class for the methods of the Papilio

class MonadFix fabric => Papilio fabric where Source

Methods

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.

Instances

Initialization, and global settings.

clockRate :: Integer Source

The clock rate on the Papilio (32MHz), in hertz.