modified tb_eq_d.v to be able test with iverilog