SPICE simulator

Thread Starter

Maori Warrior

Joined Aug 1, 2009
3
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

Rich (BB code):
spice < circuit1.cir
When I input this command in Terminal it says

Rich (BB code):
-bash: spice: command not found
If you guys could help, that would fantastic

thanks
 

Thread Starter

Maori Warrior

Joined Aug 1, 2009
3
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
 

Dcrunkilton

Joined Jul 31, 2004
422
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
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.
 
Top