Expand description
Vpi-export
Allows exporting of rust functions as VPI functions
Re-exports§
pub use vpi_user;
Macros§
Structs§
- BitVector
- Verilog bit vector type.
- Clk
- Single bit logical value with clock utilities
- Handle
- Vpi handle type to interact with verilog values
- VpiCallback
Handle - Callback handle wrapper
- VpiIter
- Wrapper to a vpi handle generated by crate::vpi_user::vpi_iterate.
Enums§
- VpiError
- Errors relating to VPI
Traits§
- From
VpiHandle - Conversion trait from verilog to rust
- Store
Into VpiHandle - Conversion trait from rust to verilog
- VpiTask
Result - 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 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