Simulation of Digital Circuit