Fix error in 8mux test. Fix comment in all tests.

This commit is contained in:
Matt Guthaus 2018-11-02 16:34:26 -07:00
parent 6d48bdf55a
commit 6dd959b638
76 changed files with 79 additions and 77 deletions

View File

@ -116,7 +116,7 @@ def check_print_output(file_name):
return(count)
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -39,7 +39,7 @@ def setup_files():
return (gds_dir, gds_files)
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -59,7 +59,7 @@ def setup_files():
return (gds_dir, sp_dir, allnames)
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -43,7 +43,7 @@ class contact_test(openram_test):
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -84,7 +84,7 @@ class path_test(openram_test):
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -25,7 +25,7 @@ class ptx_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -25,7 +25,7 @@ class ptx_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -27,7 +27,7 @@ class ptx_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -27,7 +27,7 @@ class ptx_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -27,7 +27,7 @@ class ptx_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -27,7 +27,7 @@ class ptx_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -121,7 +121,7 @@ class wire_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -94,7 +94,7 @@ class pbitcell_test(openram_test):
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -25,7 +25,7 @@ class pinv_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -24,7 +24,7 @@ class pinv_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -23,7 +23,7 @@ class pinv_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -25,7 +25,7 @@ class pinv_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -23,7 +23,7 @@ class pinvbuf_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -27,7 +27,7 @@ class pnand2_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -27,7 +27,7 @@ class pnand3_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -26,7 +26,7 @@ class pnor2_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -39,7 +39,7 @@ class precharge_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -37,7 +37,7 @@ class replica_pbitcell_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -41,7 +41,7 @@ class single_level_column_mux_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -29,7 +29,7 @@ class bitcell_1rw_1r_array_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -25,7 +25,7 @@ class array_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -44,7 +44,7 @@ class pbitcell_array_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -69,7 +69,7 @@ class hierarchical_decoder_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -35,7 +35,7 @@ class hierarchical_predecode2x4_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -35,7 +35,7 @@ class hierarchical_predecode3x8_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -54,7 +54,7 @@ class single_level_column_mux_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -39,7 +39,7 @@ class precharge_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -37,7 +37,7 @@ class wordline_driver_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -42,7 +42,7 @@ class sense_amp_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -42,7 +42,7 @@ class write_driver_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -31,7 +31,7 @@ class dff_array_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -31,7 +31,7 @@ class dff_buf_array_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -23,7 +23,7 @@ class dff_buf_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -31,7 +31,7 @@ class dff_inv_array_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -23,7 +23,7 @@ class dff_inv_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -27,7 +27,7 @@ class tri_gate_array_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -23,7 +23,7 @@ class delay_chain_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -70,7 +70,7 @@ class replica_bitline_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -53,7 +53,7 @@ class control_logic_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -40,7 +40,7 @@ class bank_select_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -49,7 +49,7 @@ class multi_bank_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -54,7 +54,7 @@ class multi_bank_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -137,7 +137,7 @@ class psingle_bank_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -48,7 +48,7 @@ class single_bank_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -128,7 +128,7 @@ class sram_1bank_test(openram_test):
"""
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -29,7 +29,7 @@ class sram_1bank_2mux_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -29,7 +29,7 @@ class sram_1bank_4mux_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -29,7 +29,7 @@ class sram_1bank_8mux_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -29,7 +29,7 @@ class sram_1bank_nomux_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -48,7 +48,7 @@ class sram_2bank_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -47,7 +47,7 @@ class sram_4bank_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -81,7 +81,7 @@ class timing_sram_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -52,7 +52,7 @@ class timing_setup_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -81,7 +81,7 @@ class timing_sram_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -53,7 +53,7 @@ class timing_setup_test(openram_test):
reload(characterizer)
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -49,7 +49,7 @@ class psram_1bank_2mux_func_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -11,7 +11,7 @@ import globals
from globals import OPTS
import debug
@unittest.skip("SKIPPING 22_psram_1bank_4mux_func_test")
#@unittest.skip("SKIPPING 22_psram_1bank_4mux_func_test")
class psram_1bank_4mux_func_test(openram_test):
def runTest(self):
@ -49,7 +49,7 @@ class psram_1bank_4mux_func_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -37,6 +37,7 @@ class psram_1bank_8mux_func_test(openram_test):
c.words_per_row,
c.num_banks))
s = sram(c, name="sram")
tempspice = OPTS.openram_temp + "temp.sp"
s.sp_write(tempspice)
corner = (OPTS.process_corners[0], OPTS.supply_voltages[0], OPTS.temperatures[0])
@ -48,7 +49,7 @@ class psram_1bank_8mux_func_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -49,7 +49,7 @@ class psram_1bank_nomux_func_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -47,7 +47,7 @@ class sram_1bank_2mux_func_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -47,7 +47,7 @@ class sram_1bank_4mux_func_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -38,6 +38,7 @@ class sram_1bank_8mux_func_test(openram_test):
c.words_per_row,
c.num_banks))
s = sram(c, name="sram")
tempspice = OPTS.openram_temp + "temp.sp"
s.sp_write(tempspice)
corner = (OPTS.process_corners[0], OPTS.supply_voltages[0], OPTS.temperatures[0])
@ -49,7 +50,7 @@ class sram_1bank_8mux_func_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -47,7 +47,7 @@ class sram_1bank_nomux_func_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -44,7 +44,7 @@ class lib_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -55,7 +55,7 @@ class lib_test(openram_test):
reload(characterizer)
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -54,7 +54,7 @@ class lib_test(openram_test):
reload(characterizer)
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -42,7 +42,7 @@ class lef_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -38,7 +38,7 @@ class verilog_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -306,7 +306,7 @@ class sram_func_test(openram_test):
sti_file.file.close()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -73,7 +73,7 @@ class worst_case_timing_sram_test(openram_test):
globals.end_openram()
# instantiate a copdsay of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]

View File

@ -83,7 +83,7 @@ class openram_test(openram_test):
globals.end_openram()
# instantiate a copy of the class to actually run the test
# run the test from the command line
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]