1
0
mirror of https://github.com/antonblanchard/chiselwatt.git synced 2026-01-11 23:53:33 +00:00

10 Commits

Author SHA1 Message Date
Carlos de Paula
9eb5473a61 Improve readme with Fusesoc info and update samples
Improved build instructions by using Fusesoc as package manager and
multi-target toolchain.
Updated hello_world sample app to fetch clock from SYSCON registers.
Rebuilt all sample applications based on latest version and using SYSCON
Improve Makefile build process for samples.

Signed-off-by: Carlos de Paula <me@carlosedp.com>
2021-02-23 12:08:04 -03:00
Carlos de Paula
4f1d3e5ae7 Add hello_world sample sources and Makefile targets
Added hello_world sources and new Makefile targets for building
hello_world and Micropython inside containers.

Updated documentation reflecting these changes and moved binaries
to ./samples/binaries/.

Signed-off-by: Carlos de Paula <me@carlosedp.com>
2020-04-28 13:50:50 -03:00
Carlos de Paula
2d5d429708 Adjust pins and Makefile for OpenOCD
Signed-off-by: Carlos de Paula <me@carlosedp.com>
2020-04-08 10:26:02 -03:00
Carlos de Paula
21e9d9f0df Add Radiona ULX3S ECP5-85F Board
Signed-off-by: Carlos de Paula <me@carlosedp.com>
2020-04-07 22:31:08 -03:00
Carlos de Paula
c06e4697dc Restructured Makefile and Readme for multi-boards
Added a couple of improvements to the Makefile and Readme:

* Restructured the Makefile to support multiple boards based on variable
* Verilator build is also done in Docker container with local option
* Restructured Readme to reflect changes in the Makefile
* Support for running the verilator chiselwatt binary in a Docker
container in case the OS is not Linux.

Signed-off-by: Carlos de Paula <me@carlosedp.com>
2020-03-25 11:29:51 -03:00
Anton Blanchard
95029de163 Use mill by default
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-02-22 13:23:39 +11:00
Anton Blanchard
5a7fcbc814 Add Colorlight 5A-75B support
This adds support for the cheap Colorlight 5A-75B ECP5 based board.

UART RX is on J19, labelled key+ on the silk screen on the back
UART TX is on J1, pin 1.

All the I/Os on this board go through bidirectional level shifters that
appear to be hardwired as outputs. To get an input pin for UART RX, we
use the button I/O which is also routed to connector J19. The downside is
we can't use the button for reset.

One potential issue is that UART TX is 5V but UART RX is 3.3V. To keep
the FPGA happy any attached UART chip needs to output 3.3V, but it also
needs to be 5V tolerant to handle the level shifted input.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-02-20 11:48:08 +11:00
Anton Blanchard
7fe392d06b Makefile: Add PLL variable
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-02-02 14:25:43 +11:00
Anton Blanchard
d0a15b35de Move PLLs into pll/
Also rename pll_ecp5_evn.v to pll_ehxplll.v

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-02-02 14:03:00 +11:00
Anton Blanchard
f138ab7c7c Initial import 2020-01-30 05:20:07 +11:00