<@U016EM8L91B> Hi, You know why when I type "gds w...
# magic
j
@Tim Edwards Hi, You know why when I type "gds write file.gds" in magic, the file is empty?
t
Any error messages? An empty GDS is a non-zero sized file. This sounds like a total failure, and I can't tell you why it happens without additional information.
j
yes, it creates the file, but when i open it, it's empty
t
It appears that you created a modification of a standard cell. Unless you really know what you're doing, this is almost certainly going to cause DRC issues at some point, because the Magic views of vendor cells are not exact representations of the vendor GDS. They have pointers to the GDS source so that the exact GDS can be used when the cell is written. The pointer to the vendor GDS is still in the cell (as a
property
), which is causing the immediate error of failing to generate GDS output: It is looking for the GDS structure matching the (modified) cell name and can't find it there, since it's still pointing to the original unmodified cell. At very least, you need to get rid of the
GDS_FILE
,
GDS_START
, and
GDS_END
properties, but you also probably need to add mask-level hint properties to match the standard cell library's use of implant layers (NSDM, PSDM, and NPC) extending to the boundary of the standard cell.
j
I don't want to replace it, I want to use a modified one as a separate module, something mixed signal does, for that I need the GDS
I mean, I can't separate this .mag file from the pdk?
t
Yes, by removing the properties that I mentioned above (see the
property
command).
j
I can see it, what command should I use to remove that?
t
Empty quotes for the property, if I recall correctly, so
property GDS_FILE ""
.
1
j
That worked, thanks :)
I have a question,this
GDS_FILE
,
GDS_START
, and
GDS_END
properties, If I modify this, could I modify the boundary? or I can edit it in another way
could this error be because of that?
@Tim Edwards I did not modify the cell heights, and everything is inside the boundary