From 80fde936ef1fbdaae05d3bfa01caf9ceaa592b60 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 10 Oct 2019 14:38:09 +0000 Subject: [PATCH] vendor: yosys is a required tool for all Verilog-based flows. --- nmigen/vendor/lattice_ecp5.py | 1 + nmigen/vendor/lattice_ice40.py | 1 + nmigen/vendor/xilinx_7series.py | 5 ++++- nmigen/vendor/xilinx_spartan_3_6.py | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) 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", -- 2.30.2