mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-07 11:21:14 +02:00
compiler: gdsMill: Modernize codebase.
The few Python 2 statements are replaced with their modern counterparts. These are one of the following: - print() function calls (instead of statements), - Exception and Error raising, - passing/receiving tuples as function/lambda arguments, - the L suffix for numeral constants. * compiler/gdsMill/pyx/box.py, compiler/gdsMill/pyx/connector.py, compiler/gdsMill/pyx/deformer.py, compiler/gdsMill/pyx/dvifile.py, compiler/gdsMill/pyx/epsfile.py, compiler/gdsMill/pyx/font/afm.py, compiler/gdsMill/pyx/font/t1font.py, compiler/gdsMill/pyx/graph/axis/texter.py, compiler/gdsMill/pyx/graph/axis/tick.py, compiler/gdsMill/sram_examples/cell6tDemo.py, compiler/gdsMill/sram_examples/newcell.py: Modernize syntax.
This commit is contained in:
@@ -82,5 +82,5 @@ writer.writeToFile(gds_file_out)
|
||||
# inputPath = "./gdsFiles/arrayLayout.gds")
|
||||
|
||||
|
||||
print "LIB: %s" , gds_file_in
|
||||
print "\nCompleted ", gds_file_out
|
||||
print("LIB: %s" , gds_file_in)
|
||||
print("\nCompleted ", gds_file_out)
|
||||
|
||||
@@ -95,5 +95,5 @@ writer.writeToFile(gds_file_out)
|
||||
# inputPath = "./gdsFiles/arrayLayout.gds")
|
||||
|
||||
|
||||
print "LIB: %s" % gds_file_in
|
||||
print "\nCompleted ", gds_file_out
|
||||
print("LIB: %s" % gds_file_in)
|
||||
print("\nCompleted ", gds_file_out)
|
||||
|
||||
Reference in New Issue
Block a user