mirror of https://github.com/VLSIDA/OpenRAM.git
Rename config_20 to config since it is used in all tests
This commit is contained in:
parent
196710ec3e
commit
0354e2dfb7
|
|
@ -12,7 +12,7 @@ import debug
|
||||||
class library_drc_test(openram_test):
|
class library_drc_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import verify
|
import verify
|
||||||
|
|
||||||
(gds_dir, gds_files) = setup_files()
|
(gds_dir, gds_files) = setup_files()
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import debug
|
||||||
class library_lvs_test(openram_test):
|
class library_lvs_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import verify
|
import verify
|
||||||
|
|
||||||
(gds_dir, sp_dir, allnames) = setup_files()
|
(gds_dir, sp_dir, allnames) = setup_files()
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import debug
|
||||||
class contact_test(openram_test):
|
class contact_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import contact
|
import contact
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import debug
|
||||||
class path_test(openram_test):
|
class path_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import wire_path
|
import wire_path
|
||||||
import tech
|
import tech
|
||||||
import design
|
import design
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import debug
|
||||||
class ptx_1finger_nmos_test(openram_test):
|
class ptx_1finger_nmos_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import tech
|
import tech
|
||||||
|
|
||||||
debug.info(2, "Checking min size NMOS with 1 finger")
|
debug.info(2, "Checking min size NMOS with 1 finger")
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import debug
|
||||||
class ptx_1finger_pmos_test(openram_test):
|
class ptx_1finger_pmos_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import tech
|
import tech
|
||||||
|
|
||||||
debug.info(2, "Checking min size PMOS with 1 finger")
|
debug.info(2, "Checking min size PMOS with 1 finger")
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import debug
|
||||||
class ptx_3finger_nmos_test(openram_test):
|
class ptx_3finger_nmos_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import tech
|
import tech
|
||||||
|
|
||||||
debug.info(2, "Checking three fingers NMOS")
|
debug.info(2, "Checking three fingers NMOS")
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import debug
|
||||||
class ptx_3finger_pmos_test(openram_test):
|
class ptx_3finger_pmos_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import tech
|
import tech
|
||||||
|
|
||||||
debug.info(2, "Checking three fingers PMOS")
|
debug.info(2, "Checking three fingers PMOS")
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import debug
|
||||||
class ptx_4finger_nmos_test(openram_test):
|
class ptx_4finger_nmos_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import tech
|
import tech
|
||||||
|
|
||||||
debug.info(2, "Checking three fingers NMOS")
|
debug.info(2, "Checking three fingers NMOS")
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import debug
|
||||||
class ptx_test(openram_test):
|
class ptx_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import tech
|
import tech
|
||||||
|
|
||||||
debug.info(2, "Checking three fingers PMOS")
|
debug.info(2, "Checking three fingers PMOS")
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import debug
|
||||||
class wire_test(openram_test):
|
class wire_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import wire
|
import wire
|
||||||
import tech
|
import tech
|
||||||
import design
|
import design
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class pand2_test(openram_test):
|
class pand2_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
global verify
|
global verify
|
||||||
import verify
|
import verify
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ from sram_factory import factory
|
||||||
class pbitcell_test(openram_test):
|
class pbitcell_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
OPTS.num_rw_ports=1
|
OPTS.num_rw_ports=1
|
||||||
OPTS.num_w_ports=1
|
OPTS.num_w_ports=1
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class pbuf_test(openram_test):
|
class pbuf_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Testing inverter/buffer 4x 8x")
|
debug.info(2, "Testing inverter/buffer 4x 8x")
|
||||||
a = factory.create(module_type="pbuf", size=8)
|
a = factory.create(module_type="pbuf", size=8)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class pdriver_test(openram_test):
|
class pdriver_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Testing inverter/buffer 4x 8x")
|
debug.info(2, "Testing inverter/buffer 4x 8x")
|
||||||
# a tests the error message for specifying conflicting conditions
|
# a tests the error message for specifying conflicting conditions
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class pinv_test(openram_test):
|
class pinv_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Checking 8x inverter")
|
debug.info(2, "Checking 8x inverter")
|
||||||
tx = factory.create(module_type="pinv", size=8)
|
tx = factory.create(module_type="pinv", size=8)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class pinv_test(openram_test):
|
class pinv_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Checking 1x beta=3 size inverter")
|
debug.info(2, "Checking 1x beta=3 size inverter")
|
||||||
tx = factory.create(module_type="pinv", size=1, beta=3)
|
tx = factory.create(module_type="pinv", size=1, beta=3)
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import debug
|
||||||
class pinv_test(openram_test):
|
class pinv_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Checking 1x size inverter")
|
debug.info(2, "Checking 1x size inverter")
|
||||||
tx = factory.create(module_type="pinv", size=1)
|
tx = factory.create(module_type="pinv", size=1)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class pinv_test(openram_test):
|
class pinv_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Checking 2x size inverter")
|
debug.info(2, "Checking 2x size inverter")
|
||||||
tx = factory.create(module_type="pinv", size=2)
|
tx = factory.create(module_type="pinv", size=2)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class pinvbuf_test(openram_test):
|
class pinvbuf_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Testing inverter/buffer 4x 8x")
|
debug.info(2, "Testing inverter/buffer 4x 8x")
|
||||||
a = factory.create(module_type="pinvbuf", size=8)
|
a = factory.create(module_type="pinvbuf", size=8)
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import debug
|
||||||
class pnand2_test(openram_test):
|
class pnand2_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Checking 2-input nand gate")
|
debug.info(2, "Checking 2-input nand gate")
|
||||||
tx = factory.create(module_type="pnand2", size=1)
|
tx = factory.create(module_type="pnand2", size=1)
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import debug
|
||||||
class pnand3_test(openram_test):
|
class pnand3_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Checking 3-input nand gate")
|
debug.info(2, "Checking 3-input nand gate")
|
||||||
tx = factory.create(module_type="pnand3", size=1)
|
tx = factory.create(module_type="pnand3", size=1)
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import debug
|
||||||
class pnor2_test(openram_test):
|
class pnor2_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Checking 2-input nor gate")
|
debug.info(2, "Checking 2-input nor gate")
|
||||||
tx = factory.create(module_type="pnor2", size=1)
|
tx = factory.create(module_type="pnor2", size=1)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class precharge_test(openram_test):
|
class precharge_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
# check precharge in single port
|
# check precharge in single port
|
||||||
debug.info(2, "Checking precharge for handmade bitcell")
|
debug.info(2, "Checking precharge for handmade bitcell")
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class replica_pbitcell_test(openram_test):
|
class replica_pbitcell_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import replica_pbitcell
|
import replica_pbitcell
|
||||||
|
|
||||||
OPTS.bitcell = "pbitcell"
|
OPTS.bitcell = "pbitcell"
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import debug
|
||||||
class single_level_column_mux_test(openram_test):
|
class single_level_column_mux_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
# check single level column mux in single port
|
# check single level column mux in single port
|
||||||
debug.info(2, "Checking column mux")
|
debug.info(2, "Checking column mux")
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import debug
|
||||||
class bitcell_1rw_1r_array_test(openram_test):
|
class bitcell_1rw_1r_array_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Testing 4x4 array for cell_1rw_1r")
|
debug.info(2, "Testing 4x4 array for cell_1rw_1r")
|
||||||
OPTS.bitcell = "bitcell_1rw_1r"
|
OPTS.bitcell = "bitcell_1rw_1r"
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import debug
|
||||||
class array_test(openram_test):
|
class array_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Testing 4x4 array for 6t_cell")
|
debug.info(2, "Testing 4x4 array for 6t_cell")
|
||||||
a = factory.create(module_type="bitcell_array", cols=4, rows=4)
|
a = factory.create(module_type="bitcell_array", cols=4, rows=4)
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class pbitcell_array_test(openram_test):
|
class pbitcell_array_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Testing 4x4 array for multiport bitcell, with read ports at the edge of the bit cell")
|
debug.info(2, "Testing 4x4 array for multiport bitcell, with read ports at the edge of the bit cell")
|
||||||
OPTS.bitcell = "pbitcell"
|
OPTS.bitcell = "pbitcell"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class hierarchical_decoder_test(openram_test):
|
class hierarchical_decoder_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
# Doesn't require hierarchical decoder
|
# Doesn't require hierarchical decoder
|
||||||
# debug.info(1, "Testing 4 row sample for hierarchical_decoder")
|
# debug.info(1, "Testing 4 row sample for hierarchical_decoder")
|
||||||
# a = hierarchical_decoder.hierarchical_decoder(name="hd1, rows=4)
|
# a = hierarchical_decoder.hierarchical_decoder(name="hd1, rows=4)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class hierarchical_predecode2x4_test(openram_test):
|
class hierarchical_predecode2x4_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
# checking hierarchical precode 2x4 for single port
|
# checking hierarchical precode 2x4 for single port
|
||||||
debug.info(1, "Testing sample for hierarchy_predecode2x4")
|
debug.info(1, "Testing sample for hierarchy_predecode2x4")
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class hierarchical_predecode3x8_test(openram_test):
|
class hierarchical_predecode3x8_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
# checking hierarchical precode 3x8 for single port
|
# checking hierarchical precode 3x8 for single port
|
||||||
debug.info(1, "Testing sample for hierarchy_predecode3x8")
|
debug.info(1, "Testing sample for hierarchy_predecode3x8")
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import debug
|
||||||
class single_level_column_mux_test(openram_test):
|
class single_level_column_mux_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import single_level_column_mux_array
|
import single_level_column_mux_array
|
||||||
|
|
||||||
# check single level column mux array in single port
|
# check single level column mux array in single port
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class precharge_test(openram_test):
|
class precharge_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
# check precharge array in single port
|
# check precharge array in single port
|
||||||
debug.info(2, "Checking 3 column precharge")
|
debug.info(2, "Checking 3 column precharge")
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import debug
|
||||||
class wordline_driver_test(openram_test):
|
class wordline_driver_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
# check wordline driver for single port
|
# check wordline driver for single port
|
||||||
debug.info(2, "Checking driver")
|
debug.info(2, "Checking driver")
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class sense_amp_test(openram_test):
|
class sense_amp_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
# check sense amp array for single port
|
# check sense amp array for single port
|
||||||
debug.info(2, "Testing sense_amp_array for word_size=4, words_per_row=2")
|
debug.info(2, "Testing sense_amp_array for word_size=4, words_per_row=2")
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class write_driver_test(openram_test):
|
class write_driver_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
# check write driver array for single port
|
# check write driver array for single port
|
||||||
debug.info(2, "Testing write_driver_array for columns=8, word_size=8")
|
debug.info(2, "Testing write_driver_array for columns=8, word_size=8")
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class dff_array_test(openram_test):
|
class dff_array_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Testing dff_array for 3x3")
|
debug.info(2, "Testing dff_array for 3x3")
|
||||||
a = factory.create(module_type="dff_array", rows=3, columns=3)
|
a = factory.create(module_type="dff_array", rows=3, columns=3)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class dff_buf_array_test(openram_test):
|
class dff_buf_array_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Testing dff_buf_array for 3x3")
|
debug.info(2, "Testing dff_buf_array for 3x3")
|
||||||
a = factory.create(module_type="dff_buf_array", rows=3, columns=3)
|
a = factory.create(module_type="dff_buf_array", rows=3, columns=3)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class dff_buf_test(openram_test):
|
class dff_buf_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Testing dff_buf 4x 8x")
|
debug.info(2, "Testing dff_buf 4x 8x")
|
||||||
a = factory.create(module_type="dff_buf", inv1_size=4, inv2_size=8)
|
a = factory.create(module_type="dff_buf", inv1_size=4, inv2_size=8)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class tri_gate_array_test(openram_test):
|
class tri_gate_array_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(1, "Testing tri_gate_array for columns=8, word_size=8")
|
debug.info(1, "Testing tri_gate_array for columns=8, word_size=8")
|
||||||
a = factory.create(module_type="tri_gate_array", columns=8, word_size=8)
|
a = factory.create(module_type="tri_gate_array", columns=8, word_size=8)
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class delay_chain_test(openram_test):
|
class delay_chain_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(2, "Testing delay_chain")
|
debug.info(2, "Testing delay_chain")
|
||||||
a = factory.create(module_type="delay_chain", fanout_list=[4, 4, 4, 4])
|
a = factory.create(module_type="delay_chain", fanout_list=[4, 4, 4, 4])
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class replica_bitline_multiport_test(openram_test):
|
class replica_bitline_multiport_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
stages=4
|
stages=4
|
||||||
fanout=4
|
fanout=4
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class replica_bitline_test(openram_test):
|
class replica_bitline_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
# check replica bitline in single port
|
# check replica bitline in single port
|
||||||
stages=4
|
stages=4
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class control_logic_test(openram_test):
|
class control_logic_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
import control_logic
|
import control_logic
|
||||||
import tech
|
import tech
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class bank_select_test(openram_test):
|
class bank_select_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(1, "No column mux, rw control logic")
|
debug.info(1, "No column mux, rw control logic")
|
||||||
a = factory.create(module_type="bank_select", port="rw")
|
a = factory.create(module_type="bank_select", port="rw")
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class multi_bank_test(openram_test):
|
class multi_bank_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
|
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class multi_bank_test(openram_test):
|
class multi_bank_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
OPTS.bitcell = "pbitcell"
|
OPTS.bitcell = "pbitcell"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class psingle_bank_test(openram_test):
|
class psingle_bank_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from bank import bank
|
from bank import bank
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
OPTS.bitcell = "pbitcell"
|
OPTS.bitcell = "pbitcell"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class single_bank_1rw_1r_test(openram_test):
|
class single_bank_1rw_1r_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
OPTS.bitcell = "bitcell_1rw_1r"
|
OPTS.bitcell = "bitcell_1rw_1r"
|
||||||
OPTS.num_rw_ports = 1
|
OPTS.num_rw_ports = 1
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class single_bank_test(openram_test):
|
class single_bank_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
|
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class psram_1bank_2mux_1rw_1w_test(openram_test):
|
class psram_1bank_2mux_1rw_1w_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
OPTS.bitcell = "pbitcell"
|
OPTS.bitcell = "pbitcell"
|
||||||
OPTS.replica_bitcell="replica_pbitcell"
|
OPTS.replica_bitcell="replica_pbitcell"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class psram_1bank_2mux_1w_1r_test(openram_test):
|
class psram_1bank_2mux_1w_1r_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
OPTS.bitcell = "pbitcell"
|
OPTS.bitcell = "pbitcell"
|
||||||
OPTS.replica_bitcell="replica_pbitcell"
|
OPTS.replica_bitcell="replica_pbitcell"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class psram_1bank_2mux_test(openram_test):
|
class psram_1bank_2mux_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
OPTS.bitcell = "pbitcell"
|
OPTS.bitcell = "pbitcell"
|
||||||
OPTS.replica_bitcell="replica_pbitcell"
|
OPTS.replica_bitcell="replica_pbitcell"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class psram_1bank_4mux_1rw_1r_test(openram_test):
|
class psram_1bank_4mux_1rw_1r_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
OPTS.bitcell = "pbitcell"
|
OPTS.bitcell = "pbitcell"
|
||||||
OPTS.replica_bitcell="replica_pbitcell"
|
OPTS.replica_bitcell="replica_pbitcell"
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class sram_1bank_2mux_1rw_1r_test(openram_test):
|
class sram_1bank_2mux_1rw_1r_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
|
|
||||||
OPTS.bitcell = "bitcell_1rw_1r"
|
OPTS.bitcell = "bitcell_1rw_1r"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class psram_1bank_2mux_1w_1r_test(openram_test):
|
class psram_1bank_2mux_1w_1r_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
OPTS.bitcell = "bitcell_1w_1r"
|
OPTS.bitcell = "bitcell_1w_1r"
|
||||||
OPTS.replica_bitcell="replica_bitcell_1w_1r"
|
OPTS.replica_bitcell="replica_bitcell_1w_1r"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class sram_1bank_2mux_test(openram_test):
|
class sram_1bank_2mux_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
num_words=32,
|
num_words=32,
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class sram_1bank_4mux_test(openram_test):
|
class sram_1bank_4mux_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
num_words=64,
|
num_words=64,
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class sram_1bank_8mux_1rw_1r_test(openram_test):
|
class sram_1bank_8mux_1rw_1r_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
|
|
||||||
OPTS.bitcell = "bitcell_1rw_1r"
|
OPTS.bitcell = "bitcell_1rw_1r"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class sram_1bank_8mux_test(openram_test):
|
class sram_1bank_8mux_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=2,
|
c = sram_config(word_size=2,
|
||||||
num_words=128,
|
num_words=128,
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class sram_1bank_nomux_1rw_1r_test(openram_test):
|
class sram_1bank_nomux_1rw_1r_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
|
|
||||||
OPTS.bitcell = "bitcell_1rw_1r"
|
OPTS.bitcell = "bitcell_1rw_1r"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class sram_1bank_nomux_test(openram_test):
|
class sram_1bank_nomux_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
num_words=16,
|
num_words=16,
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class sram_2bank_test(openram_test):
|
class sram_2bank_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
c = sram_config(word_size=16,
|
c = sram_config(word_size=16,
|
||||||
num_words=32,
|
num_words=32,
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class timing_sram_test(openram_test):
|
class timing_sram_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.spice_name="hspice"
|
OPTS.spice_name="hspice"
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class timing_setup_test(openram_test):
|
class timing_setup_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.spice_name="hspice"
|
OPTS.spice_name="hspice"
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class timing_sram_test(openram_test):
|
class timing_sram_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.spice_name="ngspice"
|
OPTS.spice_name="ngspice"
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class timing_setup_test(openram_test):
|
class timing_setup_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.spice_name="ngspice"
|
OPTS.spice_name="ngspice"
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class psram_1bank_2mux_1rw_1r_1w_func_test(openram_test):
|
class psram_1bank_2mux_1rw_1r_1w_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
OPTS.trim_netlist = False
|
OPTS.trim_netlist = False
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class psram_1bank_4mux_func_test(openram_test):
|
class psram_1bank_4mux_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
OPTS.trim_netlist = False
|
OPTS.trim_netlist = False
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class psram_1bank_8mux_func_test(openram_test):
|
class psram_1bank_8mux_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
OPTS.trim_netlist = False
|
OPTS.trim_netlist = False
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class psram_1bank_nomux_func_test(openram_test):
|
class psram_1bank_nomux_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
OPTS.trim_netlist = False
|
OPTS.trim_netlist = False
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class sram_1bank_2mux_func_test(openram_test):
|
class sram_1bank_2mux_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
OPTS.trim_netlist = False
|
OPTS.trim_netlist = False
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class sram_1bank_4mux_func_test(openram_test):
|
class sram_1bank_4mux_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
OPTS.trim_netlist = False
|
OPTS.trim_netlist = False
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class sram_1bank_8mux_func_test(openram_test):
|
class sram_1bank_8mux_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
OPTS.trim_netlist = False
|
OPTS.trim_netlist = False
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class sram_1bank_nomux_func_test(openram_test):
|
class sram_1bank_nomux_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class psram_1bank_nomux_func_test(openram_test):
|
class psram_1bank_nomux_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
OPTS.trim_netlist = False
|
OPTS.trim_netlist = False
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import debug
|
||||||
class model_corners_lib_test(openram_test):
|
class model_corners_lib_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
from characterizer import lib
|
from characterizer import lib
|
||||||
from sram import sram
|
from sram import sram
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import debug
|
||||||
class lib_test(openram_test):
|
class lib_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
from characterizer import lib
|
from characterizer import lib
|
||||||
from sram import sram
|
from sram import sram
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import debug
|
||||||
class lib_test(openram_test):
|
class lib_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.trim_netlist = True
|
OPTS.trim_netlist = True
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import debug
|
||||||
class lib_test(openram_test):
|
class lib_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.trim_netlist = False
|
OPTS.trim_netlist = False
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class lef_test(openram_test):
|
class lef_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
from sram import sram
|
from sram import sram
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ import debug
|
||||||
class verilog_test(openram_test):
|
class verilog_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
from sram import sram
|
from sram import sram
|
||||||
from sram_config import sram_config
|
from sram_config import sram_config
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import debug
|
||||||
class sram_func_test(openram_test):
|
class sram_func_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
|
|
||||||
OPTS.use_pex = True
|
OPTS.use_pex = True
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ class worst_case_timing_sram_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
OPTS.tech_name = "freepdk45"
|
OPTS.tech_name = "freepdk45"
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.spice_name="hspice"
|
OPTS.spice_name="hspice"
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import debug
|
||||||
class delay_model_test(openram_test):
|
class delay_model_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
globals.init_openram("config_20_{0}".format(OPTS.tech_name))
|
globals.init_openram("config_{0}".format(OPTS.tech_name))
|
||||||
OPTS.spice_name="hspice"
|
OPTS.spice_name="hspice"
|
||||||
OPTS.analytical_delay = False
|
OPTS.analytical_delay = False
|
||||||
OPTS.netlist_only = True
|
OPTS.netlist_only = True
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ class openram_test(openram_test):
|
||||||
|
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
OPENRAM_HOME = os.path.abspath(os.environ.get("OPENRAM_HOME"))
|
OPENRAM_HOME = os.path.abspath(os.environ.get("OPENRAM_HOME"))
|
||||||
globals.init_openram("{0}/tests/config_20_{1}".format(OPENRAM_HOME,OPTS.tech_name))
|
globals.init_openram("{0}/tests/config_{1}".format(OPENRAM_HOME,OPTS.tech_name))
|
||||||
|
|
||||||
debug.info(1, "Testing top-level openram.py with 2-bit, 16 word SRAM.")
|
debug.info(1, "Testing top-level openram.py with 2-bit, 16 word SRAM.")
|
||||||
out_file = "testsram"
|
out_file = "testsram"
|
||||||
|
|
@ -49,7 +49,7 @@ class openram_test(openram_test):
|
||||||
exe_name = "{0}/openram.py ".format(OPENRAM_HOME)
|
exe_name = "{0}/openram.py ".format(OPENRAM_HOME)
|
||||||
else:
|
else:
|
||||||
exe_name = "coverage run -p {0}/openram.py ".format(OPENRAM_HOME)
|
exe_name = "coverage run -p {0}/openram.py ".format(OPENRAM_HOME)
|
||||||
config_name = "{0}config_20_{1}.py".format(OPENRAM_HOME + "/tests/",OPTS.tech_name)
|
config_name = "{0}config_{1}.py".format(OPENRAM_HOME + "/tests/",OPTS.tech_name)
|
||||||
cmd = "{0} -n -o {1} -p {2} {3} {4} 2>&1 > {5}/output.log".format(exe_name,
|
cmd = "{0} -n -o {1} -p {2} {3} {4} 2>&1 > {5}/output.log".format(exe_name,
|
||||||
out_file,
|
out_file,
|
||||||
out_path,
|
out_path,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue