From a4237f2526b218e1ecf948d438e91116ef838e1c Mon Sep 17 00:00:00 2001 From: htfab Date: Mon, 14 Oct 2024 13:44:22 +0200 Subject: [PATCH] feat: run DRC & LVS as part of --harden --orfs --- project.py | 5 +++++ tt_tool.py | 19 ------------------- 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/project.py b/project.py index d03190a..f499d53 100644 --- a/project.py +++ b/project.py @@ -606,6 +606,11 @@ def harden(self): logging.error("harden failed") exit(1) + # DRC & LVS aren't included in the default ORFS flow + if self.args.orfs: + self.run_drc() + self.run_lvs() + # Write commit information if self.args.orfs: commit_id_json_path = ( diff --git a/tt_tool.py b/tt_tool.py index f9a9865..4664f4e 100755 --- a/tt_tool.py +++ b/tt_tool.py @@ -110,19 +110,6 @@ action="store_const", const=True, ) - parser.add_argument( - "--run-drc", - help="run DRC on hardened project (ORFS only)", - action="store_const", - const=True, - ) - - parser.add_argument( - "--run-lvs", - help="run LVS on hardened project (ORFS only)", - action="store_const", - const=True, - ) # FPGA parser.add_argument( @@ -177,12 +164,6 @@ if args.harden: project.harden() - if args.run_drc: - project.run_drc() - - if args.run_lvs: - project.run_lvs() - if args.create_pdf: project.create_pdf()