google / globalfoundries-pdk-libs-gf180mcu_fd_pv

Apache License 2.0
12 stars 6 forks source link

unify drc checks semantic #54

Open proppy opened 1 year ago

proppy commented 1 year ago

There are currently 2 differents way used to test DRC assertions in the recent PRs:

We should make sure we use matching semantic to ease readability and maintainance by either:

I think I'd personally favor (b) but maybe @klayoutmatthias or @mithro have strong opinions on this?

atorkmabrains commented 1 year ago

@proppy drc command is very slow and it's not recommended for performance concerns.

proppy commented 1 year ago

@atorkmabrains interesting, the documentation here https://www.klayout.de/doc/about/drc_ref_layer.html#drc mention

improved performance in some applications

does that mean that our drc deck has applications are not covered by those improvement?

/fyi @klayoutmatthias @mithro

atorkmabrains commented 1 year ago

@proppy That was the recommendations from @klayoutmatthias to avoid the use of drc command.

klayoutmatthias commented 1 year ago

The drc function is not slow in general, but in this particular case it lacks an optimization (forced merging of inputs), which makes it slower. This is addressed by https://github.com/KLayout/klayout/issues/1195, but I did not have time yet to look into that problem. As of now, it is better to use the plain DRC functions ("space", "width", ...) when possible.

Matthias

proppy commented 1 year ago

@klayoutmatthias Thanks for chipping in!

@atorkmabrains I'd be in favor of keeping this open until there is progress and https://github.com/KLayout/klayout/issues/1195 and then consider switching to drc.

atorkmabrains commented 1 year ago

BTW @proppy, @klayoutmatthias reviewed this rule deck and he was the one who suggested the removal of drc command.

Thanks @klayoutmatthias on your help back then. It would be nice to get your feedback again this time. BTW, we have integrated everything in efabless version.

klayoutmatthias commented 1 year ago

@atorkmabrains Of course - you mean you want feedback on the current version?

atorkmabrains commented 1 year ago

@klayoutmatthias yes, please. Please check efabless version.

atorkmabrains commented 1 year ago

@klayoutmatthias Here is the link:

https://github.com/efabless/globalfoundries-pdk-libs-gf180mcu_fd_pv

atorkmabrains commented 1 year ago

@klayoutmatthias BTW, this time we have our DRC regression as CI. This way we could detect if the changes might have impact on the correctness of output.