<@U016EM8L91B> When I read a GDS and save it in an...
# magic
v
@Tim Edwards When I read a GDS and save it in another folder, at end of that a message appears "`1 magic cell has been modified. Do you want to save exit magic of lose it ?` " What is implied by this message. Even after saving layout and trying to close magic this message appears. How to tackle this situation in magic ?
t
I'm not sure what cell magic thinks was modified. Possibly there are multiple top levels in the GDS file?
v
@Tim Edwards Can you please clarify what do you imply by
"multiple top levels in the GDS file"
in last reply ?
This gds does contain multiple .mag files instantiated in top level .mag file.
t
I didn't assert that there were multiple top level cells. I was asking whether there were. I have found some tools that are exporting some kind of metadata as an independent top level cell.
v
Yes, there were multiple cells in this gds. But why magic points that cell has been modified when nothing has been done. And then when
write/overwrite
is done it again asks to save ?
t
I think what happens is that the GDS file is marked for DRC checks when it is read in, and that's enough to mark all cells as "modified". You can run the command
gds drccheck false
before the
gds read
and I think that will make it stop asking to save the file.
v
I tried
gds drccheck false
as suggested but issues still persists. Even if I select
yes
to exit magic it doesn't harm since no modification is done in this case. Ideally this message should not have come. Is this interpretation correct ?
t
Yes, I would consider it a minor bug.
👍 1