Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Generating a Verilog Netlist

Status
Not open for further replies.

dhaval4987

Full Member level 3
Full Member level 3
Joined
Oct 17, 2009
Messages
161
Helped
12
Reputation
24
Reaction score
12
Trophy points
1,298
Location
AZ
Activity points
2,324
How do I convert the schematic into a verilog netlist that could be used in another tool?
 

iwpia50s

Full Member level 4
Full Member level 4
Joined
Oct 31, 2007
Messages
222
Helped
27
Reputation
54
Reaction score
10
Trophy points
1,298
Activity points
2,305
This question is a little too generic. What is your source? How was the schematic generated? Does the tool you used to generate the schematic have the option to export Verilog?
 

dhaval4987

Full Member level 3
Full Member level 3
Joined
Oct 17, 2009
Messages
161
Helped
12
Reputation
24
Reaction score
12
Trophy points
1,298
Location
AZ
Activity points
2,324
This question is a little too generic. What is your source? How was the schematic generated? Does the tool you used to generate the schematic have the option to export Verilog?

Thanks iwpia50s;

Say I will be using Cadence Schematic Editor for making a circuit.

How do I get a verilog netlist in that case?
 

iwpia50s

Full Member level 4
Full Member level 4
Joined
Oct 31, 2007
Messages
222
Helped
27
Reputation
54
Reaction score
10
Trophy points
1,298
Activity points
2,305
Is this a SPICE circuit or, are you connecting gate in a schematic capture tool? I believe the tool should be able to export Verilog if you are connecting gates in the schematic capture tool.
 

dhaval4987

Full Member level 3
Full Member level 3
Joined
Oct 17, 2009
Messages
161
Helped
12
Reputation
24
Reaction score
12
Trophy points
1,298
Location
AZ
Activity points
2,324
Is this a SPICE circuit or, are you connecting gate in a schematic capture tool? I believe the tool should be able to export Verilog if you are connecting gates in the schematic capture tool.

Well, It is just a schematic editor, but I am using Spectre mode for analysis. It generates the netlist but it is not in *.v format.
 

iwpia50s

Full Member level 4
Full Member level 4
Joined
Oct 31, 2007
Messages
222
Helped
27
Reputation
54
Reaction score
10
Trophy points
1,298
Activity points
2,305
So I'm still not sure how you got the design into the schematic tool. Did you instantiate gates or transistors? If you instantiated gates then the tool should export gates in verilog. If you instantiated transistors then I'm not sure what you should do.
 

dhaval4987

Full Member level 3
Full Member level 3
Joined
Oct 17, 2009
Messages
161
Helped
12
Reputation
24
Reaction score
12
Trophy points
1,298
Location
AZ
Activity points
2,324
So I'm still not sure how you got the design into the schematic tool. Did you instantiate gates or transistors? If you instantiated gates then the tool should export gates in verilog. If you instantiated transistors then I'm not sure what you should do.

I am using readily available gates. So yes, I am instantiating the gates. But I dont see any option anywhere that allows me to export verilog.
 

Chethan

Full Member level 3
Full Member level 3
Joined
Jul 11, 2005
Messages
171
Helped
20
Reputation
40
Reaction score
12
Trophy points
1,298
Location
Bangalore
Activity points
2,837
Hi,
You cannot get a verilog file from a schematic. No tools are soo intelligent. You can get a schematic netlist from a schmatic. That is a transistor/gate level description of your circuit.
regards
Chethan
 

dhaval4987

Full Member level 3
Full Member level 3
Joined
Oct 17, 2009
Messages
161
Helped
12
Reputation
24
Reaction score
12
Trophy points
1,298
Location
AZ
Activity points
2,324
Okay,

How about the other way around? Say from verilog to schematic?
 

Chethan

Full Member level 3
Full Member level 3
Joined
Jul 11, 2005
Messages
171
Helped
20
Reputation
40
Reaction score
12
Trophy points
1,298
Location
Bangalore
Activity points
2,837
Hi,
If your verilog code is a small one, then you can handwrite the schematic by reading the verilog file. But again there are no tools which can convert your verilog code to schematic.
 

dhaval4987

Full Member level 3
Full Member level 3
Joined
Oct 17, 2009
Messages
161
Helped
12
Reputation
24
Reaction score
12
Trophy points
1,298
Location
AZ
Activity points
2,324
Hmm... The thing is that I want to do generic timing analysis for circuits. It should be generic and I want to compare the results which I obtained via hand calculations and the results obtained by simulating verilog.

I have obtained some verilog descriptions of some ISCAS benchmark circuits. Just dont know how to verify whether I am going on a correct path or not!
 

Chethan

Full Member level 3
Full Member level 3
Joined
Jul 11, 2005
Messages
171
Helped
20
Reputation
40
Reaction score
12
Trophy points
1,298
Location
Bangalore
Activity points
2,837
If you want to do a generic timing analysis using some bench mark circuits then u can build a verilog test bench and simulate them. create a test bench using any standard verilog tools like ncverilog or verilogxl and simulate ur design.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top