Is there a way to force magic to regenerate a pcel...
# magic
t
Is there a way to force magic to regenerate a pcell from the original param ? I somehow edited it, I have no idea how, but I want to reset it to whatever would have been auto-generated.
m
@tnt Does temporarily changing a parameter and then changing it back work?
t
Nope, tried that. The name of the cell seems to be a 'hash' of the parameter. So when you modify the param it creates a new cell and when you change it back, it uses the old name and uses the old layout and doesn't re-create it. Only way I found is basically delete the
.mag
of the cell and restart magic to make sure it's not loaded and re-create the pcell from scratch.
m
@Tim Edwards?
t
I have a hard time believing that there isn't a simple way to do this. I can get a parameterized device to redraw by editing the device, erasing everything, and then doing (example for a 1.8V nfet):
sky130::sky130_fd_pr__nfet_01v8_draw [property parameters]
. That's rather complicated.
1