Use library imports globally

This commit is contained in:
Eren Dogan
2022-11-27 13:01:20 -08:00
parent 037468d88d
commit fccdc3c45b
455 changed files with 3254 additions and 3083 deletions
+4 -5
View File
@@ -19,12 +19,11 @@ We obtained this file from Qflow ( http://opencircuitdesign.com/qflow/index.html
and include its appropriate license.
"""
import os
import re
import shutil
import debug
from globals import OPTS
from openram import debug
from openram import OPTS
from .run_script import *
# Keep track of statistics
num_drc_runs = 0
@@ -96,12 +95,12 @@ def write_drc_script(cell_name, gds_name, extract, final_verification, output_pa
# Flatten the transistors
# Bug in Netgen 1.5.194 when using this...
try:
from tech import blackbox_cells
from openram.tech import blackbox_cells
except ImportError:
blackbox_cells = []
try:
from tech import flatglob
from openram.tech import flatglob
except ImportError:
flatglob = []
f.write("gds readonly true\n")