From: whitequark Date: Thu, 10 Oct 2019 14:38:09 +0000 (+0000) Subject: vendor: yosys is a required tool for all Verilog-based flows. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80fde936ef1fbdaae05d3bfa01caf9ceaa592b60;p=nmigen.git vendor: yosys is a required tool for all Verilog-based flows. --- diff --git a/nmigen/vendor/lattice_ecp5.py b/nmigen/vendor/lattice_ecp5.py index 8852fb8..e6d447a 100644 --- a/nmigen/vendor/lattice_ecp5.py +++ b/nmigen/vendor/lattice_ecp5.py @@ -165,6 +165,7 @@ class LatticeECP5Platform(TemplatedPlatform): # Diamond templates _diamond_required_tools = [ + "yosys", "pnmainc", "ddtcmd" ] diff --git a/nmigen/vendor/lattice_ice40.py b/nmigen/vendor/lattice_ice40.py index cc395c0..d3fa8c7 100644 --- a/nmigen/vendor/lattice_ice40.py +++ b/nmigen/vendor/lattice_ice40.py @@ -170,6 +170,7 @@ class LatticeICE40Platform(TemplatedPlatform): # iCECube2 templates _icecube2_required_tools = [ + "yosys", "synthesis", "synpwrap", "tclsh", diff --git a/nmigen/vendor/xilinx_7series.py b/nmigen/vendor/xilinx_7series.py index 0d64e3e..d26c438 100644 --- a/nmigen/vendor/xilinx_7series.py +++ b/nmigen/vendor/xilinx_7series.py @@ -51,7 +51,10 @@ class Xilinx7SeriesPlatform(TemplatedPlatform): package = abstractproperty() speed = abstractproperty() - required_tools = ["vivado"] + required_tools = [ + "yosys", + "vivado" + ] file_templates = { **TemplatedPlatform.build_script_templates, diff --git a/nmigen/vendor/xilinx_spartan_3_6.py b/nmigen/vendor/xilinx_spartan_3_6.py index 65f4a0a..929b81d 100644 --- a/nmigen/vendor/xilinx_spartan_3_6.py +++ b/nmigen/vendor/xilinx_spartan_3_6.py @@ -59,6 +59,7 @@ class XilinxSpartan3Or6Platform(TemplatedPlatform): speed = abstractproperty() required_tools = [ + "yosys", "xst", "ngdbuild", "map",