VLSI Circuit Simulation and Optimization