Crate vpi_export

Source
Expand description

Vpi-export

Allows exporting of rust functions as VPI functions

Re-exports§

pub use vpi_user;

Macros§

bitvec

Structs§

BitVector
Verilog bit vector type.
Clk
Single bit logical value with clock utilities
Handle
Vpi handle type to interact with verilog values
VpiCallbackHandle
Callback handle wrapper
VpiIter
Wrapper to a vpi handle generated by crate::vpi_user::vpi_iterate.

Enums§

VpiError
Errors relating to VPI

Traits§

FromVpiHandle
Conversion trait from verilog to rust
StoreIntoVpiHandle
Conversion trait from rust to verilog
VpiTaskResult
Possible result of a vpi task

Functions§

finish
Equivalent to $finish
get_time
Obtain simulation time
on_delay
Callback after delay
on_value_change
Register callback for on value change
print
Print function that internally will use the simulator’s print function.
println
Print function that internally will use the simulator’s print function with an appended new line.
remove_cb
Remove callback handle
vpi_printf

Type Aliases§

RawHandle
Not null vpi_user::vpiHandle
Result
Result relating to a vpi result

Attribute Macros§

vpi_module
Drive signals of a module
vpi_task
Export function as a vpi task
vpi_top
Drive signals of a module