Copy¶
This example shows the most basic usage of cosim.vhpidirect.VHPIDIRECT
(see VHPIDIRECT) to interact with VUnit’s internal string_ptr
/byte_vector_ptr
(see Data Types) from C. cosim.vhpidirect.VHPIDIRECT.bridge()
is used enable external mode support for string_ptr
. Two equivalent testbenches are provided: one uses string_ptr
and the other one byte_vector_ptr
.