Hello, I was wondering if you could help with the following issue:
The vendor's provided model file has a definition for a parameter (param1) which I would like to override. Both definitions would happen in the same "block" (same level). The way I'm trying to do this, with no success, is as follows:
A. Define a Global Variable in ADEXL as param1 = 0
B. The netlist (input.scs) generated is:
parameters param1 = 0
include "vendor's model file" (In this model file a definition of param1 = 1 exists)
C. A warning in "spectre.out" is created:
WARNING (SFE-2297): "vendor's model file": Parameter `param1' is already defined in the same block, previous definition is ignored.
It seems to me that I would need to revert the order of declaration as described in B.,but I don't know how to do it.
Would there another way to do what I'm trying to do?
You could try having the model file definitions appear before the parameters statement using the following .cdsenv variable:
spectre.envOpts netlistModelFileFirst boolean t
or the equivalent in the .cdsinit file:
envSetVal("spectre.envOpts" "netlistModelFileFirst" 'boolean t)
Since netlisting happens in the ICRP process in ADE XL you will need to have this in the .cdsenv or .cdsinit file rather than entering it in the CIW.
In reply to Tom Volden:
In reply to WMACH:
Just a follow-up, I did confirm that what you suggested above works nicely.