<@U016EM8L91B> Weird, when I do -d XR it doesn't h...
# magic
m
@User Weird, when I do -d XR it doesn't highlight any errors. But they are still there! (Some of them are valid errors)
t
There can be weirdnesses in the implementation of either Cairo or OpenGL depending on the system and video card. But that view makes it a bit easier to see where the errors are. I don't know why there's a metal5 width error but it's possible that it is an artifact of the other errors and will go away when they do. If not, I'll need to figure out why it's being flagged.
m
Ok, good to know
Do you have any idea why it shows as clean at the top? It's not catching up or anything...
@Tim Edwards regarding the obs metal. The LEFDEF spec actually says that if there is a LEF pin over obstruction on the same layer, you can still route to it. Does the DRC in magic follow this? I.e. LEF/DEF spec should do the "carving out" of the blockages for you.
t
There are ways to get the checkbox at the top to be out of sync with what's in the window; I think it may not respond to pushing and popping the cell stack. Come to think of it, I should be able to fix that pretty easily. Run the command "drc count" if you want to be sure about what magic thinks of the state of the DRC.
👍 1
m
And the other question is whether TritonRoute does the same, but you may not know
@Tim Edwards
Copy code
: drc count
Total DRC errors found: 0
t
The magic techfile defines metal and metal obstruction on the same plane, so there is no way to represent both in the same place except in different cells, and that will get flagged as an illegal type overlap error. For magic, you would need the cut-out around the pin in the LEF view.
m
Ok, that's what I've been doing, and learned about that pin behavior in the LEFDEF spec so I thought I would ask.
I'm assuming TritonRoute will do the same
t
I'm always learning new things that are buried deep in the LEF/DEF spec, and it is always an unpleasant surprise.
m
Last question: Is there a way to enable -d XR from the .magicrc 🙂
t
No, it's something that has to be configured during the launch script and is too late once magic has started.
m
Is there an env variable you can set to do it then?
t
You can just create a shell alias for it. . .
m
True
@Tim Edwards Interestingly, I get those vias highlighted even when there isn't a DRC error.
Copy code
: drc why
No errors found.
:
But it doesn't highlight with -d XR
OH, ignore. That is just the wacky color/stipple of via4 without -d XR
t
I've been caught by that before. I need to do something about that color scheme.