1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-18 17:07:12 +00:00

21 Commits

Author SHA1 Message Date
Anton Blanchard
1fa0b332ca micropython only requires 512kB of BRAM
Mikey points out that our stack grows down from 512kB and our
heap is below that too, so we can reduce our BRAM requirements,
which allowing some smaller FPGA boards to work. Not sure why
I thought we were using memory between 512kB and 1MB.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2019-08-27 12:02:00 +10:00
Anton Blanchard
1aadee281d
Merge pull request #6 from mikey/gif
Add pretty gif demo of MicroPython on Microwatt to README.md
2019-08-27 11:50:25 +10:00
Anton Blanchard
96787091a6 Add -Wall to CFLAGS
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2019-08-27 11:44:34 +10:00
Michael Neuling
d618171d13 Add pretty gif demo of MicroPython on Microwatt to README.md
Signed-off-by: Michael Neuling <mikey@neuling.org>
2019-08-27 11:20:51 +10:00
Anton Blanchard
7277c6b5ab Add missing argument to fprintf warning
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2019-08-26 23:11:51 +10:00
Anton Blanchard
77f1588a7f Add some initial FPGA synthesis instructions
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2019-08-26 22:32:15 +10:00
Anton Blanchard
0a0ad9b384 Rebuild hello world assuming a 50MHz clock
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2019-08-26 22:09:28 +10:00
Anton Blanchard
c036363d8f
Merge pull request #3 from olofk/plle2
Add and use plle2 primitive for nexys boards
2019-08-26 22:02:17 +10:00
Olof Kindgren
12327034d6 Add and use plle2 primitive for nexys boards 2019-08-26 13:44:50 +02:00
Anton Blanchard
5b2984a15d
Merge pull request #4 from sharkcz/build
don't cross compile when on Power
2019-08-26 11:33:38 +10:00
Dan Horák
2d7994dc12 don't cross compile when on Power 2019-08-24 14:02:35 +02:00
Anton Blanchard
8bc3e8ea0a Add a simple hello_world example that also echos input
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2019-08-24 09:00:36 +10:00
Anton Blanchard
01e6b8f583
Merge pull request #2 from olofk/fusesoc_nexys_a7
Fusesoc nexys a7
2019-08-24 05:25:48 +10:00
Olof Kindgren
b9bf19f912 Added synthesis target
The synth target can be used to analyze the core after synthesis
without running P&R. Currently, the only edalize backends that
support synthesis without P&R are vivado and icestorm, and icestorm
needs yosys built with verific support to parse vhdl.

To run synthesis only for a part, run

fusesoc run --target=synth --tool=vivado microwatt --part=<part>

where part is a valid Xilinx part such as xc7a100tcsg324-1
2019-08-23 14:20:20 +02:00
Olof Kindgren
250d09ed2d Add Nexys Video support 2019-08-23 14:09:06 +02:00
Olof Kindgren
5e56b14125 Add FuseSoC core description file with Nexys A7 support 2019-08-23 13:32:05 +02:00
Olof Kindgren
abca85b034 Add constraint file for Nexys A7 2019-08-23 13:19:11 +02:00
Olof Kindgren
e8ad9bed10 Expose ram init file and memory size through toplevel 2019-08-23 13:18:39 +02:00
Olof Kindgren
b5bccc4c13 Add dummy clock generator 2019-08-23 13:17:35 +02:00
Anton Blanchard
37fe8b954c Add a few more FPGA related files
Add a temporary gcc patch to remove hardware divide instructions.

Also add a firmware.hex file built with a gcc with the above patch.

Right now micropython assumes 1MB of BRAM, which limits the FPGAs
we can run on. We should be able to cut it down somewhat.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2019-08-23 16:23:53 +10:00
Anton Blanchard
5a29cb4699 Initial import of microwatt
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2019-08-22 16:46:13 +10:00