mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-01 02:28:31 +02:00
Improve debug of non-manhattan error
This commit is contained in:
@@ -322,9 +322,10 @@ class layout():
|
||||
"""
|
||||
Creates a path like pin with center-line convention
|
||||
"""
|
||||
|
||||
debug.check(start.x == end.x or start.y == end.y,
|
||||
"Cannot have a non-manhatten layout pin.")
|
||||
if start.x != end.x and start.y != end.y:
|
||||
file_name = "non_rectilinear.gds"
|
||||
self.gds_write(file_name)
|
||||
debug.error("Cannot have a non-manhatten layout pin: {}".format(file_name), -1)
|
||||
|
||||
minwidth_layer = drc["minwidth_{}".format(layer)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user