diff --git a/edalize/gatemate.py b/edalize/gatemate.py index 2e45b803..706f9861 100644 --- a/edalize/gatemate.py +++ b/edalize/gatemate.py @@ -71,6 +71,9 @@ def configure_main(self): else: ccf_file = f.name + # p_r_log_file = None + p_r_log_file = "p_r.log" + # Pass GateMate tool options to yosys self.edam["tool_options"] = { "yosys": { @@ -117,6 +120,10 @@ def configure_main(self): ] if ccf_file is not None: command += ["-ccf", ccf_file] + + if p_r_log_file is not None: + command += [">", p_r_log_file] + commands.add(command, [targets], [synth_out]) commands.set_default_target(targets)