Discard all XSPICE event data when using "-b -r", as there is no way
to access it. An initial step for FR #105: "Esave + rawfile".
This commit is contained in:
parent
e42a9e6b5c
commit
82c91abea4
|
|
@ -162,4 +162,5 @@ int Evt_Parse_Node(const char *node, struct node_parse *result);
|
||||||
|
|
||||||
void Evt_purge_free_outputs(void);
|
void Evt_purge_free_outputs(void);
|
||||||
|
|
||||||
|
void EVTdiscard(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1563,6 +1563,11 @@ int main(int argc, char **argv)
|
||||||
are ignored, except .save, which has been handled by ft_dotsaves()
|
are ignored, except .save, which has been handled by ft_dotsaves()
|
||||||
from within inp_spsource (), data are put into linked list dbs.
|
from within inp_spsource (), data are put into linked list dbs.
|
||||||
*/
|
*/
|
||||||
|
#ifdef XSPICE
|
||||||
|
// Do not save any XSPICE node data, as there is no way to use it.
|
||||||
|
|
||||||
|
EVTdiscard();
|
||||||
|
#endif
|
||||||
int error2 = ft_dorun(ft_rawfile);
|
int error2 = ft_dorun(ft_rawfile);
|
||||||
/* Execute the .whatever lines found in the deck, after we are done running. */
|
/* Execute the .whatever lines found in the deck, after we are done running. */
|
||||||
if (ft_cktcoms(TRUE) || error2) {
|
if (ft_cktcoms(TRUE) || error2) {
|
||||||
|
|
|
||||||
|
|
@ -963,6 +963,8 @@ static void set_all(CKTcircuit *ckt, Mif_Boolean_t val)
|
||||||
node_table[i]->save = val;
|
node_table[i]->save = val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void EVTdiscard(void) {set_all(g_mif_info.ckt, MIF_FALSE);}
|
||||||
|
|
||||||
void
|
void
|
||||||
EVTsave(wordlist *wl)
|
EVTsave(wordlist *wl)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue