Skip to content

Commit

Permalink
fix(orfs): fail if violations remain after detailed routing
Browse files Browse the repository at this point in the history
  • Loading branch information
htfab committed Oct 21, 2024
1 parent 9dc2af1 commit c8dd993
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions project.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,11 @@ def harden(self):
pdk_sources.split()[1],
)

if self.args.orfs:
if metrics["detailedroute__route__drc_errors"] > 0:
logging.error("error: detailed routing couldn't resolve all violations")
exit(1)

os.chdir(cwd)

def run_drc(self):
Expand Down

0 comments on commit c8dd993

Please sign in to comment.