vendor: yosys is not a required tool for proprietary toolchains.

Since commit b9799b4c, the discovery mechanism for the Yosys required
to produce Verilog is different from the usual require_tool(); namely
it is possible to produce Verilog without a `yosys` binary on PATH.

Fixes #419.
This commit is contained in:
whitequark 2020-07-02 18:13:54 +00:00
parent 14845af235
commit 6bfff25e76
6 changed files with 2 additions and 12 deletions

View file

@ -176,7 +176,6 @@ class LatticeECP5Platform(TemplatedPlatform):
# Diamond templates # Diamond templates
_diamond_required_tools = [ _diamond_required_tools = [
"yosys",
"pnmainc", "pnmainc",
"ddtcmd" "ddtcmd"
] ]

View file

@ -172,7 +172,6 @@ class LatticeICE40Platform(TemplatedPlatform):
# iCECube2 templates # iCECube2 templates
_icecube2_required_tools = [ _icecube2_required_tools = [
"yosys",
"synthesis", "synthesis",
"synpwrap", "synpwrap",
"tclsh", "tclsh",

View file

@ -39,7 +39,6 @@ class LatticeMachXO2Or3LPlatform(TemplatedPlatform):
grade = "C" # [C]ommercial, [I]ndustrial grade = "C" # [C]ommercial, [I]ndustrial
required_tools = [ required_tools = [
"yosys",
"pnmainc", "pnmainc",
"ddtcmd" "ddtcmd"
] ]

View file

@ -53,10 +53,7 @@ class Xilinx7SeriesPlatform(TemplatedPlatform):
speed = abstractproperty() speed = abstractproperty()
grade = None grade = None
required_tools = [ required_tools = ["vivado"]
"yosys",
"vivado"
]
file_templates = { file_templates = {
**TemplatedPlatform.build_script_templates, **TemplatedPlatform.build_script_templates,
"build_{{name}}.sh": r""" "build_{{name}}.sh": r"""

View file

@ -59,7 +59,6 @@ class XilinxSpartan3Or6Platform(TemplatedPlatform):
speed = abstractproperty() speed = abstractproperty()
required_tools = [ required_tools = [
"yosys",
"xst", "xst",
"ngdbuild", "ngdbuild",
"map", "map",

View file

@ -53,10 +53,7 @@ class XilinxUltraScalePlatform(TemplatedPlatform):
speed = abstractproperty() speed = abstractproperty()
grade = None grade = None
required_tools = [ required_tools = ["vivado"]
"yosys",
"vivado"
]
file_templates = { file_templates = {
**TemplatedPlatform.build_script_templates, **TemplatedPlatform.build_script_templates,
"build_{{name}}.sh": r""" "build_{{name}}.sh": r"""