• 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. Sequences from within other sequences of different type

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 66
  • Views 13516
  • 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

Sequences from within other sequences of different type

hailesen
hailesen over 14 years ago
 Hello,

      I was wondering if there was a way in Specman to start a sequence from within another sequence with a differentsequence driver type? I tried passing in the other driver as a pointer but I get the error message below.

 -----------------------------------------------------------------------------------------------

   *** Error: top_mempage_pin_seq is of type: TOP_MEMPAGE_PIN_SEQ'kind seq_s

                sequence: CFG_MEMPAGE_SWAP_SEQ'kind vr_ad_sequence can only do sequences of type: vr_ad_sequence or items of type: vr_ad_operation

                                at line 95 in /proj/digi120/devel/hailesen/dcs_tb/tbc/ip/e/seq_lib/cfg_mempage_swap_seq.e

            do top_mempage_pin_seq keeping {
-----------------------------------------------------------------------------------------------

 Thanks,

SH

 
  • Cancel
  • danielpoe2
    danielpoe2 over 14 years ago

     Sure,

     

    what you have to do is to constrain the "driver" of the sequence. For virtual sequence drivers you'll always have to do this:

    extend MY vr_ad_sequence {
       !mpage_seq : TOP_MEMPAGE_PIN_SEQ seq_s;
       body()@driver.clock is only {
          do mpage_seq keeping {
             .driver = <specman-path-to-driver>;
             -- other constraints ...
          };
       };
    };

    NOTE: that I wouldn't consider it good style to call a foreign sequence in a vr_ad_sequence. You rather create your virtual sequence driver and from there you execute the vr_ad_seqeunce and the seq_s sequence. See "5.5 Using Virtual Sequences" in "Creating e testbenches" guide (or start "cdnshelp" and search for "virtual sequences").

     Cheers,

    Dainel

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hailesen
    hailesen over 14 years ago

    Thanks Daniel. I actually was using starting both sequences from a virtual sequence and I just wanted to know if it was possible to do it within a non-virtual sequence driver. There are a few cases where it would be useful :)

     

    Regards,

    SH

    • 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