User Activity

  • Modified a comment on discussion ngspice-users on ngspice

    withdrawn

  • Posted a comment on discussion ngspice-users on ngspice

    Sorry about that.

  • Posted a comment on discussion ngspice-users on ngspice

    I have been working on Jupyter Notebooks using a circuit simulator, as described here: https://www.ee.iitb.ac.in/~sequel/nb_list.html (see, for example, the section on "time constant in RC/RL circuits") However, the simulator being used in this work has a limited library. In order to extend this approach to electronics applications, I would like to use NGSPICE (on both linux and windows). Is there a way to install NGSPICE in a "local" directory such that it does not clash with any other NGSPICE installation...

  • Posted a comment on discussion ngspice-users on ngspice

    That does the job. Thank you.

  • Posted a comment on discussion ngspice-users on ngspice

    In the following, simulation is carried out for only one frequency value. In the data file created by ngspice, there are four columns: frequency, volts, frequency, values. How can I suppress writing of the frequency values? * from https://sourceforge.net/p/ngspice/discussion/133842/thread/029a277d/ * NMOS in dioded connection to test BSIM4 .param freq = 1Meg .csparam freq = {freq} M1 0 N001 0 0 cmosn l=0.7u w=10u ps=22u pd=22u ad=5u as=5u V1 in 0 1.8 ; pwl (0.0 -1.8 1u 1.8) VAC in N001 dc 0 ac 1...

  • Posted a comment on discussion ngspice-users on ngspice

    diomask.c is what I need. Thanks. Sorry, I didn't notice it earlier.

  • Modified a comment on discussion ngspice-users on ngspice

    If I create a function (in dio/diompar.c) like this: int DIOmParamRead(int param, IFvalue *value, GENmodel *inModel) { DIOmodel *model = (DIOmodel*)inModel; switch(param) { case DIO_MOD_LEVEL: value->iValue = model->DIOlevel; break; case DIO_MOD_IS: value->rValue = model->DIOsatCur; break; ... default: return(E_BADPARM); } return(OK); } will that work? This means that I will need to include lines like: .DEVmodParamRead = DIOmParamRead, in EVREY device. Is that correct? (Not too much work, it is on-time)...

  • Modified a comment on discussion ngspice-users on ngspice

    If I create a function (in dio/diompar.c) like this: int DIOmParamRead(int param, IFvalue *value, GENmodel *inModel) { DIOmodel *model = (DIOmodel*)inModel; switch(param) { case DIO_MOD_LEVEL: value->iValue = model->DIOlevel; break; case DIO_MOD_IS: value->rValue = model->DIOsatCur; break; ... default: return(E_BADPARM); } return(OK); } will that work? This means that I will need to include lines like: .DEVmodParamRead = DIOmParamRead, in EVREY device. Is that correct? (Not too much work, it is on-time)...

View All

Personal Data

Username:
mbpatil
Joined:
2022-03-11 03:32:20.836000

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB