Sim QA: Display the original netlist on failure
This commit is contained in:
parent
39de92bba2
commit
fbc42bf569
|
@ -123,12 +123,20 @@ public:
|
||||||
// We need to make sure that the number of points always the same.
|
// We need to make sure that the number of points always the same.
|
||||||
ngspice->Command( "linearize" );
|
ngspice->Command( "linearize" );
|
||||||
|
|
||||||
// Display all vectors in case we need them for debugging.
|
|
||||||
|
// Debug info.
|
||||||
|
|
||||||
|
// Display all vectors.
|
||||||
ngspice->Command( "echo Available Vectors" );
|
ngspice->Command( "echo Available Vectors" );
|
||||||
ngspice->Command( "echo -----------------" );
|
ngspice->Command( "echo -----------------" );
|
||||||
ngspice->Command( "display" );
|
ngspice->Command( "display" );
|
||||||
|
|
||||||
// Display an expanded netlist in case we need it for debugging.
|
// Display the original netlist.
|
||||||
|
*m_log << "Original Netlist\n";
|
||||||
|
*m_log << "----------------\n";
|
||||||
|
*m_log << netlist << "\n";
|
||||||
|
|
||||||
|
// Display the expanded netlist.
|
||||||
ngspice->Command( "echo Expanded Netlist" );
|
ngspice->Command( "echo Expanded Netlist" );
|
||||||
ngspice->Command( "echo ----------------" );
|
ngspice->Command( "echo ----------------" );
|
||||||
ngspice->Command( "listing runnable" );
|
ngspice->Command( "listing runnable" );
|
||||||
|
|
Loading…
Reference in New Issue