Guild icon
wafer.space Community
Information / questions / Magic error: non-integer magnification
Between 11/30/2025 23:59 and 01/01/2026 00:00
Avatar
Hi, I was running some prechecks for a multiproject chip and it is failing at certain instance throwing this error: Non-integer magnification (0.2) in transform. Rounding to 0. Has anyone faced something similiar?, and have an idea how to solve it? Thanks, Luighi
Avatar
Tim 'mithro' Ansell 12/16/2025 16:03
@Leo Moser (mole99) / @Tim Edwards - Any ideas on this error?
Avatar
Leo Moser (mole99) 12/16/2025 16:04
@LuighiV can you post a link to the layout?
Avatar
Hi @Leo Moser (mole99) @Tim 'mithro' Ansell this is the link https://drive.google.com/file/d/1GgmRQ5E_GbQYZFp6ogSY1hEyT46GxshO/view?usp=sharing
16:14
In the meantime I was doing some tests, and I think I found the root cause of the issue (seemed to have some empty subhierarchies inside A3) I deleted those empty hierarchies and right now I'm running the pre-checks again to confirm if those were the responsible of raising the error
Avatar
Leo Moser (mole99) 12/16/2025 16:24
That's great! However I see some other issues:
16:24
16:24
The SRAMs from the default template were not correctly deleted. Their PR_bndry layers still exist and their instances can be found in the cell tree.
😮 1
16:25
The seal ring (guard ring) is missing around the outer padring. (edited)
Avatar
Avatar
Leo Moser (mole99)
The SRAMs from the default template were not correctly deleted. Their PR_bndry layers still exist and their instances can be found in the cell tree.
Oh... didn't noticed it, I guessed I have deleted it completely, going to update it, thanks for noticing 🙂 👍
👍 1
Avatar
Avatar
Leo Moser (mole99)
The seal ring (guard ring) is missing around the outer padring. (edited)
regarding the seal ring, do you have a Pcell or script I can use to add it?
Avatar
Leo Moser (mole99) 12/16/2025 16:36
I'm adding a check to the precheck to ensure there are some shapes on GUARD_RING_MK: https://github.com/wafer-space/gf180mcu-precheck/pull/36 This way we should catch such issues earlier :)
🙌 1
Avatar
Avatar
LuighiV
regarding the seal ring, do you have a Pcell or script I can use to add it?
Leo Moser (mole99) 12/16/2025 16:37
16:38
Did you create the padring using make librelane-padring?
🙌 1
Avatar
Avatar
Leo Moser (mole99)
Did you create the padring using make librelane-padring?
yes, I have created it using that instruction
Avatar
Leo Moser (mole99) 12/16/2025 16:42
Maybe you deleted it accidentally?
16:42
For me it works fine:
Avatar
Avatar
Leo Moser (mole99)
Maybe you deleted it accidentally?
yeah, that's probably the reason, let me generate it again here, thanks for the advice 🙂
👍 1
Avatar
Leo Moser (mole99) 12/16/2025 16:43
You're welcome!
🙌 1
Avatar
Hi @Leo Moser (mole99) thanks for your feeback, now the padframe has the sealring and I deleted completly the SRAM devices:
Avatar
however now I'm facing an issue with DRC errors, because as I'm following the embedded approach, I use a previous padframe we were using for Chipathon, however, that padframe seems to have some issues with CUP DRC. Do you know how can I fix it? (edited)
02:40
this is the report I got:
Avatar
Tim 'mithro' Ansell 12/17/2025 03:11
@LuighiV - I guess the chipathon padframe needs to be updated with the fixed cells that Leo updated for wafer.space shuttle.
03:11
In theory you should just be able to drop in a replacement?
Avatar
Hi @Tim 'mithro' Ansell, thanks for the advice 🙂 . Yes, I think I can do that, I'm trying right now to update the library from Leo's repo in my environment so it could get the fixed cells. Hope it goes fine 🤞
Avatar
Leo Moser (mole99) 12/17/2025 08:21
@LuighiV Yes exactly, the bondpad cells have been updated. You need to replace the bondpads in the chipathon padframe with the bondpads in: https://github.com/wafer-space/gf180mcu/blob/main/gf180mcuD/libs.ref/gf180mcu_fd_io/gds/gf180mcu_fd_io.gds Note: only the "Bondpad_5LM" cell has been changed.
Avatar
Hi @Leo Moser (mole99) thanks for the comment. I've tried to replace the main pads by the new ones in your repo, however, when I run again, it is violating other rules with metal spacing, and the corner pads, have you modified them as well?
Avatar
Avatar
LuighiV
Hi @Leo Moser (mole99) thanks for the comment. I've tried to replace the main pads by the new ones in your repo, however, when I run again, it is violating other rules with metal spacing, and the corner pads, have you modified them as well?
Leo Moser (mole99) 12/17/2025 12:42
No, I didn't modify any other cells. Did you perhaps delete some of the I/O filler cells? The errors always seem to be at the boundary of I/O cells (well, except for the corner cells). (edited)
Avatar
Hi Leo, I don't think so, I mean, I haven't delete the fills, what I did was just replace the old pads by the new ones by using the Replace cell option in the Cells panel
Avatar
Leo Moser (mole99) 12/17/2025 12:58
That sounds like the correct approach. Could you share the current GDS so I can take a look?
Avatar
yes!, please, give me a moment
👍 1
13:04
and this was the report
Avatar
Tim 'mithro' Ansell 12/17/2025 13:15
@LuighiV - It would be good to load your latest GDS into the platform even if it is currently failing the precheck.
🙌 1
Avatar
Leo Moser (mole99) 12/17/2025 13:19
Something happened when you swapped out the bondpad cells:
13:19
13:19
This is the top right corner of the outer padring.
13:19
13:20
And this is the top right corner of the inner padring (chipathon).
13:24
These manual edits are dangerous and error prone. How about we create a KLayout script to merge the GDS files and swap the bondpads? :) Can you share the separate GDS of the empty template project, and the GDS of the chipathon?
Avatar
Avatar
Tim 'mithro' Ansell
@LuighiV - It would be good to load your latest GDS into the platform even if it is currently failing the precheck.
sure, I'm going to upload it, thanks
Avatar
Avatar
Leo Moser (mole99)
These manual edits are dangerous and error prone. How about we create a KLayout script to merge the GDS files and swap the bondpads? :) Can you share the separate GDS of the empty template project, and the GDS of the chipathon?
that would be great 🙂 , let me restore the previous version of the chipathon then, and going to share both
👌 1
Avatar
Hi @Tim 'mithro' Ansell I'm having issues to upload from Google Drive. I was using this link https://drive.google.com/file/d/1GgmRQ5E_GbQYZFp6ogSY1hEyT46GxshO/view but it says it has size 0. I've tried with github but it has more than 100Mb so doesn't allow me to upload there
Avatar
Leo Moser (mole99) 12/17/2025 15:16
@LuighiV Tim is currently asleep. You need a direct link to your layout. However you can compress it, if you didn't already?
Avatar
Avatar
Leo Moser (mole99)
@LuighiV Tim is currently asleep. You need a direct link to your layout. However you can compress it, if you didn't already?
that's a good point, let me try it here
Avatar
Avatar
LuighiV
that would be great 🙂 , let me restore the previous version of the chipathon then, and going to share both
Avatar
Avatar
LuighiV
that's a good point, let me try it here
It worked! thanks, now it is running the checks
Avatar
Leo Moser (mole99) 12/17/2025 15:44
It seems I got it working, but there is something very strange going on, as you can see:
15:44
15:44
If I open chiptop_A_track__exported.gds I can see that something is wrong:
15:45
15:45
Normally, the design should be centered and fill the whole screen. KLayout thinks that the design is larger than it actually is?
15:45
There is this strange Axx_top cell in the cell hierarchy. If I hide it, you can see its outline:
15:46
15:47
If I open the hierarchy of this cell, there are many, many subcells:
15:47
15:47
It seems there is a second separate padring hidden inside this cell?
15:49
You need to clean up the layout, but once that's done I think you should be able to use this script:
🙌 1
15:50
Enable the Nix shell of the template project and run the following (adjust the paths): python3 scripts/merge_chipathon.py chipathon/padring_ws.gds chipathon/chiptop_A_track__exported.gds
😮 1
15:50
Avatar
Avatar
Leo Moser (mole99)
There is this strange Axx_top cell in the cell hierarchy. If I hide it, you can see its outline:
Hi Leo, indeed that come from one of the teams, they joined later as they didn't have a number was assigned Axx 😅 . On the other hand, didn't notice they have a second separated padring there. Let me check that, thanks for noticing 🙂
👍 1
Avatar
Avatar
Leo Moser (mole99)
You need to clean up the layout, but once that's done I think you should be able to use this script:
that's great! thank you @Leo Moser (mole99) going to try to clean up and run the script you provided, It will be really helpful, thank you 🙌
Avatar
Leo Moser (mole99) 12/17/2025 15:56
I'm looking forward to your submission :) Let me know if there are any issues with the script.
🙌 1
Avatar
Avatar
Leo Moser (mole99)
I'm looking forward to your submission :) Let me know if there are any issues with the script.
sure! thank you! 🙂
Avatar
Avatar
Leo Moser (mole99)
It seems there is a second separate padring hidden inside this cell?
Hi Leo, just to comment that in the klayout version we have in the docker image used during the Chipathon (0.30.2) I cannot see those outlines. I was able to see it just in version 0.30.4. Maybe it is in an improvement in recent versions
Avatar
Leo Moser (mole99) 12/17/2025 17:52
That could very well be 👍
🙌 1
17:54
FYI, after you have merged the designs, you need to run filler generation. klayout -b -zz -r ${PDK_ROOT}/${PDK}/libs.tech/klayout/tech/drc/filler_generation/fill_all.rb -rd input=chip_top.gds -rd output=chip_top_filled.gds
🙌 1
Avatar
Avatar
Leo Moser (mole99)
FYI, after you have merged the designs, you need to run filler generation. klayout -b -zz -r ${PDK_ROOT}/${PDK}/libs.tech/klayout/tech/drc/filler_generation/fill_all.rb -rd input=chip_top.gds -rd output=chip_top_filled.gds
sure, thank you for sharing it 🙂
👍 1
Avatar
Hi @Leo Moser (mole99) now the design passed all the checks, thanks for your help 🙂 🙌
👏 2
Avatar
Avatar
LuighiV
Hi @Leo Moser (mole99) now the design passed all the checks, thanks for your help 🙂 🙌
Tim 'mithro' Ansell 12/18/2025 01:46
Congradulations! Make sure you click the "Submit for Manufacturing" button!
🙌 1
Avatar
Avatar
Tim 'mithro' Ansell
Congradulations! Make sure you click the "Submit for Manufacturing" button!
Hi @Tim 'mithro' Ansell yes! I did it, thank you 🙌
Avatar
Avatar
LuighiV
Hi @Tim 'mithro' Ansell yes! I did it, thank you 🙌
Tim 'mithro' Ansell 12/18/2025 03:16
At the current time, it does look like there should be room on the shuttle for your design.
🙌 1
Avatar
Avatar
Tim 'mithro' Ansell
At the current time, it does look like there should be room on the shuttle for your design.
that's great! hope the possibility remains open till the end of submission time 🤞
Exported 74 message(s)
Timezone: UTC+0