Skip to content

Commit

Permalink
Capture output of GateMate place-and-route to a log file
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Kuzmin authored and olofk committed Apr 23, 2024
1 parent 8143f90 commit a81f403
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions edalize/gatemate.py
Expand Up @@ -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": {
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a81f403

Please sign in to comment.