#include <stdlib.h>
#include <limits.h>
#include <assert.h>
#include <string.h>
#include "place_base.h"
#include "place_gordian.h"
Go to the source code of this file.
Definition at line 92 of file place_inc.c.
102 if (cell->
m_x < box.
x) len += (box.
x - cell->
m_x);
103 if (cell->
m_x > box.
x+box.
w) len += (cell->
m_x-box.
x-box.
w);
104 if (cell->
m_y < box.
y) len += (box.
x - cell->
m_y);
105 if (cell->
m_y > box.
y+box.
h) len += (cell->
m_y-box.
y-box.
h);
Rect getNetBBox(const ConcreteNet *net)
Returns the bounding box of a net.