Hello!
When i try to run a corner test it fails with these errors:
Error found by spectre in `modn', during circuit read-in.
ERROR (SFE-23): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 3423: soac_m1 is an instance of an undefined model modn_ahdl.
Error found by spectre in `modp', during circuit read-in.
ERROR (SFE-23): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 3999: soac_m1 is an instance of an undefined model modp_ahdl.
ERROR (SFE-2001): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 3424: `MN0': Problem in evaluating conditional expression for instantiation: Unknown parameter name `modn' found in expression.
Error found by spectre in `modp':`MP0', during hierarchy flattening.
ERROR (SFE-2001): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 4000: `MP0': Problem in evaluating conditional expression for instantiation: Unknown parameter name `modp' found in expression.
Error found by spectre in `modn':`MN0', during hierarchy flattening.
ERROR (SFE-1997): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 3428: MN0.notvalid: parameter `errorif': Unknown parameter name `modn' found in expression.
Error found by spectre in `modp':`MP0', during hierarchy flattening.
ERROR (SFE-1997): "/dk/ams/hitkit410isr15/spectre/c35/soac/cmos53.scs" 4004: MP0.notvalid: parameter `errorif': Unknown parameter name `modp' found in expression.
The schematic is a simple common-source stage, which should not be the culprint (Picture link). I can manually change the corner or temperature in ADE L and it simulates without problems.
If i open another ADE XL corner testbench which was used for another cell, and add a test for my cell to it, it works fine. So it looks like it is a problem with the way i setup the new testbench, but i can't seem to figure out why, or what parameter it might be that mismatches from the working testbench.