OpenRAM/compiler/router/hanan_probe.py

17 lines
441 B
Python
Raw Normal View History

# See LICENSE for licensing information.
#
# Copyright (c) 2016-2023 Regents of the University of California, Santa Cruz
# All rights reserved.
#
class hanan_probe:
"""
This class represents a probe sent from one point to another on Hanan graph.
This is used to mimic the pin_layout class to utilize its methods.
"""
def __init__(self, p1, p2, lpp):
2023-07-03 22:34:27 +02:00
self.rect = (p1.min(p2), p1.max(p2))
self.lpp = lpp