Make Pin terminals really punctuals (bug shown in nmigen/ALU16).

This commit is contained in:
Jean-Paul Chaput 2020-03-20 18:55:38 +01:00
parent 654ae5b8a4
commit 2fa8016eaa
1 changed files with 4 additions and 4 deletions

View File

@ -267,13 +267,13 @@ void DumpContacts(ofstream& ccell, Cell *cell)
or (pin->getAccessDirection() == Pin::AccessDirection::SOUTH)) {
x1 = bb.getCenter().getX();
x2 = x1;
y1 = bb.getYMin();
y2 = bb.getYMax();
y1 = bb.getCenter().getY();
y2 = y1;
width = bb.getWidth();
direction = "UP";
} else {
x1 = bb.getXMin();
x2 = bb.getXMax();
x1 = bb.getCenter().getX();
x2 = x1;
y1 = bb.getCenter().getY();
y2 = y1;
width = bb.getHeight();