Build spice from berkely source code

I found much of the help on the internet itself. Google search takes you to correct pages if you are lucky. I found article by Kevin Cosgrove "Analysing circuits with spice on linux" very helpful. I have put together the things which you will need to do to get spice code from berkely working for you. These steps are also outlined in the README files from berkeley in source code tar balls. Download spice source code from berkeley.

gzip -d .tar.gz
tar -xvf .tar
cd spice3f5
util/build linux
This step takes some time ... Make sure you have the root permission on the machine and gcc or c compiler for this step.

util/build linux install

Once you are done building the spice3 you can immediately use it for circuit simulations. You might need to compile spice3 for bsim3 or bsim4 support. Download BSIM3 and BSIM4 source files from berkeley bsim website. Please make the necessary changes as given in the readme files. I have listed them here for completeness sake, but actual steps might change .. really depends on the release from berkeley.


BSIM3 and BSIM4 support in spice3f5

Readme file to add BSIM4 model in spice3 click here





                ///\\___
                (@ @)
     +----oOO----(_)-----------+
     |        Site under       |
     |                         |
     |      Construction       |
     +-----------------oOO-----+
               |__|__|  
                || ||
               ooO Ooo
Contact us at
Rajeev Srivastava