TE to check two events coinciding or delayed
问题 I have two events @A and @B. I want to check that at occurrence of @A, @B is either emitted at the same time or some cycles later. expect my_check is ((@A and @B) or (@A => {[0..N]; @B}))@clk exec { message(NONE, "my_check"); }; However, I can see (from the message) that the TE succeeds every clock cycle from the start of the simulation. This is puzzling, as neither A nor B occur in that timeframe. Any ideas what's wrong? Is it forbidden to mix boolean and temporal yield operator? 回答1: What