YosysHQ / padring

A padring generator for ASICs
ISC License
22 stars 8 forks source link

Incorrect offset on NW pad when writing to DEF #5

Closed RTimothyEdwards closed 4 years ago

RTimothyEdwards commented 4 years ago

Found another very minor bug. This one shows up when the corner pad is not exactly square (as is the case for the I/O library I'm working with right now).

Line 102 of defwriter.cpp should have

y -= item->m_lefinfo->m_sx;

not

y -= item->m_lefinfo->m_sy;

Because the pad is rotated 270 degrees, the Y offset must be equal to the cell width, not the cell height.

trcwm commented 4 years ago

Fixed.

RTimothyEdwards commented 4 years ago

Thanks!