quick.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

   

space.gif

   

space.gif

  ../images/main/bullet_star_pink.gif sys.any

This event is a special event that defines the finest granularity of time. The occurrence of any event in the system causes an occurrence of the any event at the same tick. In stand-alone e program operation (that is, with no simulator attached), the sys.any event is the only one that occurs automatically. It typically is used as the clock for stand-alone operation.

   

space.gif

Below example is for defining clock when RTL is not present and one needs to build a standalone e code.

   

space.gif


 1 <' 
 2 extend sys { 
 3     event clk is cycle @sys.any; 
 4 }; 
 5 '> 
You could download file events_temp_ex2.e here
   

space.gif

  ../images/main/bullet_star_pink.gif sys.tick_start

This event is provided mainly for visualizing and debugging the program flow.

   

space.gif

  ../images/main/bullet_star_pink.gif sys.tick_end

This event is provided mainly for visualizing and debugging the program flow. It also can be used to provide visibility into changes of values that are computed during the tick, such as the values of coverage items.

   

space.gif

   

space.gif

  ../images/main/bullet_star_pink.gif session.start_of_test

The first action the predefined run() method executes is to emit the session.start_of_test event. This event is typically used to anchor temporal expressions to the beginning of a test.

   

space.gif


  1 <' 
  2 extend sys { 
  3   event clk is cycle @sys.any; 
  4   event watchdog is {@session.start_of_test; [100]}@clk; 
  5   on watchdog { 
  6     out("Watchdog triggered"); 
  7     stop_run(); 
  8   }; 
  9 }; 
 10 '> 
You could download file events_temp_ex3.e here
   

space.gif

Watchdog triggered
   

space.gif

  ../images/main/bullet_star_pink.gif session.end_of_test

This event is typically used to sample data at the end of the test. This event cannot be used in temporal expressions, as it is emitted after evaluation of temporal expression has been stopped. The on session. end_of_test struct member is typically used to prepare the data sampled at the end of the test.

   

space.gif

  ../images/main/bullet_star_pink.gif struct.quit

This only exists in structs that contain temporal members (events, on, expect, or TCMs). It is emitted when the struct's quit() method is called, to signal the end of time for the struct.

   

space.gif

The first action executed during the check test phase is to emit the quit event for each struct that contains it. This event can be used to cause the evaluation of temporal expressions that contain the eventually temporal operator (and check for eventually temporal expressions that have not been satisfied).

   

space.gif

  ../images/main/bullet_star_pink.gif sys.new_time

This event is emitted on every sys.any event in stand-alone operation (no simulator). When a simulator is being used, this event is emitted whenever a callback occurs and the attached simulator's time has changed since the previous callback.

   

space.gif

   

space.gif

   

space.gif

   

space.gif

space2.gif

space2.gif

space2.gif

space2.gif

space2.gif

  

Copyright © 1998-2014

Deepak Kumar Tala - All rights reserved

Do you have any Comment? mail me at:deepak@asic-world.com