• 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. Creating vector variable in ADE XL to configure Verilog...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 4734
  • 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

Creating vector variable in ADE XL to configure Verilog-A module

RaffaeleUdS
RaffaeleUdS over 1 year ago

Hello,

I would like to send a vector through the ADE XL variable sets to a Verilog-A module.

I have a parameter set in the Verilog-A as:

electrical     [3:0]    B_RCH;

parameter integer RCH_b[3:0] = {0,0,0,1};

And each bit configures an output bus of the module like so:

generate j (3,0) begin
V(B_RCH[j]) <+ (RCH_b[j])*V(VDD);
end

Now, I can set the parameters successfully in ADE L "Design Variables" setting:

RCH_b |  [1,0,1,0]

Nevertheless, if I try the same in ADE XL this doesn't work.

How can I achieve this?

Also, is it possible to run different simulations varying the vector with a CSV file?

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    See How to convert design variables which are spectre vectors to work with Explorer/Assembler

    I think you might just need to make the variable value strcat("[1 0 1 0]") in ADE XL instead.

    Not really a way to vary the vector with a CSV file (since you can't do that in general with ADE XL), but you could define a CSV file for a set of corners each with a different value of the vector (with the strcat() around it) and then import that into the corners tool. Note I have not tested this so it might not work - but I think it probably should if done correctly.

    BTW, you should be using Assembler rather than ADE XL since ADE XL is obsolete.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    See How to convert design variables which are spectre vectors to work with Explorer/Assembler

    I think you might just need to make the variable value strcat("[1 0 1 0]") in ADE XL instead.

    Not really a way to vary the vector with a CSV file (since you can't do that in general with ADE XL), but you could define a CSV file for a set of corners each with a different value of the vector (with the strcat() around it) and then import that into the corners tool. Note I have not tested this so it might not work - but I think it probably should if done correctly.

    BTW, you should be using Assembler rather than ADE XL since ADE XL is obsolete.

    Andrew

    • Cancel
    • Vote Up +1 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