Closed gregdavill closed 1 year ago
Have you tried GRT_OBS
to block layers that route SRAM macros?
Sorry about that. I used the zip from github, since it was built in CI. And they don't seem to include submodule contents. Here is one with it attached.
gf180-mpw0-serv-91ddd78fc81e904b4ff1f63cd234433312043c27.zip
I've not tried that. I don't think the issue is related to layers in the macro.
The PDN step has routed on metal 4 and placed both sets of vias down to layers on metal 3. The SRAM macro should probably be placed into it's own hardened block to give more control around the power routing, but thought this was still worth reporting.
@maliberty fyi.,
If this need to debug further mean attached PDN stage test case for the same. issue_reproducible.zip
PDN only sees the LEF abstract. Is the area in question blocked in your LEF file? You can open the design in the OR gui to visualize it.
@gadfort FYI
@maliberty I think this is happening due to overlapping shapes in the lef view of the sram similar to:
In theory, it might be possible to re-write an abstract lef view using magic with shapes merged, and added to the pdk. However, might it be possible as well for openroad to handle such shapes?
@gadfort any comments?
I see the issue, I don't think it matters if the LEF if built right or wrong, PDNGEN should also handle this correctly. I'll try to see if I can implement something soon.
This should fix the issue (atleast in the testcase provided) https://github.com/The-OpenROAD-Project/OpenROAD/pull/2814
Description
I've included the SRAM IP block from GF180 in a design (gf180mcu_fd_ip_sram__sram256x8m8wm1). When running DRC on the hardened design it failed with 100x
V3.2a : min. via3 spacing : 0.26µm
errors.Looking at the GDS I see that the PDN has routed a vertical strap directly over multiple overlapping Metal 3 geometries in the IP block. And in 2 places the via grid it tried to place was offset at 1/2 so the vias did not overlap. But they are too close according to DRC.
The design is here:
serv_0
this commit is the one that shows the issue: https://github.com/gregdavill/gf180-mpw0-serv/blob/91ddd78fc81e904b4ff1f63cd234433312043c27/gds/serv_0.gdsExpected Behavior
PDN places vias according to DRC.
Environment report
Reproduction material
gf180-mpw0-serv-91ddd78fc81e904b4ff1f63cd234433312043c27.zip
Build instructions:
Relevant log output