Improve global and code structure using modules.

Comment and reorganize globals.py
Tests consistently use globals module for OPTions.
Add characterizer as module support.
Modify unit tests to reload new characterizer for ngspice/hspice.
Enable relative and absolute config file arguments so you can run
openram from anywhere on any config file.
This commit is contained in:
Matt Guthaus
2017-11-16 13:52:58 -08:00
parent 347f1f97fd
commit 88740c107f
41 changed files with 152 additions and 182 deletions
+1 -3
View File
@@ -1,8 +1,6 @@
import globals
import re
import debug
OPTS = globals.get_opts()
from globals import OPTS
def relative_compare(value1,value2,error_tolerance=0.001):