• 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. Error on CLSMIP

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 65
  • Views 14622
  • 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

Error on CLSMIP

DesignVerif
DesignVerif over 11 years ago

Hi

I am new to UVM and I am getting following error.

  Can anybody please help me out

  my_sequencer#(my_trans) sequencer

  ncvlog: *E,CLSMIP (./sv/my_agent.sv,25|34): Too many class instance parameter assignments. 

Thanks in advance 

  • Cancel
  • muffi
    muffi over 11 years ago

    Assuming you are trying to define the sequencer handle, it should be:

        my_sequencer sequencer;

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • DesignVerif
    DesignVerif over 11 years ago
    Thanks it did work But for understanding , does it tell that my_trans is transaction being used in my_sequencer. Also in some example I found out that syntax is given as below. my_sequencer#(my_trans) sequencer Can you please do let me whats the difference between above declaration and my_sequencer sequencer declaration
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • muffi
    muffi over 11 years ago

     When you define your component like this:

        class mysequencer #(type X=int, Y=real) extends uvm_sequencer #(myobj);
        ...

    It means that your object or component is parameterized. In this case you will create a handle like this:

         mysequencer #(int,string) foo = new(); 

    You provide a type parameter for X and Y. Not myobj.

    When you extend your component like this:

        class mycomp extends uvm_sequencer #(myobj)

    It gives you a built in handle called "req" which you can use for referring to your transaction object. #(myobj) is the type parameterization for the transaction.

    I hope this is clear.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • DesignVerif
    DesignVerif over 11 years ago

    Thanks ,

    Yeah its clear. 

    • 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