tree: 8c4f6651c1c7626ad36aa6e8a6a8234889d38b05 [path history] [tgz]
  1. .gitignore
  2. __init__.py
  3. bitstream.py
  4. blinky.v
  5. blinky_tb.v
  6. README.md
  7. simple.py
  8. simple.sh
  9. simple_config.py
  10. simple_timing.py
  11. simtest.sh
  12. write_fasm.py
generic/examples/README.md

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