mirror of https://github.com/VLSIDA/OpenRAM.git
Reset new hierarchy_design instead of design for duplicate GDS name checker
This commit is contained in:
parent
bbc98097ac
commit
f234e43241
|
|
@ -55,8 +55,8 @@ class openram_test(unittest.TestCase):
|
||||||
|
|
||||||
def reset(self):
|
def reset(self):
|
||||||
""" Reset the static duplicate name checker for unit tests """
|
""" Reset the static duplicate name checker for unit tests """
|
||||||
import design
|
import hierarchy_design
|
||||||
design.design.name_map=[]
|
hierarchy_design.hierarchy_design.name_map=[]
|
||||||
|
|
||||||
def isclose(self, value1,value2,error_tolerance=1e-2):
|
def isclose(self, value1,value2,error_tolerance=1e-2):
|
||||||
""" This is used to compare relative values. """
|
""" This is used to compare relative values. """
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue