Hi there,
We have a case where we have to use multiple model files in spectre simulation.
I want to avoid situation where by mistake different section names are used in the simulation.
E.g.
...
include "/home/predamar/tests/spectre/my_models/include.scs" section=fast
include "/home/predamar/tests/spectre/basic/include.scs"
include "/home/predamar/tests/spectre/my_models_2/include.scs" section=nom
...
In one place is used "fast", in other is "nom".
I want to have the possibility to provide an error message and to stop the simulation.
The include lines which have no "section" will be ignored.
So, all the included files should have the same section name.
The only solution that I see now is to trigger a script before starting spectre simulation,and to parse the top netlist file.
I want to know if spectre has something builtin that may help.
Best Regards,
Marcel