feat: skip .lef at shuttle top level

This commit is contained in:
htfab
2024-05-11 08:58:43 +03:00
committed by Uri Shaked
parent 68e6da5b9f
commit dd5f1685ed
+4 -5
View File
@@ -222,7 +222,10 @@ class ShuttleConfig:
logging.info(f"** {macro_name} **") logging.info(f"** {macro_name} **")
logging.info(f" FROM {lastrun}") logging.info(f" FROM {lastrun}")
copy_print(f"{lastrun}/final/gds/{macro_name}.gds", f"gds/{macro_name}.gds") copy_print(f"{lastrun}/final/gds/{macro_name}.gds", f"gds/{macro_name}.gds")
copy_print(f"{lastrun}/final/lef/{macro_name}.lef", f"lef/{macro_name}.lef") if macro != "tt_top":
copy_print(
f"{lastrun}/final/lef/{macro_name}.lef", f"lef/{macro_name}.lef"
)
copy_print( copy_print(
f"{lastrun}/final/pnl/{macro_name}.pnl.v", f"verilog/gl/{macro_name}.v" f"{lastrun}/final/pnl/{macro_name}.pnl.v", f"verilog/gl/{macro_name}.v"
) )
@@ -264,7 +267,3 @@ class ShuttleConfig:
f"{lastrun}/final/gds/{self.tt_top_macro}.gds", f"{lastrun}/final/gds/{self.tt_top_macro}.gds",
f"efabless/gds/{self.tt_top_macro}.gds", f"efabless/gds/{self.tt_top_macro}.gds",
) )
copy_print(
f"{lastrun}/final/lef/{self.tt_top_macro}.lef",
f"efabless/lef/{self.tt_top_macro}.lef",
)