Closed jchin2 closed 10 months ago
I used an old script in OpenLane to shift the origin of the macro to 0,0 and shift shapes accordingly in the lef view of the marco and I was able to pass Pin not covered by guide error. I ran into another error but that's a different issue.
I am not entirely sure whether there is an issue with the lef or OpenROAD expects shapes in the lef in a certain way. The above is a temporary workaround because you would need both the gds and the lef shifted in the same way. I believe that you are using magic and there should be a way to shift the geometries. I can't recall how it is done but I will look for it.
The way I generated the gds file is in klayout. I don't really know how to change the origin of the cell in klayout... the image shows one of the cells' origin is not centered but i did not think too much about it. I guess what I can do at the moment is to try to make the origin of the cell centered in the middle?
Changing the top cell and subcell origin, regenerating the lef made the flow work! I made sure to uss FP_PDN_MACROHOOKS to conform to the power pin and gnd pin in top verilog. I have included the updated files in the following .zip folder.
current_state_09042023_1526pm.zip
Leaving steps here for adjusting origins:
In klayout I set the top cell origin via Edit > Cell > Adjust Origin.
As for the subcells, they are set by show as new top > highlight all the cells > Edit > Selection > Make Cell > choose origin and name to replace.
Current environment exports:
export OPENLANE_ROOT=$PWD/openlane_src
echo $OPENLANE_ROOT
export PDK_ROOT=$PWD/pdks
echo $PDK_ROOT
export CARAVEL_ROOT=$PWD/caravel
echo $CARAVEL_ROOT
export SKYWATER_COMMIT=f70d8ca46961ff92719d8870a18a076370b85f6c
echo $SKYWATER_COMMIT
export OPEN_PDKS_COMMIT=78b7bc32ddb4b6f14f76883c2e2dc5b5de9d1cbc
echo $OPEN_PDKS_COMMIT
export OPENLANE_TAG=2023.07.19
echo $OPENLANE_TAG
export OPENLANE_IMAGE_NAME=efabless/current-local-amd64
@jchin2 I noticed there is activity relating to this in slack. Please add the resolution here if any.
Staled out.
Description
Making blackbox of layout that has dnwell and nwell guard rings. Goal to have openlane recognize, route and connect to the blackbox. Openlane seemingly can't find the pins. Initially started with pins within the prboundary and then moved them outside plus elongating the pins. Omitted
FP_PDN_HOOK
to see that it doesn't make a difference. Relevant files is included in the current_state_09042023.zip folder.Expected Behavior
Openlane to recognize, route and connect the pins to the blackboxed macro layout.
Environment report
Reproduction material
issue_reproducible.zip current_state_09042023.zip
Relevant log output