mirror of https://github.com/VLSIDA/OpenRAM.git
Delete unused scripts
This commit is contained in:
parent
bbf9c18d11
commit
175e95dd86
|
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
from gdsMill import gdsMill
|
||||
|
||||
if len(sys.argv) < 2:
|
||||
print("Usage: {0} file.gds".format(sys.argv[0]))
|
||||
sys.exit(1)
|
||||
|
||||
gds_file = sys.argv[1]
|
||||
arrayCellLayout = gdsMill.VlsiLayout()
|
||||
reader = gdsMill.Gds2reader(arrayCellLayout,debugToTerminal = 1)
|
||||
reader.loadFromFile(gds_file)
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
from gdsMill import gdsMill
|
||||
|
||||
if len(sys.argv) < 2:
|
||||
print("Usage: {0} in.gds out.gds".format(sys.argv[0]))
|
||||
sys.exit(1)
|
||||
|
||||
in_gds_file = sys.argv[1]
|
||||
out_gds_file = sys.argv[2]
|
||||
layout = gdsMill.VlsiLayout()
|
||||
reader = gdsMill.Gds2reader(layout)
|
||||
reader.loadFromFile(in_gds_file)
|
||||
|
||||
|
||||
struct = layout.structures[layout.rootStructureName]
|
||||
# Do something to the structure
|
||||
for text in struct.texts:
|
||||
print(text.textString)
|
||||
text.magFactor=""
|
||||
|
||||
writer = gdsMill.Gds2writer(layout)
|
||||
writer.writeToFile(out_gds_file)
|
||||
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
from gdsMill import gdsMill
|
||||
|
||||
if len(sys.argv) < 4:
|
||||
print("Script to prefix every instance and structure with the root cell name to provide unique namespace, but skip cells that begin with the library prefix.")
|
||||
print("Usage: {0} <library prefix> in.gds out.gds".format(sys.argv[0]))
|
||||
sys.exit(1)
|
||||
|
||||
gds_file = sys.argv[2]
|
||||
gds = gdsMill.VlsiLayout()
|
||||
reader = gdsMill.Gds2reader(gds)
|
||||
reader.loadFromFile(gds_file)
|
||||
|
||||
gds.uniquify(prefix_name=sys.argv[1])
|
||||
|
||||
writer = gdsMill.Gds2writer(gds)
|
||||
writer.writeToFile(sys.argv[3])
|
||||
Loading…
Reference in New Issue