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)) { or (pin->getAccessDirection() == Pin::AccessDirection::SOUTH)) {
x1 = bb.getCenter().getX(); x1 = bb.getCenter().getX();
x2 = x1; x2 = x1;
y1 = bb.getYMin(); y1 = bb.getCenter().getY();
y2 = bb.getYMax(); y2 = y1;
width = bb.getWidth(); width = bb.getWidth();
direction = "UP"; direction = "UP";
} else { } else {
x1 = bb.getXMin(); x1 = bb.getCenter().getX();
x2 = bb.getXMax(); x2 = x1;
y1 = bb.getCenter().getY(); y1 = bb.getCenter().getY();
y2 = y1; y2 = y1;
width = bb.getHeight(); width = bb.getHeight();