lip6 / coriolis

Coriolis VLSI EDA Tool (LIP6)
https://coriolis.lip6.fr
GNU General Public License v2.0
44 stars 5 forks source link

Safer configuration #99

Open Coloquinte opened 7 months ago

Coloquinte commented 7 months ago

The configuration process allows to set non-existing values, which is quite error prone IMO. It's very easy to write etesian.latchupDistance instead of etesian.latchUpDistance. It would be nice to error out whenever a configuration parameter does not exist.

At the moment, the configuration is set in several steps (from what I understand here):

To implement some validation, I think we'd need to lose the dynamic nature of the configuration. This way we can know whether the parameters exist somewhere when we apply them.

Is it something other people would like? Is there some value to a purely dynamic configuration that I missed?