• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Verification IP
  3. Send SetAddress from VIP Host to VIP device via usb 2.0...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 11
  • Views 8674
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Send SetAddress from VIP Host to VIP device via usb 2.0 4-port hub (du

gulyaev
gulyaev over 5 years ago

Hi!

I am write test for usb hub using vip host and devices. I have a testbench with vip usb host, DUT(hub) and 4 vip usbdevices on each hub downstream port.

In test Hub is successfully enumerated by vip host, host enabling and reset hub port #1 which connected to vip device. After this I try to send SetAddress(2) from host to device via hub. Host is do not send packet to hub.

So, Hub is addressed and have address=1. Transactions to hub (Addr=1) sended successfully, but transactions to device is not sended by host.

.denalirc
HistoryDebug         On
HistoryFile          denali.his
TraceFile            denali.trc
ReportTimeUnits      ns
UsbBypassReset       0
UsbBypassTraining    0
UsbBypassInit        0
UsbBypassLmpInit     0
UsbAutoLmpInit       0
UsbAutoDeviceEnumeration        0
UsbAcceptSe0ForHSIdle 1
UsbSOFRightAfterReset 1
UsbAcceptJKForChirp   1

Finally test is hanging on infinitely waiting of transaction finishing:
    forever begin
      @ seqr.trEvent;
      item = tr;
      if (seqr.matchTr(item)) begin
        break;
      end
    end

  • Cancel
  • gulyaev
    gulyaev over 5 years ago

    Problem is solved.

    It's need to polling hub port status and when port is in state 'enabled', host can send request to device.

    It doesn't worked if use only delay for resetting device.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information