Stefan Schippers
09/13/2022, 8:38 AM.ac dec 10 1 1e12
.tran 1e-15 6e-12
.print ac format=raw file=test_ac_ac.raw v(*) i(*)
.print tran format=raw file=test_ac_tran.raw v(*) i(*)
However it seems Xyce can do only one analysis at a time, it gives this error:
Netlist error: Analysis type AC and print type TRAN are inconsistent.
Simulation aborted due to error. There are 0 MSG_FATAL errors and 1 MSG_ERROR
errors
The manual states that:
A netlist may contain many .PRINT commands, but only commands with
analysis types which are appropriate for the analysis being performed are
processed. This feature allows you to generate multiple formats and variable
sets in a single analysis run.
My understanding was that .print tran
lines are applied to the .tran
analysis and
.print ac
lines are applied to the .ac
analysis.
Any suggestions?
--EDIT--
May be I found the answer in the FAQ:
"I am trying to simulate a netlist that contains two kinds of simulation (such as .TRAN and .AC)"
"A netlist with two .print lines (such as .print ac file=file1.prn v(1) and .print tran file=file2.prn v(1)) will run in Xyce. However, Xyce currently doesn’t handle multiple analysis types in the same netlist. In this example, it will only output the second file (file2.prn)".
In my tests even leaving two .print lines with different analyses and one single .tran or .ac or other analysis line also produces the above error.Eric Keiter
09/13/2022, 5:16 PMEric Keiter
09/13/2022, 5:18 PMEric Keiter
09/13/2022, 5:18 PMEric Keiter
09/13/2022, 5:19 PMStefan Schippers
09/13/2022, 5:29 PMEric Keiter
09/13/2022, 5:34 PMEric Keiter
09/13/2022, 5:35 PMStefan Schippers
09/13/2022, 5:43 PMEric Keiter
09/13/2022, 5:50 PM