(no commit message)
authorlkcl <lkcl@web>
Sat, 12 Feb 2022 16:02:23 +0000 (16:02 +0000)
committerIkiWiki <ikiwiki.info>
Sat, 12 Feb 2022 16:02:23 +0000 (16:02 +0000)
HDL_workflow/microwatt.mdwn

index ad3d892902480a67cfcb6d732520b5b9da468a87..311843d9a13f9ce671d0b49968b8b265eaa7f966 100644 (file)
@@ -78,16 +78,29 @@ notes for how to compile for ulx3s
 
 # Notes for nextpnr-xilinx
 
-for compiling nextpnr-xilinx:
-
-   git clone https://github.com/gatecat/nextpnr-xilinx
-   cd nextpnr-xilinx
-   git submodule init
-   git submodule update
-   cmake -DARCH=xilinx .
-   make
-   make install
-   python3 xilinx/python/bbaexport.py --device xc7a100tcsg324-1 --bba xilinx/xc7a100t.bba
-   ./bbasm --l xilinx/xc7a100t.bba xilinx/xc7a100t.bin
-   mkdir -p /usr/share/nextpnr/xilinx-chipdb
-   cp xilinx/*.bin /usr/share/nextpnr/xilinx-chipdb
+for compiling nextpnr-xilinx and making it useable for nmigen
+to compile for the digilent arty-a7-100t, requires a little
+futzing around, using the symbiflow version of prjxray-db
+instead of the one recommended as a submodule
+
+    git clone https://github.com/gatecat/nextpnr-xilinx
+    cd nextpnr-xilinx
+    git checkout cd8b15db6ff5c1a7f10a9e
+    git submodule init
+    git submodule update
+    cd xilinx/external
+    mv prjxray-db prjxray-db-no
+    git clone https://github.com/SymbiFlow/prjxray-db
+    cd prjxray-db
+    git checkout 0a0addedd73e7
+    cp ./artix7/xc7a100t/*.json \
+       ./artix7/xc7a100tcsg324-1
+    cd ../../..
+    cmake -DARCH=xilinx .
+    make
+    make install
+    python3 xilinx/python/bbaexport.py --device xc7a100tcsg324-1 --bba xilinx/xc7a100t.bba
+    ./bbasm --l xilinx/xc7a100t.bba xilinx/xc7a100t.bin
+    mkdir -p /usr/share/nextpnr/xilinx-chipdb
+    cp xilinx/*.bin /usr/share/nextpnr/xilinx-chipdb
+    cp -aux xilinx/external/prjxray-db /usr/share/nextpnr