Class | VPI::Handle |
In: |
lib/ruby-vpi/core/callback.rb
lib/ruby-vpi/core/handle.rb lib/ruby-vpi/core/edge.rb ruby-vpi-dynamic.rb |
Parent: | Object |
A handle is an object inside a Verilog simulation (see vpiHandle in IEEE Std. 1364-2005 for details).
Nearly all methods of this class, such as put_value() and get_value(), you allow you to specify VPI types and properties (which are listed in ext/vpi_user.h) by their names (strings or symbols) or integer constants.
For example, the vpiIntVal property can be specified as a string ("vpiIntVal"), a symbol (:vpiIntVal), or as an integer (VpiIntVal or VPI::vpiIntVal).
change_01? | -> | posedge? |
change_10? | -> | negedge? |
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to VpiH (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to VpiL (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to VpiX (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to VpiZ (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to VpiH (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to VpiL (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to VpiX (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to VpiZ (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to VpiH (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to VpiL (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to VpiX (in the current time step).
Tests if the logic value of this handle has changed from Vpi0 (in the previous time step) to VpiZ (in the current time step).
Tests if the logic value of this handle has changed from VpiH (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from VpiH (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from VpiH (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from VpiH (in the previous time step) to VpiH (in the current time step).
Tests if the logic value of this handle has changed from VpiH (in the previous time step) to VpiL (in the current time step).
Tests if the logic value of this handle has changed from VpiH (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from VpiH (in the previous time step) to VpiX (in the current time step).
Tests if the logic value of this handle has changed from VpiH (in the previous time step) to VpiZ (in the current time step).
Tests if the logic value of this handle has changed from VpiL (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from VpiL (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from VpiL (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from VpiL (in the previous time step) to VpiH (in the current time step).
Tests if the logic value of this handle has changed from VpiL (in the previous time step) to VpiL (in the current time step).
Tests if the logic value of this handle has changed from VpiL (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from VpiL (in the previous time step) to VpiX (in the current time step).
Tests if the logic value of this handle has changed from VpiL (in the previous time step) to VpiZ (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to VpiH (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to VpiL (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to VpiX (in the current time step).
Tests if the logic value of this handle has changed from Vpi1 (in the previous time step) to VpiZ (in the current time step).
Tests if the logic value of this handle has changed from VpiX (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from VpiX (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from VpiX (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from VpiX (in the previous time step) to VpiH (in the current time step).
Tests if the logic value of this handle has changed from VpiX (in the previous time step) to VpiL (in the current time step).
Tests if the logic value of this handle has changed from VpiX (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from VpiX (in the previous time step) to VpiX (in the current time step).
Tests if the logic value of this handle has changed from VpiX (in the previous time step) to VpiZ (in the current time step).
Tests if the logic value of this handle has changed from VpiZ (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from VpiZ (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from VpiZ (in the previous time step) to Vpi0 (in the current time step).
Tests if the logic value of this handle has changed from VpiZ (in the previous time step) to VpiH (in the current time step).
Tests if the logic value of this handle has changed from VpiZ (in the previous time step) to VpiL (in the current time step).
Tests if the logic value of this handle has changed from VpiZ (in the previous time step) to Vpi1 (in the current time step).
Tests if the logic value of this handle has changed from VpiZ (in the previous time step) to VpiX (in the current time step).
Tests if the logic value of this handle has changed from VpiZ (in the previous time step) to VpiZ (in the current time step).
Reads the value using the given format (name or integer constant) and returns it. If a format is not given, then it is assumed to be VpiIntVal.
Reads the value using the given format (name or integer constant) and returns a S_vpi_value object.
Inspects the given VPI property names, in addition to those common to all handles.
Provides access to this handle‘s (1) child handles and (2) VPI properties through method calls. In the case that a child handle has the same name as a VPI property, the child handle will be accessed instead of the VPI property. However, you can still access the VPI property using the square brackets #[] method.
Writes the given value using the given format (name or integer constant), time, and delay, and then returns the written value.