using "iff" to make the simulator faster
Which of the following codes would perform faster in terms of simulation time? this code will be part of a uvm driver.
1.
@(vif.monitor_cb iff (vif.monitor_cb.pack && vif.monitor_cb.val));
or 2:
@(vif.mst_mon_cb);
if (vif.mst_mon_cb.rsp_pack == 1'b1 & vif.mst_mon_cb.rsp_val == 1'b1)
gemini tells me that the first one performs better, but I don't trust it