SPICE simulator

Discussion in 'Feedback and Suggestions' started by Maori Warrior, Aug 1, 2009.

  1. Maori Warrior

    Thread Starter New Member

    Aug 1, 2009
    3
    0
    I'm a bit new to electronics and computers, so I need a little help. I just started reading threw all of the lessons on this website, and my question is in regards to one of the lessons, here's the link

    http://www.allaboutcircuits.com/vol_1/chpt_2/9.html

    I am a Mac user, and I'm trying to get SPICE to work with Terminal. I have SPICE installed, I have the text file, and there in the right directory. Now the problem is that in the lesson, he uses the command

    Code ( (Unknown Language)):
    1. spice < circuit1.cir
    When I input this command in Terminal it says

    Code ( (Unknown Language)):
    1. -bash: spice: command not found
    If you guys could help, that would fantastic

    thanks
     
  2. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,347
    Hello,

    Is spice set in the path?
    The path command sets where programs can be found.

    Greetings,
    Bertus
     
  3. Maori Warrior

    Thread Starter New Member

    Aug 1, 2009
    3
    0
    All of the files are in the home directory, so I don't think you need a path :confused:

    thanks
     
  4. bertus

    Administrator

    Apr 5, 2008
    15,648
    2,347
  5. Maori Warrior

    Thread Starter New Member

    Aug 1, 2009
    3
    0
    Okay, so after I read your post, I decided to try a older version of spice. Now I managed to get the actual spice application working, but I wasn't able to get it working with my command prompt, Terminal, like it was shown in the lessons. I did try setting the path with no success. If anyone could give some advice or suggestions it would be much appreciated, thanks
     
  6. Dcrunkilton

    E-book Co-ordinator

    Jul 31, 2004
    416
    11
    See "Analyzing Circuits with SPICE on Linux" at http://www.linuxjournal.com/article/2169

    That article is helpful in getting the nutmeg waveform viewer to work.
    Summary:

    spice -b -r testckt.raw testckt.cir
    nutmeg testckt.raw

    the raw is useless except for driving nutmeg waveform viewer

    You still need to read the article to get nutmeg help.
     
Loading...