could you please help how to get verilog file from schematic.
Either Tools->NC Verilog (from the CIW), or Launch->Simulation->NC Verilog (from a schematic).
In reply to Andrew Beckett:
Any shell command for generating verilog code from schematic hierarchically from top cell to bottom
In reply to Myskill:
Set it up in the UI as described above, and then you can do:
si -command netlist -batch pathToRunDirectory
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
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.
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).
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).
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
Say I have A.v & B.v. The script should generate a ABTop.v such that
input (etc etc)
output (etc etc)
A A_i (
B B_i (
if there is any shell command for automation, please suggest me.
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).
Thank you Aandrew for your help