nextpnr/generic/examples
David Shah ebcdfc1ae8 generic: New Property interface
Signed-off-by: David Shah <dave@ds0.me>
2019-08-05 17:28:54 +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: New Property interface 2019-08-05 17:28:54 +01:00
simple.py generic/examples: Add FASM writer Python script 2019-04-17 11:00:23 +01:00
simple.sh ci: Run generic example simple.sh 2019-04-17 13:02:01 +01:00
write_fasm.py generic: New Property interface 2019-08-05 17:28:54 +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