Code Monkey home page Code Monkey logo

ulx3s-blinky's Introduction

A Working Blinky for the ULX3S Board

I just got a blinky project working for my new ULX3S Board with a 45F FPGA chip. I had to git clone and rebuild all three of yosys, trellis and nextpnr. Details of doing this are at https://github.com/YosysHQ/yosys and https://github.com/YosysHQ/nextpnr#nextpnr-ecp5 . I used git repos of the above dated early December 2018. The early November 2018 ones didn't work.

The version of nextpnr I'm using supports an external constraints file. I have a v3.0.3 ULX3S board, and the constraints file for this is ulx3s_v20.lpf.

The blinky.v file can be simulated under Verilator, just type make at the command line. It will use blinky_tb.cpp as the testbench and that requires testb.h.

To build the ULX3S bitstream, do a make ulx3s.bit . If you don't have a 45F FPGA chip, change the nextpnr-ecp5 --45k line in the Makefile to something more suitable. If you have an older board, you will need to find a constraints file that matches your board. Have a look in https://github.com/emard/ulx3s/tree/master/doc/constraints .

Making the ulx3s.bit file requires blinky.ys which tells yosys what to do, and ulx3s_v20.lpf and ulx3s_empty.config to tell nextpnr what to do.

Use ujprog from [https://github.com/emard/ulx3s-bin] to program your board.

Other Projects and Tips

If you are using the serial link to the FT231X chip, you need to disable hardware flow control. With minicom, ctrl-A O, Serial port setup, F, Exit.

As I get other projects to work on the board, I'll put links below:

ulx3s-blinky's People

Contributors

doctorwkt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ulx3s-blinky's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.