From b2dc3deced1a94d7305adc3301c6d9f076787652 Mon Sep 17 00:00:00 2001 From: Cesar Strauss Date: Mon, 10 Jul 2023 18:00:24 +0000 Subject: [PATCH] nextpnr-xilinx-install: generate database for XC7A200T Enables bit file support for the FPGA in the Nexys Video board. --- nextpnr-xilinx-install | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nextpnr-xilinx-install b/nextpnr-xilinx-install index d1cfd15..d9469f9 100755 --- a/nextpnr-xilinx-install +++ b/nextpnr-xilinx-install @@ -82,12 +82,23 @@ cmake -DARCH=xilinx -DBUILD_GUI=OFF \ -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 .. -- 2.30.2