Hardware Modeling and Simulation