I use
specify
$setup(d,posedge clk, 5);
endspecify
to give an setup time for dff. However, when clk rises just 2 units of time after d changes, there is not setup time violation issued. I use iverilog to simulate.
How can I see such violations?