User Activity

  • Posted a comment on ticket #89 on ngspice

    Here's a patch. It prints out how many lines were requested with the CPL model, how many lines are compiled in and a suggestion for which file and #define to modify to increase the limit. I also added my name to AUTHORS file assuming you eventually accept the patch :-).

  • Posted a comment on ticket #89 on ngspice

    I could trap the out of bounds condition and print an error message telling the user the current compiled limit and telling them which #define to change to up the limit, rather than triggering a core dump. Would this be an acceptable patch? I am using this code quite a bit lately and am planning to publish my multiconductor model generator, so I'd like to make this easier to use.

  • Posted a comment on ticket #89 on ngspice

    Afer enabling debugging and looking at the stack trace, the issue is: #define MAX_CP_TX_LINES 8 in src/include/ngspice/swec.h. I changed it from 8 to 20 and rebuilt ngspice. I wonder if there is a way to make this more obvious? Maybe the manual could say "multiconductor lines are compiled for a maximum of 8 conductors by default. You may have to rebuild after changing MAX_CP_TX_LINES if you need a larger number of conductors".

  • Created ticket #89 on ngspice

    Coupled Multiconductor Line dumps core if number elements > 8

  • Posted a comment on ticket #57 on ngspice

    A work around is to use a voltage source and then convert it to a current source with a G device: vinput 101 0 PWL(0 0 {PER/4} {STROKE} {2PER/4} 0 {3PER/4} {-STROKE} {PER} 0) R=0 ginput 1 0 101 0 1

  • Created ticket #57 on ngspice

    PWL repeat flag (R=0) doesn't work for current sources only voltage

View All

Personal Data

Username:
rickcwalker
Joined:
2022-12-01 00:46:27.344000

Projects

  • No projects to display.

Personal Tools