The filename argument is only used if you simulate using
the spectreHDL model (the ahdl view). If you pick
the veriloga view instead, then it writes out the filename
as %C:r.dat (which means root of the input file name with
.dat added). So since the input file under ADE will be
input.scs, the resulting filename will be "input.dat",
and will be created in the directory that the simulation
is run in, which will be:
<projectDir>/<cellName>/spectre/schematic/netlist
Now you may find that the file appears to be empty still.
This is because there's nothing to flush the file at the
end of the simulation if you're running spectre in
"interactive" mode (which is the default through ADE).
There's a PCR for this, but in the mean time, doing
a Simulation->Stop or setting:
Code:envSetVal("spectre.envOpts" "controlMode" 'string "batch")
in the CIW or .cdsinit before starting ADE should fix that.
Note, I found the location of the file purely by
looking at the model code - which you can do too.
I suppose you need to know the directory it ran
in, but you have that info now!
Regards,
Andrew.