If you are designing a USB device, what you need is a USB host model to simulate the USB message behavior on the bus. You need to learn the command sets of the host model and edit it in your testbench. If your design is a full speed design, you can find host model from opencore website. For USB high speed design, there is no stable host model in free open source.