<@U016EM8L91B> Trying to open parameter window for...
# magic
v
@Tim Edwards Trying to open parameter window for pcell in layout but window is not opening using
ctrl+p
. Following message appears in console
magic::gencell {} ; raise .params: No gencell device is selected!
t
The only way I know of for this to happen is to write the layout to GDS and read it back from GDS. The parameterized cell properties cannot be represented in GDS.
The contents of a .mag file for a parameterized cell should look something like this:
Copy code
<< properties >>
string FIXED_BBOX -106 -146 106 146
string gencell sky130_fd_pr__nfet_g5v0d10v5
string library sky130
string parameters w 1.0 l 0.5 m 1 nf 1 diffcov 100 polycov 100 guard 1 glc 0 grc 1 gtc 1 g
bc 1 tbcov 100 rlcov 100 topc 1 botc 1 poverlap 0 doverlap 1 lmin 0.50 wmin 0.42 compatibl
e {sky130_fd_pr__nfet_01v8 sky130_fd_pr__nfet_01v8_lvt  sky130_fd_bs_flash__special_sonosf
et_star  sky130_fd_pr__nfet_g5v0d10v5 sky130_fd_pr__nfet_05v0_nvt  sky130_fd_pr__nfet_03v3
_nvt} full_metal 1 viasrc 100 viadrn 100 viagate 100 viagb 0 viagr 0 viagl 0 viagt 0
<< end >>
Seems like it would be a good idea to save the parameters to a label in GDS on the LVS text layer so that the information doesn't get lost by conversion to GDS.
v
@Tim Edwards Yes, I was reading this layout as a gds in magic. I didn't understood the suggested solution i.e.
to save the parameters to a label in GDS on the LVS text layer so that the information doesn't get lost by conversion to GDS
Please suggest how to read pcell parameter in layout generated from gds.
t
Currently there is no way to read generated cell parameters from magic in a layout generated from GDS. My proposed solution is something that I would have to implement in magic.
m
this just happened to me, but I haven't read from a GDS
I was able to edit the pcell yesterday, and today I get the error
https://github.com/mattvenn/tt07-twin-tee-opamp-osc in the mag directory, the twin_tee.mag
it's weird, even rolling all the way back to when I first commited twin_tee.mag to the repo, I can no longer edit the pcells
t
I have no issues getting the dialog window for those generated cells. It sounds like the issue is with your PDK, not with the project layout.
m
dratted PDK install!
next time I ask a question like this, ask me if my PDK is ok!
t
I will send a get-well-soon card.
m
lol