Hello,
I have requirement where by I need to create a reactive response for a combinatorial interface, which means the response to be driven on the same clock cycle when the input to tb changes value. For example, I have and id (output from DUT) and value (input to DUT) as the interface signals. The design presents an id for which the Tb should respond with a value. I have hooked up the monitor of the IVC to it's sequencer's export, on a which a sequence runs which randomizes the value for each id seen. But, I am having problems in either sampling or driving in the sense, when I am sample without the clocking block I am unable to see the changed value and on the other hand, if I sample on the clocking block, then the sampled value comes in a clock after. Even if I drive without the clocking block the "value" gets driven on the next clock.
Could anyone explain me how to handle such a case. Any example is highly appreciated
Thanks in advance,
Madhu