https://open-source-silicon.dev logo
p

Priyanka Dutta

05/12/2021, 6:28 PM
Hi my caravel repo for "Subservient" design : https://github.com/MSPDUTTA/Subservient_SOC , If I run the same design (all identical configurations) with openlane "commit a95f56dac367c05bc48b4a001c419b58ec9648a4" , design ends successfully with no fatal errors and generate all reports properly. But, with the latest openlane version , my simulation goes through all steps fine and then hangs at step index 42 as below:

https://skywater-pdk.slack.com/files/U01SYT2CAR0/F021QREPS5Q/image.png

m

Manar Abdelatty

05/12/2021, 7:15 PM
@Priyanka Dutta You can disable the klayout drc check by setting
KLAYOUT_DRC_KLAYOUT_GDS
to 0. Openlane by default runs magic DRC so that should be sufficient.
p

Priyanka Dutta

05/12/2021, 9:25 PM
Hi @Manar Abdelatty, from the description it seems like by default is 0 `KLAYOUT_DRC_KLAYOUT_GDS`Enables running Klayout DRC on GDS-II produced by Klayout. 1 = Enabled, 0 = Disabled (Default: 
0
), also I have added to the config.tcl specifically to make it 0. Besides I have merged my forked repo with the latest caravel/main stream. Stil I see the same issue of hanging at the same point
m

Manar Abdelatty

05/12/2021, 10:20 PM
@Priyanka Dutta Do you
RUN_KLAYOUT_DRC
set to 1 ?
p

Priyanka Dutta

05/12/2021, 10:21 PM
No I didn't specifically set this parameter in my config. But if I grep whole repo, I see it is getting set to 1, in run directory config file
m

Manar Abdelatty

05/12/2021, 10:27 PM
Just to confirm, you have
set ::env(RUN_KLAYOUT_DRC) "0"
in the
subservient/runs/subservient/config.tcl
?
p

Priyanka Dutta

05/12/2021, 10:30 PM
No I haven't , but it seems like in the runs directory subservient/config.tcl , which is automatically created is setting set ::env(RUN_KLAYOUT_DRC) 1 for me
subservient/runs/ - the config file under this directory has been created automatically by tool ?
m

Manar Abdelatty

05/12/2021, 10:32 PM
Yes, it dumps all the environment variables after sourcing your config.tcl and the default configurations in this file. Do you have it set to 0 in this file https://github.com/efabless/openlane/blob/a95f56dac367c05bc48b4a001c419b58ec9648a4/configuration/general.tcl#L45 ?
p

Priyanka Dutta

05/12/2021, 10:35 PM
No , I didn't set this varibale to 0 , I have set set ::env(KLAYOUT_DRC_KLAYOUT_GDS) 0 in https://github.com/MSPDUTTA/Subservient_SOC/blob/main/openlane/subservient/config.tcl
so , everytime if i change environment variables in config.tcl, it will generate runs/subservient/config.tcl again right ? or I should try cleaning the old runs directory and launch a new run?
m

Manar Abdelatty

05/12/2021, 10:39 PM
It is automatically generated by the tool.
p

Priyanka Dutta

05/12/2021, 10:56 PM
After I set ::env(RUN_KLAYOUT_DRC) 0 , in openlane/subservient/config.tcl , now it is finishing fine .