This project is about developing a circuit simulator like SPICE that could conduct DC and small AC analysis for various circuits including diodes. The user only need to feed the characteristic of the circuit into the system and the analysis result would come out.