Hi, I am getting the following errors and linting ...
# caravel
m
Hi, I am getting the following errors and linting warnings when running the given user project example. My system is Ubuntu 22.04.3 LTS. Any insight to correct the error is appreciated. Thank you.
@channel
m
In this case, the linter warnings are nothing to worry about. Can you share your
user_proj_example/config.json
file? Looks like you’re missing decap, fill, and tap cells. The decap, fill, and tap cells are there, the report was just truncated.
m
config.json
m
How about
openlane/user_proj_example/runs/24_02_17_23_18/logs/signoff/38.spice.log
?
m
38-spice.log
m
@Michael Nilan Your design shows
Processed 487167 subcell instances total
which might be using all your memory resources. One of your screen shots shows
Child killed
which often happens when a process runs out of memory. Can you watch the memory as the process is running?
m
Yes I just reran and monitored the memory usage. Memory usage gradually increased during Step 38: Running Magic SPICE Export from LEF. However since I didn't run anything else unlike previous run where I used the browser this time memory usage reached 78% and the flow ended up being success.
🎉 1
However I am not able to view the layout using magic. I am getting a black box layer as "comment"
m
Are you seeing all the layers? If not, make sure you have the correct magicrc file.
m
I am seeing all the layers. But the layout is blacked(comment)
m
What is the file size and date?
ls -l mag/user_proj_example.mag
m
Screenshot from 2024-02-21 04-08-00.png
m
And this command gives you a blank screen?
Copy code
magic -rcfile $PDK_ROOT/$PDK/libs.tech/magic/$PDK.magicrc mag/user_proj_example.mag
Any errors in the tcl window?
m
Yes it gives a blank screen
m
What if you turn off (right click) the last black layer in the layer menu?
m
Still it turns black anyways
m
What if you turn off all the layers?
see no *
m
Still black
m
@Tim Edwards?
t
Graphics library quirk, I expect. Try all three graphics interfaces:
magic -d X11
(default),
magic -d OGL
(OpenGL), and
magic -d XR
(Cairo). There are a couple of compile options related to buffering that might have an effect, but it's probably the simplest solution to find a graphics interface that works right, if there is one.
👍 1
m
Unfortunately none of the graphics interfaces did work
t
I didn't look at the first screenshot closely; the circuit is showing at the bottom of the window just below the black rectangle. Zooming in on that might give a clue as to what is causing the black box. If the stuff at the bottom is below the first row of cells, then it could have something to do with cell bounding boxes. If it disappears with
see no subcell
(which is not covered by
see no *
), then simply expanding the subcells would make it go away (doesn't get any closer to discovering what causes it, though).
m
Yeah
see no subcell
got rid of the black box
t
Need to zoom in on that. I expect something is wrong, like subcells got crammed in at minimum manufacturing grid spacing, so the boundaries are so crowded that they just show up as a solid block. How it might get that way, I have no idea.
m
I see I will check on fresh installation. Thank you very much @Tim Edwards and @Mitch Bailey
👍 1