Francisco Aguirre
06/02/2024, 6:26 AMDuplicate cell in parent2: Instance of cell pmos_waffle_48x48 is from path cell2/../cell1 but cell was previously
read from cell1.
Cell name conflict: Renaming original cell to pmos_waffle_48x48#0.
I've included a reproducible version with the problematic subcell pmos_waffle_48x48, two parent subcells, and a top
cell. The error comes up upon expanding the cells in top.mag, and after extraction, ext2spice fails as it cannot find pmos_wa
ffle_48x48#0.ext.
I've tried adding the paths via addpath and dereferencing the parent cells, but it doesn't seem to help.
Does anyone know how to deal with these kind of path conflicts, or how to get ext2spice to ignore the #0 when looking for ext files?Mitch Bailey
06/02/2024, 8:39 AMMitch Bailey
06/02/2024, 9:28 AM..
resolved? When a new instance reference is read, the real path is compared to the current real path and the cell would be renamed only if the real path was different.Mitch Bailey
06/02/2024, 1:14 PMcp $PDK_ROOT/$PDK/libs.tech/magic/$PDK.magicrc .magicrc
cat >> .magicrc <<EOF
addpath \$env(PWD)/waffle
EOF
mkdir waffle
mv cell1/pmos_waffle_48x48.mag waffle
mv cell1/waffle_cells waffle
sed -i.bak 's,../cell1,,' cell2/parent2.mag
Francisco Aguirre
06/02/2024, 3:32 PM