OpenRAM/compiler/gdsMill/sram_examples/printGDS.py

11 lines
295 B
Python
Raw Permalink Normal View History

2016-11-08 18:57:35 +01:00
#!/usr/bin/env python
import gdsMill, sys
gds_file = sys.argv[1] #"layoutB.gds" #"sram_cell_6t.gds" #"gds_sram_tgate2.gds"
#streamer = gdsMill.GdsStreamer()
arrayCellLayout = gdsMill.VlsiLayout()
reader = gdsMill.Gds2reader(arrayCellLayout,debugToTerminal = 1)
reader.loadFromFile(gds_file)