Domanda

Going through the slides on temporal expressions, I came across this statement:

expect @buffer_full_e => eventually @int_e @clock_e else dut_error(
    “After the buffer was filled,an interrupt never occurred.”);  

What is the significance of eventually here. Specifically, the difference if eventually was not used here?

È stato utile?

Soluzione

eventually is kind of like an if/else in temporal language. Either you see @int_e @clock_e before the end of the simulation, or else an error will fire as Specman runs checks at the end of test.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top