fixup nextpnr-xilinx directory locations to match
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 4 Apr 2022 18:50:52 +0000 (19:50 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 4 Apr 2022 18:50:52 +0000 (19:50 +0100)
install locations of nextpnr-xilinx with a make PREFIX of
/usr/local/nextpnr-xilinx

nmigen/vendor/xilinx.py

index 769b9ec64246ae2dbec0fb473bb8fa908d2a539c..98b10bd36873fd08d11987acba559477f5732d21 100644 (file)
@@ -474,10 +474,10 @@ class XilinxPlatform(TemplatedPlatform):
     # go beyond 23-25 CARRY4 blocks in length (appx 92-96 bit add/sub/cmp)
     _yosys_nextpnr_command_templates = [
         r"""
-        DB_DIR={{get_override("nextpnr_dir")|default("/usr/share/nextpnr")}}/prjxray-db
+        DB_DIR={{get_override("nextpnr_dir")|default("/usr/local/nextpnr-xilinx")}}/database
         """,
         r"""
-        CHIPDB_DIR={{get_override("nextpnr_dir")|default("/usr/share/nextpnr")}}/xilinx-chipdb
+        CHIPDB_DIR={{get_override("nextpnr_dir")|default("/usr/local/nextpnr-xilinx/share/")}}/xilinx
         """,
         r"""
         PART={{platform._yosys_nextpnr_part_map.get(platform._part, platform._part)}}