ngspice problems

Discussion in 'General Electronics Chat' started by Mashly, Jun 9, 2014.

  1. Mashly

    Thread Starter Member

    Apr 4, 2014
    33
    1
    Hi Guys,

    I am new to ngspice and trying to simulate my first circuit but getting an error saying, malloc: Internal error: can't allocate -8 bytes. I was wondering if anyone has seen this before?

    I will post anything needed to sort the problem but as I have no idea where to start just let me know what is needed.

    Thanks

    Mash
     
  2. timwhite

    Member

    Apr 10, 2014
    50
    7
    Can you post your code in quote form on here for us to take a look at?

     
  3. Mashly

    Thread Starter Member

    Apr 4, 2014
    33
    1
    Hi Tim,

    Thanks for having a look for me. Here is the spice.net

    Here is my Simulation.cmd

    and I have added a picture of the schematic as well.

    Thanks again,
    Mash
     
  4. Mashly

    Thread Starter Member

    Apr 4, 2014
    33
    1
    I was wondering if it could be something to do with my models for the transistors, as I got them of a website and don't know if they are implemented correctly?

    Thanks

    Matt
     
  5. timwhite

    Member

    Apr 10, 2014
    50
    7
    That's my only guess, your specs could be off. I couldn't find a good data sheet so I'm not really sure :/
     
Loading...