aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/create_bba
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-18 13:01:42 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-18 13:01:42 -0800
commit532954847ae9c4643dc068786ea78957a6d9bb36 (patch)
treed515bcd03bca166d020f22d9aedffd3b5f8e1c44 /fpga_interchange/examples/create_bba
parent7ecfd98b2db37418380659f9f481dc0a5210e9c2 (diff)
downloadnextpnr-532954847ae9c4643dc068786ea78957a6d9bb36.tar.gz
nextpnr-532954847ae9c4643dc068786ea78957a6d9bb36.tar.bz2
nextpnr-532954847ae9c4643dc068786ea78957a6d9bb36.zip
Update README's with latest instructions and features.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/examples/create_bba')
-rw-r--r--fpga_interchange/examples/create_bba/README.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/fpga_interchange/examples/create_bba/README.md b/fpga_interchange/examples/create_bba/README.md
new file mode 100644
index 00000000..d2ca5188
--- /dev/null
+++ b/fpga_interchange/examples/create_bba/README.md
@@ -0,0 +1,40 @@
+## 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
+```