Skip to content

Files

Latest commit

5987418 · Dec 30, 2021

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 27, 2019
Apr 17, 2019
Apr 17, 2019
Nov 8, 2019
Nov 27, 2019
Nov 27, 2019
Feb 11, 2021
Nov 8, 2019
Apr 17, 2019
Nov 8, 2019
Nov 27, 2019
Dec 30, 2021

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