Update unit tests to all use the sram_factory

This commit is contained in:
Matt Guthaus
2019-03-06 14:12:24 -08:00
parent acf2798a18
commit 09a429aef7
79 changed files with 260 additions and 246 deletions
+2 -2
View File
@@ -9,6 +9,7 @@ import sys,os
sys.path.append(os.path.join(sys.path[0],".."))
import globals
from globals import OPTS
from sram_factory import factory
import debug
#@unittest.skip("SKIPPING 05_array_test")
@@ -17,10 +18,9 @@ class array_test(openram_test):
def runTest(self):
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
import bitcell_array
debug.info(2, "Testing 4x4 array for 6t_cell")
a = bitcell_array.bitcell_array(name="bitcell_array", cols=4, rows=4)
a = factory.create(module_type="bitcell_array", cols=4, rows=4)
self.local_check(a)
globals.end_openram()