-DCMAKE_INSTALL_PREFIX=/usr/local/nextpnr-xilinx .
make -j$(nproc)
make install
+
+# Generate database for fabric: XC7A100T
ln -s xc7a100tcsg324-1 xilinx/external/prjxray-db/artix7/xc7a100t
python3 xilinx/python/bbaexport.py --device xc7a100tcsg324-1 \
--bba xilinx/xc7a100t.bba
./bbasm --l xilinx/xc7a100t.bba xilinx/xc7a100t.bin
+
+# Generate database for fabric: XC7A200T
+ln -s xc7a200tsbg484-1 xilinx/external/prjxray-db/artix7/xc7a200t
+python3 xilinx/python/bbaexport.py --device xc7a200tsbg484-1 \
+ --bba xilinx/xc7a200t.bba
+./bbasm --l xilinx/xc7a200t.bba xilinx/xc7a200t.bin
+
install -d -m 0755 /usr/local/nextpnr-xilinx/share/xilinx
install -m 0755 xilinx/xc7a100t.bin /usr/local/nextpnr-xilinx/share/xilinx
+install -m 0755 xilinx/xc7a200t.bin /usr/local/nextpnr-xilinx/share/xilinx
+
export XRAY_DIR=/usr/local/nextpnr-xilinx
cd ..