• 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. Using the objection mechanism

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 65
  • Views 10233
  • 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

Using the objection mechanism

Nir Z
Nir Z over 3 years ago

Hi all,

I'm trying to use the objection mechanism to coordinate between different sequences.

Initially I used "TEST_DONE" but I saw that when the counter reach 0 it automatically start "end of test" which I would like to control my self.

To solve that I'm interested of extending a new kind of objection and for some reason I cant compile the file.

I've added the next code:

extend any_unit {
        extend objection_kind: [NEW_KIND];
};

Can you direct me why my extension doesn't work? i tried also extending sys but then some of the units cant identify the new objection kind.

(I'm using e language)

Best regards,

Nir

  • Cancel
Parents
  • StephenH
    StephenH over 3 years ago

    Typically you would only raise and drop the objection to TEST_DONE from your MAIN sequence, so that you don't get that "gap" between sub-sequences.

    There are some hints and suggestions here: Creating e Testbenches -- Managing Resets and End of Test - 13.2.2. End-Of-Test Mechanism

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Nir Z
    Nir Z over 3 years ago in reply to StephenH

    I read it but I'm still not sure - how can I extend more objections correctly? I tried extending in the MAIN sequence but still it fails.

    Also - how can I cancel the automatic "end of test" when TEST_DONE is down to zero?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 3 years ago in reply to Nir Z

    Are you saying you want the test to keep running even after the MAIN sequence ends? That would be quite unusual.

    I don't think simply extending the definition of the objection kind will make any difference to your problem.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • StephenH
    StephenH over 3 years ago in reply to Nir Z

    Are you saying you want the test to keep running even after the MAIN sequence ends? That would be quite unusual.

    I don't think simply extending the definition of the objection kind will make any difference to your problem.

    • 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