https://open-source-silicon.dev logo
#openlane
Title
# openlane
t

tnt

11/19/2020, 8:12 PM
@User I put
set ::env(GLB_RT_MAXLAYER) 5
but I still get nets routed in
met5
?
a

Ahmed Ghazy

11/19/2020, 8:44 PM
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

tnt

11/19/2020, 8:47 PM
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

Ahmed Ghazy

11/20/2020, 11:57 AM
Could you try it right before
global_routing
?
t

tnt

11/20/2020, 12:00 PM
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

Ahmed Ghazy

11/20/2020, 12:21 PM
ugh
t

tnt

11/20/2020, 12:22 PM
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

Ahmed Ghazy

11/20/2020, 12:23 PM
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

tnt

11/20/2020, 12:25 PM
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

Ahmed Ghazy

11/20/2020, 12:35 PM
Sounds interesting; glad I didn't have to go through that for the storage area though 😄
t

tnt

11/20/2020, 12:36 PM
😄
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)