Only check if using magic with freepdk when LVSDRC is enabled.

This commit is contained in:
Matt Guthaus 2018-01-17 07:38:29 -08:00
parent 7c50708158
commit ba489f0291
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ else:
OPTS.lvs_exe = get_tool("LVS",["calibre","assura","netgen"])
OPTS.pex_exe = get_tool("PEX",["calibre","magic"])
if OPTS.tech_name == "freepdk45":
if OPTS.check_lvsdrc and OPTS.tech_name == "freepdk45":
debug.check(OPTS.drc_exe[0]!="magic","Magic does not support FreePDK45 for DRC.")
if OPTS.drc_exe == None: