Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doctorwkt/ulx3s-blinky
A blinky project for the ULX3S v3.0.3 FPGA board
https://github.com/doctorwkt/ulx3s-blinky
fpga nextpnr prjtrellis verilog yosys
Last synced: 11 days ago
JSON representation
A blinky project for the ULX3S v3.0.3 FPGA board
- Host: GitHub
- URL: https://github.com/doctorwkt/ulx3s-blinky
- Owner: DoctorWkt
- License: gpl-3.0
- Created: 2018-12-01T01:26:30.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-16T21:35:44.000Z (almost 6 years ago)
- Last Synced: 2023-03-02T03:32:26.826Z (almost 2 years ago)
- Topics: fpga, nextpnr, prjtrellis, verilog, yosys
- Language: Verilog
- Size: 588 KB
- Stars: 12
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
* [Echo characters](Echo/) on the USB serial port
* [Tic Tac Toe](https://github.com/DoctorWkt/Verilog_tic-tac-toe) using the serial port, and with HDMI output
* [A 4-bit CPU](https://github.com/DoctorWkt/CSCv2/tree/master/Verilog) using the serial port
* [A HDMI test pattern generator](TestPattern/) based on Emard and Dan Gisselquist's code