Development version of new pin data structure. Tests pass LVS/DRC except for bank level.

This commit is contained in:
Matt Guthaus
2017-08-23 15:02:15 -07:00
parent 7aa42f9a00
commit cf940fb15d
84 changed files with 4153 additions and 4590 deletions
+13 -4
View File
@@ -20,15 +20,19 @@ class write_driver_test(unittest.TestCase):
def runTest(self):
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
OPTS.check_lvsdrc = False
import write_driver_array
debug.info(2, "Testing write_driver_array for columns=128, word_size=128")
OPTS.check_lvsdrc = False
a = write_driver_array.write_driver_array(columns=16, word_size=16)
OPTS.check_lvsdrc = True
debug.info(2, "Testing write_driver_array for columns=8, word_size=8")
a = write_driver_array.write_driver_array(columns=8, word_size=8)
self.local_check(a)
debug.info(2, "Testing write_driver_array for columns=16, word_size=8")
a = write_driver_array.write_driver_array(columns=16, word_size=8)
self.local_check(a)
OPTS.check_lvsdrc = True
globals.end_openram()
def local_check(self, a):
@@ -44,6 +48,11 @@ class write_driver_test(unittest.TestCase):
os.remove(tempspice)
os.remove(tempgds)
# reset the static duplicate name checker for unit tests
import design
design.design.name_map=[]
# instantiate a copy of the class to actually run the test
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()