aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/create_bba/README.md
blob: d2ca5188c3741adc599f4bb8f7afa88f22705b10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
```