nextpnr/generic/examples
David Shah 48c4c1ed05 generic/examples: Add FASM writer Python script
Signed-off-by: David Shah <dave@ds0.me>
2019-04-17 11:00:23 +01:00
..
__init__.py generic/examples: Add FASM writer Python script 2019-04-17 11:00:23 +01:00
.gitignore generic/examples: Add FASM writer Python script 2019-04-17 11:00:23 +01:00
bitstream.py generic/examples: Add FASM writer Python script 2019-04-17 11:00:23 +01:00
blinky.v generic: Simple working example 2019-04-02 15:30:01 +01:00
README.md generic/examples: Add FASM writer Python script 2019-04-17 11:00:23 +01:00
simple_config.py generic/examples: Add FASM writer Python script 2019-04-17 11:00:23 +01:00
simple_timing.py generic: Cell timing support 2019-04-04 16:34:06 +01:00
simple.py generic/examples: Add FASM writer Python script 2019-04-17 11:00:23 +01:00
simple.sh generic/examples: Add FASM writer Python script 2019-04-17 11:00:23 +01:00
write_fasm.py generic/examples: Add FASM writer Python script 2019-04-17 11:00:23 +01:00

Generic Architecture Example

This contains a simple, artificial, example of the nextpnr generic API.

  • simple.py procedurally generates a simple FPGA architecture with IO at the edges, logic slices in all other tiles, and interconnect only between adjacent tiles

  • simple_timing.py annotates cells with timing data (this is a separate script that must be run after packing)

  • write_fasm.py uses the nextpnr Python API to write a FASM file for a design

  • bitstream.py uses write_fasm.py to create a FASM ("FPGA assembly") file for the place-and-routed design

  • Run simple.sh to build an example design on the FPGA above