<@U016EM8L91B> In my project the .mag and the .gds...
# magic
h
@User In my project the .mag and the .gds are roughly 100MB, and I just realized that
magic
takes roughly 30sec to open the
.mag
file, while
klayout
takes around 5sec for the
.gds
. Is this inherent to the different file formats, or do you see a way to improve layout loading/interpreting/drawing time in
magic
?
t
I'm sure there are ways it can be sped up, although most of it is magic's converting rectangles into its corner-stitched tile plane database. It's not just reading and storing rectangles. It just occurred to me, though, that since it writes out rectangles that are already in the "maximum horizontal stripes" format, following a known search order, there's probably a modified method that could just create the plane in a single pass. I'll have to give that some thought. There was another solution that I was thinking about recently, noting that it's digital layouts that are the worst-case scenario, and the reason is that every other metal layer is horizontally oriented which is a worst-case for the database generation. Those metal layers take about 10 times longer to read in than the vertically-oriented ones. The idea would be to use a "maximum vertical stripes" format for horizontally oriented route layers. But that looked like a huge task to implement, so I've mostly abandoned that idea.
h
Thanks! As a user of
magic
(and I really like the tool) a speed up would be cool 🙂