simulate_design function

Simulate a design