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

Safe HaskellNone
LanguageHaskell2010

Hardware.KansasLava.Boards.Papilio.Arcade

Contents

Synopsis

Documentation

data Model Source

Constructors

PapilioOne 
PapilioPro 

Class for the methods of the Spartan3e

class Papilio fabric => Arcade fabric where Source

Methods

wing_init :: fabric () 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

vga :: RawVGA CLK X4 X4 X4 -> fabric () Source

ps2 :: fabric (PS2 CLK, PS2 CLK) Source

Instances

Initialization, and global settings.

clockRate :: Integer Source

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

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

data Buttons clk Source

Constructors

Buttons 

data RawVGA clk r g b Source

Constructors

RawVGA 

Fields

vgaRawR :: Matrix r (Signal clk Bool)
 
vgaRawG :: Matrix g (Signal clk Bool)
 
vgaRawB :: Matrix b (Signal clk Bool)
 
vgaRawVSync :: Signal clk Bool
 
vgaRawHSync :: Signal clk Bool
 

data PS2 clk Source

Constructors

PS2 

Fields

ps2Clock :: Signal clk Bool
 
ps2Data :: Signal clk Bool