RTimothyEdwards / magic

Magic VLSI Layout Tool
Other
472 stars 99 forks source link

Use `ANTENNAGATEAREA` from LEF views of cells. #290

Open kareefardi opened 7 months ago

kareefardi commented 7 months ago

At the moment, magic doesn't use ANTENNAGATEAREA of pins in the LEF views of cells that it reads. It can potentially use it to generate ANTENNAGATEAREA for pins while writing a LEF view.

Here is a test case for this: test-case.tar.gz This requires env variable PDK_ROOT set and sky130A inside the PDK_ROOT

RTimothyEdwards commented 7 months ago

This cannot be done without substantial revision of magic's code. The antenna gate and diffusion areas are measured during "lef write" by walking each net and measuring the areas directly. The proper solution is to make sure that you only write LEF from a layout containing no abstract views.