This is a fork of [https://github.com/jamesbowman/swapforth], targeting the GOWIN-based Tang Nano board. It's far from usable, not the least because yosys/nextpnr/apicula support for these devices is still in early stages.
Swapforth is a cross-platform 16- and 32-bit ANS Forth.
Currently supported hosts are:
- J1a - minimal 16-bit FPGA CPU with 8K of memory Demo
- J1b - 32-bit FPGA CPU with 32K of memory
- FT900 - 32-bit 100 MHz CPU with 256K flash, 64K RAM
Simulated hosts include:
- Python in 16-, 32- and 64-bit big- and little-endian
- J1a and J1b under Verilator
- Both Python 2.x and 3.x are supported
- The shell now runs on Windows, with and without pyreadline
- The iCEstick port is now running at 48 MHz