All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > General Electronics Chat

Notices

General Electronics Chat Discussion forum for general chat about anything electronics related, including asking questions about material in the All About Circuits E-book, Worksheets, and Videos.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 02-13-2008, 06:05 AM
annette annette is offline
New Member
 
Join Date: Feb 2008
Posts: 2
Default Convert Spice Netlist to Schematic view!

Hi Everyone,

I am a student of State Univercity of Moscow. I am writing Diploma work .
I find these forum of Cadence company while searching the name of my Diploma in Google.
I am not a member of Cadence Company .
I have to create Converter , which will convert ONLY digital standard cells' netlist view into schematic file.
The input file is schematic netlist --- > for example some netlist of NAND schema,with 3 inputs:

I II III IV V
mp1 sp1 A1 VDD VDD
mp2 sp1 A2 VDD VDD
mp3 Z sp1 VDD VDD
mn2 sn2 A2 VSS VSS
mn1 sp1 A1 sn2 VSS
mn3 Z sp1 VSS VSS

I : the names of NMOS and PMOS transistors, II: Drain connection , III: Gate connection, IV:Source , V: Bulk

From such discription of schematic the program which I am going to create will generate transistor level schematic view (hierarchic or flat (my choose)).As the work will be done only for standard digital circuits , I think the view will be flat, as there is no hierarchi for example in drawing Multiplexer.

I consider , the Cadence Tools are not open source , so I won't be able to get access to them .
I also try to get access to Spice Vision Pro program, it seems it does such converting.

Could you help , give any advise , how to start work of writing such program!

Thanks in advance,
Ani
Reply With Quote
  #2  
Old 02-13-2008, 06:52 AM
scubasteve_911 scubasteve_911 is offline
Senior Member
 
Join Date: Dec 2007
Posts: 1,202
Default

No need to double post, maybe 'bump' the original thread.

I think that you may have better luck with a forum that specializes in the particular language you wish to use to make your program. I say this because your specific task does not require much electrical knowledge, it involves high level programming. I cannot imagine an automated way of laying down the devices and having them connect intelligently.

Best of luck!,

Steve
Reply With Quote
  #3  
Old 02-14-2008, 12:14 PM
John Luciani's Avatar
John Luciani John Luciani is offline
Senior Member
 
Join Date: Apr 2007
Location: Massachusetts
Posts: 473
Default

A netlist contains only connection data. A schematic contains data for symbols,
symbol placement and connection. It could be difficult to get a human readable
schematic from just the connection data. You may be able to generate a schematic
that you could manual correct.

Check out the gEDA project for open source schematic software. I have created
a variety of scripts that automate EDA tasks. Checkout http://www.luciani.org/geda/geda-index.html

(* jcl *)
Reply With Quote
  #4  
Old 02-14-2008, 03:57 PM
SgtWookie's Avatar
SgtWookie SgtWookie is offline
Senior Member
 
Join Date: Jul 2007
Location: Orlando, FL USA
Posts: 13,802
Default

Cadsoft's Eagle Layout Editor v4.16 has a ULP (User Language Program) provision for making all of the connections in a Netlist, but it requires that you first place the library components into the schematic capture program from a Parts List with reference designators matching those in the Netlist.

Sample Part list from Cadsoft Eagle:
Code:
Exported from TripleFlashLEDBeaconV3.sch at  2/14/2008 10:24:49a

EAGLE Version 4.16r2 Copyright (c) 1988-2006 CadSoft

Part     Value          Device            Package  Library        Sheet

C1       2.2uF          CPOL-USE15-5AXIAL E15-5    rcl            1
IC1      4017N          4017N             DIL16    40xx           1
IC2      4075N          4075N             DIL14    40xx           1
IC3      4093N          4093N             DIL14    40xx           1
J1                      MTA06-100         10X06MTA con-amp        1
Q1       IRF510         IRF510            TO220    transistor-fet 1
Q2       IRF510         IRF510            TO220    transistor-fet 1
R1       10K            R-US_0207/10      0207/10  rcl            1
R2       100K           PC16S             PC16S    piher          1
R3       10K            R-US_0207/10      0207/10  rcl            1
R4       10K            R-US_0207/10      0207/10  rcl            1
Sample Netlist:
Code:
Netlist

Exported from TripleFlashLEDBeaconV3.sch at  2/14/2008 10:24:26a

EAGLE Version 4.16r2 Copyright (c) 1988-2006 CadSoft

Net      Part     Pad      Pin        Sheet

N$1      C1       +        +          1
         IC3      1        I0         1
         IC3      2        I1         1
         R2       1A       1A         1

N$3      R1       1        1          1
         R2       1S       1S         1

N$4      IC1      14       CLK        1
         IC3      3        O          1
         R1       2        2          1

N$5      IC1      3        Q0         1
         IC2      1        I0         1

N$6      IC1      4        Q2         1
         IC2      2        I1         1

N$7      IC1      10       Q4         1
         IC2      8        I2         1

N$8      IC1      11       Q9         1
         IC2      5        I2         1

N$9      IC1      6        Q7         1
         IC2      4        I1         1

N$10     IC1      1        Q5         1
         IC2      3        I0         1

N$11     IC2      9        O          1
         R3       1        1          1

N$12     IC2      6        O          1
         R4       1        1          1

N$13     Q1       1        G          1
         R3       2        2          1

N$14     Q2       1        G          1
         R4       2        2          1

N$15     J1       6        6          1
         Q2       2        D          1

N$16     J1       5        5          1
         Q1       2        D          1

VDD      IC1      16       VDD        * none *
         IC2      14       VDD        * none *
         IC3      14       VDD        * none *
         J1       1        1          1

VSS      C1       -        -          1
         IC1      13       ENA        1
         IC1      15       RES        1
         IC1      8        VSS        * none *
         IC2      11       I0         1
         IC2      12       I1         1
         IC2      13       I2         1
         IC2      7        VSS        * none *
         IC3      12       I0         1
         IC3      13       I1         1
         IC3      5        I0         1
         IC3      6        I1         1
         IC3      7        VSS        * none *
         IC3      8        I0         1
         IC3      9        I1         1
         J1       3        3          1
         Q1       3        S          1
         Q2       3        S          1
The original schematic is attached.

You must have a way of associating your reference designators with components in your libraries.
The usual way to do this would be using a parts list, or Bill of Materials List.

Cadsoft's website:
http://www.cadsoft.de/
You can download a demonstration version that is functional, but limited to 2 layers, 1 schematic sheet, and small board size.
The ULP for converting a netlist to a schematic is:
cmd-net-list2sch.ulp
Attached Images
File Type: png TripleFlashLEDBeaconV3.png (28.6 KB, 33 views)
__________________
General info:
If you have a question, please start a thread/topic. I do not provide gratis assistance via PM nor E-mail, as that would violate the intent of this Board, which is sharing knowledge ... and deprives you of other knowledgeable input.

Last edited by SgtWookie; 02-14-2008 at 04:15 PM. Reason: added link to Cadsoft; ULP name
Reply With Quote
  #5  
Old 03-26-2008, 02:11 AM
nicky nicky is offline
New Member
 
Join Date: Mar 2008
Posts: 3
Default spicevision from www.concept.de

Annette,
there is a tool called spicevision from www.concept.de that can create schematics from spice netlists. They also have a verilog based netlist reader.
I am evaluating their SGVisionPro at work. The tool can read spice and verilog at the same time and creates a really great hierarchical schematic that is easy to navigate. Have a look. It might do what you need.
It's a commercial tool, but at least it lets you know that what you want is possible.

Nicky
Reply With Quote
Reply   Post New Thread

Bookmarks

Tags
, , , ,

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converter - From Spice Netlist to Schematic view annette General Electronics Chat 0 02-12-2008 02:19 PM
How to link a model to an OrCAD PSpice schematic? kender Electronics Resources 5 04-28-2007 08:06 AM
conversion of netlist to schematic samanta General Electronics Chat 4 09-14-2006 05:13 AM


All times are GMT. The time now is 10:24 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License. Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.