I want to add additional environment options if context spectrei is loaded. I used this in startup.il
defUserInitProc("spectrei" , 'mySetSpectreToolEnvs)
in mySetSpectreToolEnvs I do some asiAddEnvOption and asiSetEnvOptionVal calls and check the results with asiDisplayEnvOption where I can see my modification.
If I now open the ADE (and selecting a design) I can see the execution of my mySetSpectreToolEnvs call in the log (after "Loading spectrei.cxt") but if I call asiDisplayEnvOption( asiGetTool( 'spectre ) ) in the icfb window then all my changes are gone!???
Has anyone an idear what I am doing wrong? The return value of asiGetTool( 'spectre ) is not the same object pointer as in mySetSpectreToolEnvs.