Hi,
Can anyone give me some directions on how to develop a circuit simulator from scratch. I need to develop a simple spice compatible simulator,that can read in spice netlists. I will be using C++ to code the simulator. I need to support only simple R,L,C, diode and mosfet devices and DC,AC and transient analyses. I would be using the Ebbers
- Moll models. The problem is that I could not find any guidelines on how to actually go about writing a simulator from sctrach. I found several books that explain the different types of analysis but none of the books give a frame work to develop a circuit simulator.
I am right now going through "Computer Simulation Of Electronic Circuits" by R Raghuram and "SPICE2: A Computer Program To Simulate Semiconductor Circuits" by Laurence W.Nagel. But, these are very old books and are based on FORTRAN.
If anyone could suggest a website or a book it would be great help.
Thanx, Balaji.