diff --git a/f4pga/flows/common_modules/synth.py b/f4pga/flows/common_modules/yosys.py similarity index 98% rename from f4pga/flows/common_modules/synth.py rename to f4pga/flows/common_modules/yosys.py index 56f8176..6e42c8e 100755 --- a/f4pga/flows/common_modules/synth.py +++ b/f4pga/flows/common_modules/yosys.py @@ -29,7 +29,7 @@ from f4pga.wrappers.tcl import get_script_path as get_tcl_wrapper_path isLattice = FPGA_FAM == "ice40" -class SynthModule(Module): +class YosysModule(Module): extra_products: "list[str]" def map_io(self, ctx: ModuleContext): @@ -99,7 +99,7 @@ class SynthModule(Module): wfptr.write("") def __init__(self, params): - self.name = "synthesize" + self.name = "yosys" self.no_of_phases = 3 self.pnrtool = "nextpnr" if isLattice else "vpr" @@ -147,4 +147,4 @@ class SynthModule(Module): self.prod_meta.update(extra_meta) -ModuleClass = SynthModule +ModuleClass = YosysModule diff --git a/f4pga/flows/platforms.yml b/f4pga/flows/platforms.yml index 84954ea..9929bdc 100644 --- a/f4pga/flows/platforms.yml +++ b/f4pga/flows/platforms.yml @@ -59,7 +59,7 @@ xc7a50t: &xc7 params: build_dir: 'build/${device}' synth: - module: 'common:synth' + module: 'common:yosys' params: takes: - xdc? @@ -193,7 +193,7 @@ ice40: params: build_dir: build/${device} synth: - module: 'common:synth' + module: 'common:yosys' params: takes: produces: @@ -261,7 +261,7 @@ ql-eos-s3: params: build_dir: 'build/${device}' synth: - module: 'common:synth' + module: 'common:yosys' params: takes: - pcf? @@ -650,7 +650,7 @@ ql-k4n8_fast: &ql-k4n8 params: build_dir: 'build/${device}' synth: - module: 'common:synth' + module: 'common:yosys' params: produces: - synth_v