Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Model
- class Papilio fabric => Arcade fabric where
- clockRate :: Integer
- board_init :: Papilio fabric => fabric ()
- toUCF :: Model -> KLEG -> IO String
- data Buttons clk = Buttons {
- buttonUp :: Signal clk Bool
- buttonDown :: Signal clk Bool
- buttonLeft :: Signal clk Bool
- buttonRight :: Signal clk Bool
- data RawVGA clk r g b = RawVGA {}
- data PS2 clk = PS2 {}
Documentation
Class for the methods of the Spartan3e
class Papilio fabric => Arcade fabric where Source
Setup global reset signal
resetButton :: fabric (Signal CLK Bool) Source
Don't use this if you also use wing_init
as that sets the
reset button as the global reset signal
buttons :: fabric (Buttons CLK) Source
leds :: Matrix X4 (Signal CLK Bool) -> fabric () Source
Initialization, and global settings.
board_init :: Papilio fabric => fabric () Source
board_init
sets up the use of default clock,
which is the native 32MHz on-board clock.
Data structures
Buttons | |
|