add wantevtdata if event output should be sent to caller
This commit is contained in:
parent
3e52cdd8c1
commit
e36b028cdb
|
|
@ -90,6 +90,7 @@ typedef struct {
|
|||
|
||||
|
||||
extern Ipc_Tiein_t g_ipc;
|
||||
extern bool wantevtdata;
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -476,7 +476,7 @@ DCpss(CKTcircuit *ckt,
|
|||
#ifdef XSPICE
|
||||
/* gtri - modify - wbk - 12/19/90 - Send IPC stuff */
|
||||
|
||||
if(g_ipc.enabled) {
|
||||
if ((g_ipc.enabled) || wantevtdata) {
|
||||
|
||||
if (pss_state == PSS)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -429,7 +429,7 @@ DCtran(CKTcircuit *ckt,
|
|||
#ifdef XSPICE
|
||||
/* gtri - modify - wbk - 12/19/90 - Send IPC stuff */
|
||||
|
||||
if(g_ipc.enabled) {
|
||||
if ((g_ipc.enabled) || wantevtdata) {
|
||||
|
||||
/* Send event-driven results */
|
||||
EVTdump(ckt, IPC_ANAL_TRAN, 0.0);
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ DCtrCurv(CKTcircuit *ckt, int restart)
|
|||
/* If first time through, call CKTdump to output Operating Point info */
|
||||
/* for Mspice compatibility */
|
||||
|
||||
if (g_ipc.enabled && firstTime) {
|
||||
if (((g_ipc.enabled) || wantevtdata) && firstTime) {
|
||||
ipc_send_dcop_prefix();
|
||||
CKTdump(ckt, 0.0, plot);
|
||||
ipc_send_dcop_suffix();
|
||||
|
|
|
|||
Loading…
Reference in New Issue