• 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. Functional Verification
  3. delay of the get_next_item method

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 65
  • Views 12999
  • 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

delay of the get_next_item method

myonlyscreen
myonlyscreen over 12 years ago

 Hi all

I have some question regarding the delay of get_next_item method.

 Is there an option to get result from get_next_item in "zero time" (no delay at all).

i have noticed that this method have an half cycle delay , is it all right ?

thanks in advance.

Moris.

  • Cancel
Parents
  • TAM1
    TAM1 over 12 years ago

     You didn't tell us what "get_next_item" method you are calling. Is it a UVM call? If so, there are usually matching calls with names like "try_" or "peek_" that will let you see if an item is available or not and return imediately. A UVM get_next_item call will wait until the next item is available and then return. So it might wait a half-cycle or 1000's of cycles depending on how the model responds. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • TAM1
    TAM1 over 12 years ago

     You didn't tell us what "get_next_item" method you are calling. Is it a UVM call? If so, there are usually matching calls with names like "try_" or "peek_" that will let you see if an item is available or not and return imediately. A UVM get_next_item call will wait until the next item is available and then return. So it might wait a half-cycle or 1000's of cycles depending on how the model responds. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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