mirror of https://github.com/VLSIDA/OpenRAM.git
Change unit tests to use verify instead of calibre. Debugging gds read comments in magic.py.
This commit is contained in:
parent
4285e576f8
commit
37edd7cac6
|
|
@ -1,12 +1,21 @@
|
|||
"""
|
||||
This is a DRC/LVS/PEX interface file for magic + netgen.
|
||||
|
||||
This assumes you have the SCMOS magic rules installed. Get these from:
|
||||
ftp://ftp.mosis.edu/pub/sondeen/magic/new/beta/current.tar.gz
|
||||
and install them in:
|
||||
cd /opt/local/lib/magic/sys
|
||||
tar zxvf current.tar.gz
|
||||
ln -s 2001a current
|
||||
|
||||
1. magic can perform drc with the following:
|
||||
#!/bin/sh
|
||||
magic -dnull -noconsole << EOF
|
||||
tech load SCN3ME_SUBM.30
|
||||
** import gds file
|
||||
load $1.mag -force
|
||||
gds rescale false
|
||||
gds polygon subcell true
|
||||
gds warning default
|
||||
gds read $1
|
||||
drc count
|
||||
drc why
|
||||
quit -noprompt
|
||||
|
|
@ -18,8 +27,10 @@ rm -f $1.ext
|
|||
rm -f $1.spice
|
||||
magic -dnull -noconsole << EOF
|
||||
tech load SCN3ME_SUBM.30
|
||||
** import gds file
|
||||
load $1.mag -force
|
||||
gds rescale false
|
||||
gds polygon subcell true
|
||||
gds warning default
|
||||
gds read $1
|
||||
extract
|
||||
ext2spice scale off
|
||||
ext2spice
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
import re
|
||||
|
||||
#@unittest.skip("SKIPPING 00_format check test")
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
import re
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
|
@ -29,7 +29,7 @@ class library_drc_test(unittest.TestCase):
|
|||
if not os.path.isfile(gds_name):
|
||||
drc_errors += 1
|
||||
debug.error("Missing GDS file: {}".format(gds_name))
|
||||
drc_errors += calibre.run_drc(name, gds_name)
|
||||
drc_errors += verify.run_drc(name, gds_name)
|
||||
|
||||
# fails if there are any DRC errors on any cells
|
||||
self.assertEqual(drc_errors, 0)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
import re
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
|
@ -33,7 +33,7 @@ class library_lvs_test(unittest.TestCase):
|
|||
if not os.path.isfile(sp_name):
|
||||
lvs_errors += 1
|
||||
debug.error("Missing SPICE file {}".format(gds_name))
|
||||
lvs_errors += calibre.run_lvs(f, gds_name, sp_name)
|
||||
lvs_errors += verify.run_lvs(f, gds_name, sp_name)
|
||||
|
||||
# fail if the error count is not zero
|
||||
self.assertEqual(lvs_errors, 0)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ class contact_test(unittest.TestCase):
|
|||
def local_check(self, c):
|
||||
tempgds = OPTS.openram_temp + "temp.gds"
|
||||
c.gds_write(tempgds)
|
||||
self.assertFalse(calibre.run_drc(c.name, tempgds))
|
||||
self.assertFalse(verify.run_drc(c.name, tempgds))
|
||||
os.remove(tempgds)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -94,7 +94,7 @@ class path_test(unittest.TestCase):
|
|||
def local_check(self, w):
|
||||
tempgds = OPTS.openram_temp + "temp.gds"
|
||||
w.gds_write(tempgds)
|
||||
self.assertFalse(calibre.run_drc(w.name, tempgds))
|
||||
self.assertFalse(verify.run_drc(w.name, tempgds))
|
||||
os.remove(tempgds)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ class ptx_test(unittest.TestCase):
|
|||
fet.sp_write(tempspice)
|
||||
fet.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(fet.name, tempgds))
|
||||
self.assertFalse(verify.run_drc(fet.name, tempgds))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ class ptx_test(unittest.TestCase):
|
|||
fet.sp_write(tempspice)
|
||||
fet.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(fet.name, tempgds))
|
||||
self.assertFalse(verify.run_drc(fet.name, tempgds))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ class ptx_test(unittest.TestCase):
|
|||
fet.sp_write(tempspice)
|
||||
fet.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(fet.name, tempgds))
|
||||
self.assertFalse(verify.run_drc(fet.name, tempgds))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ class ptx_test(unittest.TestCase):
|
|||
fet.sp_write(tempspice)
|
||||
fet.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(fet.name, tempgds))
|
||||
self.assertFalse(verify.run_drc(fet.name, tempgds))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -132,7 +132,7 @@ class wire_test(unittest.TestCase):
|
|||
def local_check(self, w):
|
||||
tempgds = OPTS.openram_temp + "temp.gds"
|
||||
w.gds_write(tempgds)
|
||||
self.assertFalse(calibre.run_drc(w.name, tempgds))
|
||||
self.assertFalse(verify.run_drc(w.name, tempgds))
|
||||
os.remove(tempgds)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
import sys
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
|
@ -44,8 +44,8 @@ class nand_2_test(unittest.TestCase):
|
|||
tx.sp_write(tempspice)
|
||||
tx.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(tx.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(tx.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -40,8 +40,8 @@ class nand_3_test(unittest.TestCase):
|
|||
tx.sp_write(tempspice)
|
||||
tx.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(tx.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(tx.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
import sys
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
|
@ -42,8 +42,8 @@ class nor_2_test(unittest.TestCase):
|
|||
tx.sp_write(tempspice)
|
||||
tx.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(tx.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(tx.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -47,8 +47,8 @@ class pinv_test(unittest.TestCase):
|
|||
tx.sp_write(tempspice)
|
||||
tx.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(tx.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(tx.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
import sys
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
|
@ -38,8 +38,8 @@ class precharge_test(unittest.TestCase):
|
|||
tx.sp_write(tempspice)
|
||||
tx.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(tx.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(tx.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
import sys
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
|
@ -41,8 +41,8 @@ class wordline_driver_test(unittest.TestCase):
|
|||
tx.sp_write(tempspice)
|
||||
tx.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(tx.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(tx.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(tx.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -40,8 +40,8 @@ class array_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -55,8 +55,8 @@ class hierarchical_decoder_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -38,8 +38,8 @@ class hierarchical_predecode2x4_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.OPTS
|
||||
|
||||
|
|
@ -38,8 +38,8 @@ class hierarchical_predecode3x8_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -45,8 +45,8 @@ class single_level_column_mux_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -39,8 +39,8 @@ class precharge_test(unittest.TestCase):
|
|||
pc.sp_write(tempspice)
|
||||
pc.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(pc.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(pc.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(pc.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(pc.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -43,8 +43,8 @@ class sense_amp_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -42,8 +42,8 @@ class write_driver_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
import importlib
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
|
@ -43,8 +43,8 @@ class dff_array_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -41,8 +41,8 @@ class tri_gate_array_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
import importlib
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
|
@ -40,8 +40,8 @@ class replica_bitline_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -39,8 +39,8 @@ class delay_chain_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -38,8 +38,8 @@ class control_logic_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -51,8 +51,8 @@ class multi_bank_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -52,8 +52,8 @@ class single_bank_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -51,9 +51,9 @@ class sram_1bank_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
#self.assertFalse(calibre.run_pex(a.name, tempgds, tempspice, output=OPTS.openram_temp+"temp_pex.sp"))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
#self.assertFalse(verify.run_pex(a.name, tempgds, tempspice, output=OPTS.openram_temp+"temp_pex.sp"))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -51,9 +51,9 @@ class sram_2bank_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
#self.assertFalse(calibre.run_pex(a.name, tempgds, tempspice, output=OPTS.openram_temp+"temp_pex.sp"))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
#self.assertFalse(verify.run_pex(a.name, tempgds, tempspice, output=OPTS.openram_temp+"temp_pex.sp"))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -51,9 +51,9 @@ class sram_4bank_test(unittest.TestCase):
|
|||
a.sp_write(tempspice)
|
||||
a.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(a.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(a.name, tempgds, tempspice))
|
||||
#self.assertFalse(calibre.run_pex(a.name, tempgds, tempspice, output=OPTS.openram_temp+"temp_pex.sp"))
|
||||
self.assertFalse(verify.run_drc(a.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(a.name, tempgds, tempspice))
|
||||
#self.assertFalse(verify.run_pex(a.name, tempgds, tempspice, output=OPTS.openram_temp+"temp_pex.sp"))
|
||||
|
||||
os.remove(tempspice)
|
||||
os.remove(tempgds)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
@ -47,9 +47,9 @@ class sram_func_test(unittest.TestCase):
|
|||
s.sp_write(tempspice)
|
||||
s.gds_write(tempgds)
|
||||
|
||||
self.assertFalse(calibre.run_drc(s.name, tempgds))
|
||||
self.assertFalse(calibre.run_lvs(s.name, tempgds, tempspice))
|
||||
self.assertFalse(calibre.run_pex(s.name, tempgds,
|
||||
self.assertFalse(verify.run_drc(s.name, tempgds))
|
||||
self.assertFalse(verify.run_lvs(s.name, tempgds, tempspice))
|
||||
self.assertFalse(verify.run_pex(s.name, tempgds,
|
||||
tempspice, output=OPTS.openram_temp + "temp_pex.sp"))
|
||||
|
||||
import sp_file
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import sys,os
|
|||
sys.path.append(os.path.join(sys.path[0],".."))
|
||||
import globals
|
||||
import debug
|
||||
import calibre
|
||||
import verify
|
||||
|
||||
OPTS = globals.get_opts()
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ If not, OpenRAM will continue as if nothing happened!
|
|||
"""
|
||||
|
||||
import debug
|
||||
import tech
|
||||
from globals import OPTS
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue