nextpnr/fpga_interchange/examples/create_bba
Keith Rothman cd8297f54d Move RapidWright git URI back to upstream.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2021-02-23 14:09:28 -08:00
..
Makefile Move RapidWright git URI back to upstream. 2021-02-23 14:09:28 -08:00
README.md Update README's with latest instructions and features. 2021-02-18 13:01:42 -08:00

Makefile-driven BBA creation

This Makefile will generate a Xilinx A35 chipdb if java, capnproto and capnproto-java are installed.

Installing dependencies

Install java and javac if not already installed:

# Or equivalent for your local system.
sudo apt-get install openjdk-10-jdk

Install capnproto if not already installed:

# Or equivalent for your local system.
sudo apt-get install capnproto libcapnp-dev

Install capnproto-java if not already installed:

git clone https://github.com/capnproto/capnproto-java.git
cd capnproto-java
make
sudo make install

Instructions

Once dependencies are installed, just run "make". This should download remaining dependencies and build the chipdb and build nextpnr if not built.

Re-building the chipdb

# Remove the text BBA
rm build/nextpnr/fpga_interchange/chipdb.bba
# Build the BBA
make