Skip to content

standardsemiconductor/VELDT-blinker-clash

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Haskell CI

VELDT-blinker-clash

VELDT blinker example with Clash

Demo

Prerequisites

  1. Install & Setup Clash
  2. Install & Setup Project IceStorm
  3. Clone this repo:
    foo@bar:~$ git clone https://github.com/standardsemiconductor/VELDT-blinker-clash.git
    foo@bar:~$ cd VELDT-blinker-clash
    foo@bar:~/VELDT-blinker-clash$ cabal build

Usage

Plug VELDT into computer USB port, make sure switches are set to ON and FLASH. Verify PWR LED illuminated red. To program the VELDT and run the blinker example:

foo@bar:~/VELDT-blinker-clash$ cabal run blinker -- prog

Other commands:

  • cabal run blinker -- compile to compile source to Verilog
  • cabal run blinker -- synth to synthesize with Yosys
  • cabal run blinker -- pnr to place and route with NextPNR
  • cabal run blinker -- pack to pack with icepack
  • cabal run blinker will also pack the source into a bitstream
  • cabal run blinker -- clean to clean the build directory _build
  • cabal run clashi to start an interactive Clash repl

shake/Shake.hs is responsible for compiling the source with Clash and running the Icestorm flow.

Info

VELDT avaliable now on Amazon!

More information about the board can be found in the VELDT-info repo

Visit the website

Follow Standard Semiconductor on LinkedIn

About

VELDT Blinker Example in Clash

Topics

Resources

License

Stars

Watchers

Forks