User Activity

  • Posted a comment on ticket #132 on ngspice

    Test case: #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define XSPICE 1 #include <ngspice/sharedspice.h> static int output(char *text, int id, void *user) { (void)id; (void)user; fprintf(stderr, "%s\n", text); return 0; } int main(int argc, char **argv) { if (argc < 2) { fprintf(stderr, "Usage: %s /path/to/digital.cm [queries]\n", argv[0]); return 1; } int queries = argc > 2 ? atoi(argv[2]) : 1000000; ngSpice_Init(output, NULL, NULL, NULL, NULL, NULL, NULL); char...

  • Posted a comment on ticket #133 on ngspice

    Small reproducer of the issue attached. c -std=c99 -Wall -Wextra -I/path/to/ngspice/src/include event_plot_reuse.c \ -L/path/to/ngspice/src/.libs -Wl,-rpath,/path/to/ngspice/src/.libs \ -lngspice -o event_plot_reuse Run with the matching digital.cm: ./event_plot_reuse /path/to/digital.cm ./event_plot_reuse /path/to/digital.cm --keep-plots The program loads one ADC bridge and runs two identical DC sweeps. By default it executes destroy all between sweeps. --keep-plots omits that command. It prints...

  • Posted a comment on ticket #133 on ngspice

    Hello, I am not proposing that destroy all should delete the XSPICE event history, I use destroy all to release numerical plots after collecting their results. The issue here is that subsequent simulations can reuse numeric plot names, such as tran1, dc1, etc, and reconnect the event data assosiated with older job. In tests it produces stale digital values or missing callback in a new run. The proposed patch preserve history, but attempt to ensure that new analysis uses it's own event data. Aside...

  • Created ticket #133 on ngspice

    XSPICE: reused plot names after destroy all can reconnect stale event data

  • Created ticket #132 on ngspice

    Shared library: memory leak in ngGet_Evt_NodeInfo result cleanup

  • Posted a comment on discussion ngspice-users on ngspice

    Hello, you can check here, not mismatch, but can be done to whatever variation you want, including change of model parameters, specific device parameters, etc.

  • Modified a comment on discussion ngspice-devel on ngspice

    I have this, but ngspice was not compiled with debugger symbols, I can do it on these weekends. Starting program: C:\Users\george\AppData\Local\Apps\Tcl90\bin\tclsh90.exe ngspicebridge.test [New Thread 12380.0x5d04] [New Thread 12380.0x6cc0] [New Thread 12380.0x5354] [New Thread 12380.0x8f4] [New Thread 12380.0x42cc] [New Thread 12380.0x1cfc] [New Thread 12380.0x55f0] [New Thread 12380.0x900] [Thread 12380.0x55f0 exited with code 0] [New Thread 12380.0x5104] [New Thread 12380.0xa64] Thread 9 received...

  • Modified a comment on discussion ngspice-devel on ngspice

    I have this, but ngspice was not compiled with debugger symbols, I can do it on these weekends. Starting program: C:\Users\george\AppData\Local\Apps\Tcl90\bin\tclsh90.exe ngspicebridge.test [New Thread 12380.0x5d04] [New Thread 12380.0x6cc0] [New Thread 12380.0x5354] [New Thread 12380.0x8f4] [New Thread 12380.0x42cc] [New Thread 12380.0x1cfc] [New Thread 12380.0x55f0] [New Thread 12380.0x900] [Thread 12380.0x55f0 exited with code 0] [New Thread 12380.0x5104] [New Thread 12380.0xa64] Thread 9 received...

View All

Personal Data

Username:
georgfour
Joined:
2017-05-05 08:42:28

Projects

  • No projects to display.

Personal Tools