• 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. Convert schematic to Verilog file

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 125
  • Views 31358
  • 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

Convert schematic to Verilog file

Myskill
Myskill over 12 years ago

 Hi All,

            could you please help how to get verilog file from schematic.

 

Regards,

Rambabu

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Either Tools->NC Verilog (from the CIW), or  Launch->Simulation->NC Verilog (from a schematic).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Myskill
    Myskill over 12 years ago

    Any shell command for generating verilog code from schematic hierarchically from top cell to bottom

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

     Set it up in the UI as described above, and then you can do:

    si -command netlist -batch pathToRunDirectory

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Myskill
    Myskill over 12 years ago

     I am following following procedure for creation oa2verilog  

    Open a shell from the library manager using File->Open shell window. This shell will be initialized with the necessary environment variables for the next step.

    In the new shell use:

    oa2verilog -lib <name of library> -cell <name of cell> -view schematic -verilog <name of cell>.v -recursive

    Substitute the lib name and cell name for the specific cell to netlist.

    This is limited to a cell without hierarchy

     I want generate it for hierachy Could you please help on this.

    Regards,

    Rambabu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    I already explained how to do this with the Verilog netlister. oa2verilog is much lower level and does not support all of the complex control that the OSS Verilog netlister does. I would not recommend  you trying to use oa2verilog (it doesn't have the concept of switch and stop list, for example, nor does it support config views).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    And you can tell this by the very small amount of coverage of oa2verilog in the documentation (search in cdnshelp and you'll see what I mean).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • nannasin28
    nannasin28 over 12 years ago
    This shell will be initialized with the necessary environment variables for the next step.
    BS170
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Myskill
    Myskill over 12 years ago

    Hi all,
    This might be the most comon problem/task for ASIC engineers. I need a script that will generate a top level module for 'n' verilog modules (in 'n' files)

    Say I have A.v & B.v. The script should generate a ABTop.v such that

    module ABTop(
    clk
    :
    :
    );

    input clk;
    input (etc etc)
    :
    :
    output (etc etc)
    :
    :

    A A_i (
    .clk (clk)
    :
    :
    :
    );

    B B_i (
    .clk (clk)
    :
    :
    :
    );

    endmodule

    if there is any shell command for automation, please suggest me.

    Regards,

    Rambabu

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    The Verilog netlister (using "si") can do this. This is covered in solution 1839821 . The quick executive summary is that you can put:

    vlogifCompatibilityMode = "4.0"

    in your .simrc (or .cdsinit if using Virtuoso). It will then create a single Verilog netlist (concatenated from the individual pieces that the verilog netlister normally produces).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Myskill
    Myskill over 12 years ago

     Thank you Aandrew for your help

    Regards,

    Rambabu

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
>

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