• 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. Custom IC Design
  3. automatic insertion of E2R and R2E connect modules

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 124
  • Views 15177
  • 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

automatic insertion of E2R and R2E connect modules

freitas
freitas over 13 years ago

Hello,

I'm trying to run a very trivial example to see how the automatic insertion of E2R and R2E connect modules works. Please find the code below. Unfortunately, I get the following elaboration error:Elaborating the design hierarchy: Top level design units: top

Discipline resolution Pass...

ncelab: *E,CUVDRF: Could not determine discipline for top.xr.

Would I be missing some elaboration option?

thanks,

 

`include "constants.vams"

`include "disciplines.vams"

module top;

wreal r, xr, wr;

assign xr = 3.14;

ams_electrical_src e_s1(r);

// causes insertion of Electrical2Real

// connection module

  ams_electrical_dst e_d1(xr);

// causes insertion of

// Real2Electrical connection module

  ams_wreal_src w_s1(wr);

// Coercion of SystemVerilog real variable

// to wreal

endmodule

 

module ams_electrical_dst(e);

   input e;

   electrical e;

  initial #10 $display("%M: %f", V(e));

endmodule

 

module ams_electrical_src(e);

  output e; electrical e;

   analog V(e) <+ 5.0;

endmodule

 

module ams_wreal_src(w);

     output w; wreal w;

     assign w = 2.5;

endmodule

  • Cancel
Parents
  • freitas
    freitas over 13 years ago

    It works on my end!

    I didn't know the "ieinfo" option either! Cool!

    Thanks Andrew!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • freitas
    freitas over 13 years ago

    It works on my end!

    I didn't know the "ieinfo" option either! Cool!

    Thanks Andrew!

    • 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