mirror of https://github.com/VLSIDA/OpenRAM.git
Fail when using Magic/netgen for DRC/LVS. Remove arguments in running precharge test.
This commit is contained in:
parent
09ca8ba17d
commit
1085497476
|
|
@ -48,5 +48,6 @@ class precharge_test(unittest.TestCase):
|
||||||
# instantiate a copy of the class to actually run the test
|
# instantiate a copy of the class to actually run the test
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
(OPTS, args) = globals.parse_args()
|
(OPTS, args) = globals.parse_args()
|
||||||
|
del sys.argv[1:]
|
||||||
header(__file__, OPTS.tech_name)
|
header(__file__, OPTS.tech_name)
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ def run_drc(name, gds_name):
|
||||||
implemented in gds_name."""
|
implemented in gds_name."""
|
||||||
|
|
||||||
debug.warning("DRC using magic not implemented.")
|
debug.warning("DRC using magic not implemented.")
|
||||||
return 0
|
return 1
|
||||||
|
|
||||||
# the runset file contains all the options to run drc
|
# the runset file contains all the options to run drc
|
||||||
from tech import drc
|
from tech import drc
|
||||||
|
|
@ -139,7 +139,7 @@ def run_lvs(name, gds_name, sp_name):
|
||||||
implemented in gds_name and sp_name. """
|
implemented in gds_name and sp_name. """
|
||||||
|
|
||||||
debug.warning("LVS using magic+netgen not implemented.")
|
debug.warning("LVS using magic+netgen not implemented.")
|
||||||
return 0
|
return 1
|
||||||
|
|
||||||
from tech import drc
|
from tech import drc
|
||||||
lvs_rules = drc["lvs_rules"]
|
lvs_rules = drc["lvs_rules"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue