Reply To: Using WaitForTransaction/RequestTransaction in a testbench
Why OSVVM™? › Forums › OSVVM › Using WaitForTransaction/RequestTransaction in a testbench › Reply To: Using WaitForTransaction/RequestTransaction in a testbench
Hi Francois,
The VC in the OSVVM library use either osvvm_common.StreamTransactionPkg.StreamRecType (for send and get type transactions – used by UART, AxiStream, xMii) or osvvm_common.AddressBusTransactionPkg.AddressBusRecType (for read and write type transactions – used by Axi4Manager, Axi4Memory, DpRam, WishboneManager, WishboneSubordinate).
You can access either one using
`
library osvvm_common ;
context osvvm_common.OsvvmCommonContext ;
`
A testbench for a counter may only need directive transactions, for which either record will work.
You can create your own record. Use those packages as an example if you like.
Best Regards,
Jim