<@U016HSALFAN> I put `set ::env(GLB_RT_MAXLAYER) 5...
# openlane
t
@User I put
set ::env(GLB_RT_MAXLAYER) 5
but I still get nets routed in
met5
?
a
Sometimes TritonRoute will "improvise" and do that... I would place an obstruction on metal 5 over the whole design to prevent that. There is a command that does that. e.g.,
Copy code
add_macro_obs \
	-defFile $::env(CURRENT_DEF) \
	-lefFile $::env(MERGED_LEF_UNPADDED) \
	-obstruction core_obs \
	-placementX 500 \
	-placementY 500 \
	-sizeWidth 2200 \
	-sizeHeight 4300 \
	-fixed 1 \
	-layerNames "met5"
πŸ‘Œ 1
t
Ah thanks, I'll give that a shot.
That didn't work out ... I tried adding that before
run_routing
with a
met5
area over the whole core area and it failed detailled placement of everything during the diode insertion ( as the first part of
run_routing
.... )
a
Could you try it right before
global_routing
?
t
Sure, trying that now
Huh ... well there is nothing in
met5
but LVS doesn't match anymore πŸ˜•
Oh yeah ... filler cells didn't get inserted so it's all broken.
a
ugh
t
Doing it before
detailled_routing
seems potentially better .... waiting for the run to finish.
yes, LVS is good. magic doesn't have thousands of error and the GDS shows nice N-wells in the whole standard cell area πŸ™‚
and I now have my SRAM nicely strapped to the rails automatically (

https://i.imgur.com/8tFM8xg.pngβ–Ύ

)
πŸŽ‰ 1
a
Glad to know! Maybe should just make it a configuration parameter to avoid going through this pain...
You hacked pdngen to extend those met4 stripes, right?
t
Yeah, I'm actually looking at how to add this as a config so you could specify something like
GLB_RT_OBS
=
met5 0 0 1450 1200, li 0 0 100 100
Not anymore.
Now I wrote a python script using opendb to locate SRAMs and extend the power ports to the std cell area and connect them to the rails.
a
Sounds interesting; glad I didn't have to go through that for the storage area though πŸ˜„
t
πŸ˜„
Well, that was an interesting experience and also good to get more familiar with OpenDB.
πŸ‘ 1
Now I just have 5 antenna violation to find and see what I can do about and I should have a GDS I can try to put in
user_project_wrapper
... ( I also have 4 DRC violation but those I know how to find and fix I think)