• 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. BFM written in class has to interface with phy signals

Stats

  • Locked Locked
  • Replies 16
  • Subscribers 65
  • Views 22725
  • 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

BFM written in class has to interface with phy signals

archive
archive over 18 years ago

Hi,

I'm new to systemverilog ..and using NCVLOG...and i'm trying interface my BFM modelled using classes with the interface (phy signals)...cadence is not supporting keyword virtual to do this...can anyone help me on how to do this....i want to keep my classes in a separate file...and the top module in a separate file....also have trouble calling the top module from program file....please help ASAP 

Cheers


Originally posted in cdnusers.org by chaitu2k
  • Cancel
Parents
  • archive
    archive over 18 years ago

    >> what's "I cannot see the class hierarchy from TCL" mean? Will the future IUS Tcl supports
    >> force signals in class instance directly? (You see, a lot of old verification methodology
    >> change the scenario through Tcl force)

    IMHO you better change that mindset and methodology - enabling TCL inherently means compromise on performance. With SV providing you enough constrained based generation, rely on it and wrap it using a good methodology say uRM (or VMM or anything - under the hood lot of things are common indeed). So why "force" class members to have a specifc value? In a VMM style thing I can do this easily in a test case as:

    program my_test_pgm;
      my_env env_0;

      initial begin : test
        env_0 = new();
        env_0.build();
        env_0.generator_0.class_to_be_changed = ;
        env_0.run();
      end : test
    endprogram : my_test_pgm

    Point is - you can achieve the same that you would get via force in a much more "standard" way than force. Another important thing - by relyhing on force you are having your TB tool specific - why do you want to do that?

    If your argument is "TCL" is run time - there are several WA for that, tools may give you better ways, for instance Specman has an excellent way of handling it and am sure NCSIM can extend that for SV in future.

    Finally - it is methodology than "can I do it", so adopt a good methodology with SV.

    My 2 cents!
    Ajeetha, CVC
    www.noveldv.com



    Originally posted in cdnusers.org by ajeetha
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • archive
    archive over 18 years ago

    >> what's "I cannot see the class hierarchy from TCL" mean? Will the future IUS Tcl supports
    >> force signals in class instance directly? (You see, a lot of old verification methodology
    >> change the scenario through Tcl force)

    IMHO you better change that mindset and methodology - enabling TCL inherently means compromise on performance. With SV providing you enough constrained based generation, rely on it and wrap it using a good methodology say uRM (or VMM or anything - under the hood lot of things are common indeed). So why "force" class members to have a specifc value? In a VMM style thing I can do this easily in a test case as:

    program my_test_pgm;
      my_env env_0;

      initial begin : test
        env_0 = new();
        env_0.build();
        env_0.generator_0.class_to_be_changed = ;
        env_0.run();
      end : test
    endprogram : my_test_pgm

    Point is - you can achieve the same that you would get via force in a much more "standard" way than force. Another important thing - by relyhing on force you are having your TB tool specific - why do you want to do that?

    If your argument is "TCL" is run time - there are several WA for that, tools may give you better ways, for instance Specman has an excellent way of handling it and am sure NCSIM can extend that for SV in future.

    Finally - it is methodology than "can I do it", so adopt a good methodology with SV.

    My 2 cents!
    Ajeetha, CVC
    www.noveldv.com



    Originally posted in cdnusers.org by ajeetha
    • 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