d-m-bailey / extra_be_checks

Extra backend checks for sky130
Apache License 2.0
6 stars 3 forks source link

Default configuration is only using compress gds #28

Closed marwaneltoukhy closed 9 months ago

marwaneltoukhy commented 1 year ago

file tech/sky130A.lvs_config.sh looks only for compressed gds, which is not necessarily the case with all projects, some might not be compressed.

d-m-bailey commented 1 year ago

Good point. What if both the compressed file and uncompressed file exist and are different? Do we want to require the user to be explicit?

marwaneltoukhy commented 1 year ago

Precheck already breaks if that's the case, I think LVS should break as well

d-m-bailey commented 9 months ago

@marwaneltoukhy Sorry for the delayed response. The gds file in the lvs_config.json file is what is used be default. The user can set that to compressed or uncompressed. This value is overridable though, for example

$LVS_ROOT/run_be_checks lvs/user_project_wrapper/lvs_config.json user_project_wrapper user_project_wrapper gds/user_project_wrapper.gds

The first positional parameter after the lvs_config file is the source top level override, the second is the layout top level override, and the third is the gds override.