• 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. Problem with user define net types resolution functions

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 66
  • Views 18508
  • 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

Problem with user define net types resolution functions

jach78
jach78 over 9 years ago

Hi all,
I have defined a net in this way:
typedef struct{
real V;
real I;
} EEstruct;

function automatic EEstruct res_EE(input EEstruct driver[]);
foreach(driver[i]) begin
.....

to debug my resolution function I need to know which driver is driving the net. How can I know this information?
what kind of data structure driver is? Is there a name field in the driver element or somthing like that?

Another questione,
In the testbench I assign the net in the following way:

assign mynet = '{1.0,2.0}; // is this correct?
assign mynet2 = '{`wrealZState, `wrealZState};

Are this assignment correct?

Thanks,
Jack

  • Cancel
Parents
  • jach78
    jach78 over 9 years ago

    Hi Tim,

    when I use the $resolved_wudn_drivers, as in your example, I receive the following error:

    ncsim: *E,OBJACC: Object must have read and connectivity access: tb_instance_name.VX

    Do you have any advice on the root cause?

    Thank you very much and best regards,

    Jack.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jach78
    jach78 over 9 years ago

    Hi Tim,

    when I use the $resolved_wudn_drivers, as in your example, I receive the following error:

    ncsim: *E,OBJACC: Object must have read and connectivity access: tb_instance_name.VX

    Do you have any advice on the root cause?

    Thank you very much and best regards,

    Jack.

    • 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