Intel Corporation interview question

How would you design a simulator like verilog