• 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. How to override the default values using Verilog netlist...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 4394
  • 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

How to override the default values using Verilog netlist.

Omar Ghazal
Omar Ghazal over 1 year ago

I am trying to import a netlist to generate an array of verilog-a module block (for test doublerr. va).  I have already created a cell and symbol for this module.  when importing the netlist the array is made but with the default parameter values. how to override the default values?

doublerr. va

`include "constants.vams"
`include "disciplines.vams"


module vdoublerr (in, out);
input in;
output out;
electrical in, out;
parameter real parm1 = 0.2;
parameter real parm2 = 0.1;
parameter real parm3 = 5.0;

analog begin
V(out) <+ (parm1 + parm2 + parm3) * V(in);
end

endmodule

Netlist

`timescale 1ns / 1ns
module netlisting_500_schematic (clause, data);

inout [1:2] clause;
inout [1:4] data;


specify
specparam CDS_LIBNAME = "netlisting";
specparam CDS_CELLNAME = "netlisting_500_schematic";
specparam CDS_VIEWNAME = "schematic";
endspecify

vdoublerr I3 (.out(clause[2]), .in(data[4]));
vdoublerr I2 (.out(clause[2]), .in(data[3]));
vdoublerr I1 (.out(clause[1]), .in(data[2]));
vdoublerr I0 (.out(clause[1]), .in(data[1]));
defparam
I0.parm1 = 100.0;

endmodule

  • Cancel
Parents
  • Omar Ghazal
    Omar Ghazal over 1 year ago

    Basically, I want to create an ( m × n )  array of a module in Verilog-A with parameters (para1, para2, para3). I intend to assign different values to these parameters for each device in the array. If there are alternative methods to achieve this, please share them. I also plan to use a script to automate the creation of this Netlist of the array. Thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Omar Ghazal
    Omar Ghazal over 1 year ago

    Basically, I want to create an ( m × n )  array of a module in Verilog-A with parameters (para1, para2, para3). I intend to assign different values to these parameters for each device in the array. If there are alternative methods to achieve this, please share them. I also plan to use a script to automate the creation of this Netlist of the array. Thank you.

    • 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