YosysHQ / padring

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

Wrong cells orientation #11

Open EpSilicon opened 4 months ago

EpSilicon commented 4 months ago

Hello, I'm trying to generate a padring using the sky130_ef_io cells. The config file and the LEF are here: https://github.com/EpSilicon/OpenSource_IC_Design/tree/aaac67b832ec428b2b9f9427061800a5e8412f54/sandbox

The generated DEF shows a wrong orientation of the corners and the pad cells.

image

Is the issue coming from the LEF, the config file, the tool or may be something else?

Thanks and regards, Erwann

trcwm commented 4 months ago

I think the issue is that Padring is ignoring the default orientation in the LEF, if there is one specified.

Will fix in a few weeks as I'm busy atm.

Regards, Niels.

trcwm commented 2 months ago

The corner cells don't have an orientation assigned to them in the LEF file but they should. However, Padring will still produce the wrong output even if an orientation is specified in the LEF because it doesn't parse the orientation attribute.

EpSilicon commented 2 months ago

The Corner have a class ENDCAP TOPRIGHT, is this not enough for the orientation?