Physics Simulation Using Modelsim Altera