efabless / globalfoundries-pdk-libs-gf180mcu_fd_pr

Primitives for GF180MCU provided by GlobalFoundries.
https://gf180mcu-pdk.rtfd.io
Apache License 2.0
10 stars 8 forks source link

Pfet pcell don't generate preview box #42

Open akiles-esta-usado opened 11 months ago

akiles-esta-usado commented 11 months ago

Expected Behavior

When trying to instantiate a pfet pcell it should give a visual guidance of empty polygons.

Actual Behavior

The first time a pfet is placed, it shows nothing. Modifying the pcell fixes it.

Steps to Reproduce the Problem

To reproduce this problem we use this docker container created by our team. It has gf180mcuC configured as default PDK, with all the changes recommended on the youtube video.

  1. Open klayout -e and create a new layout
  2. Instanciate a pfet pcell on the layout. It shows nothing.
  3. Go to Pcell tab on Editor Options and change any parameter (Tested with Deep NWELL and number of fingers).
  4. Now the pcell is visible.

Specifications

Specs Value
PDK gf180mcuC
KLayout Version 0.28.12
gdsfactory Version 7.3.0
Platform ArchLinux over Docker

New discovery

Using PDK gf180mcuD and gdsfactory=7.8.16, changing pcell parameters don't fix the problem, just makes pcell crash. I've install the new gdsfactory version with pip install gdsfactory[cad] --upgrade.

ERROR: AttributeError: 'NoneType' object has no attribute 'cell_index' in PCellDeclaration.produce
  /home/designer/.volare/gf180mcuD/libs.tech/klayout/pymacros/cells/fet.py:347
  :/built-in-pymacros/pcell_declaration_helper.lym:218
New situation specifications Value
PDK gf180mcuD
gdsfactory Version 7.8.16
atorkmabrains commented 11 months ago

@FaragElsayed2 I believe that's a klayout issue not the PDK. Could we please give it a try and see if we have this same behavoir at our end on our ubuntu 22.04 installation?

akiles-esta-usado commented 11 months ago

I've updated the description because of new problems related with this issue.