Code Monkey home page Code Monkey logo

netlist-viewer's Introduction

netlist-viewer

Netlist Viewer is a tool capable of loading SPICE netlists and convert them in a schematic (i.e. graphical) format. The graphical representations helps to understand the electrical/electronic circuit represented by the SPICE netlist, and save some tedious work.

Screenshots

1 2

Past versions of Netlist-viewer

Past versions, namely version 0.1 and version 0.2, were hosted in Sourceforge, see https://sourceforge.net/projects/netlistviewer/. All new developments have been moved into this Github project.

How to build from sources

NetListViewer is a pretty simple application with 2 main dependencies: wxWidgets and Boost. Some simple notes on how to build NetListViewer for Windows and for Linux are available.

Status

The software is usable even if it could be improved very much. Since the creation of the project (2010) I have not been using this tool anymore (I'm not doing any HW design anymore) so this software will not be further improved unless someone else wants to step up to improve it. Pull requests are of course welcome anyhow.

netlist-viewer's People

Contributors

f18m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

netlist-viewer's Issues

Proper unit tests are needed

Inside app.cpp there is some raw unit testing code enbaled by "SELF_TESTS == 1". This should be instead some unig test written using GTest framework possibly.

Rotating elements in the schematic should be more intuitive

As reported by several users

  • " It took me a while to figure out (by staring at source code) that you rotate parts by using the right mouse button while dragging with the left. "
  • " it took me while to understand how to rotate circuit elements. This is done by left-dragging a component and at the same right clicking."

Netlistviewer Error (Kicad)

I am trying to view a Netlist prepared for Kicad and get the following error:

The nelist file 'wd/board.net' didn't contain any subcircuit

After looking at the code and the SPICE format these are quite different [1]. Is there any possibility of extending the capabilities of this tool to include support for Kicad netlists?

The use-case is developing circuits using skidl [2] with no way to visualise the circuits (the export function is quite broken).

Attached should be the example circuit (used for a different issue).

board.zip

[1] https://eee.guc.edu.eg/Courses/Electronics/ELCT503%20Semiconductors/Lab/spicehowto.pdf

[2] https://github.com/devbisme/skidl

Problem dealing with extra parameters on subcircuits

In my netlist I have the following subcircuit:

.SUBCKT memristor TE BE XSV
.params Ron=893 Roff=1833 D=0.2212 uv=0.0108 p=4.64 xo={xo}

* Biolek Window Function
.func f(V1,I1)={1-pow((V1-stp(-I1)),(2*p))}

* Memristor I-V Relationship
.func IVRel(V1,V2) = V1/(Ron*V2 + Roff*(1-V2))

* Circuit to determine state variable
Gx 0 XSV value={I(Gmem)*Ron*uv*f(V(XSV,0),I(Gmem))/pow(D,2)}
Cx XSV 0 {1}
.ic V(XSV) = xo

* Current source representing memristor
Gmem TE BE value={IVRel(V(TE,BE),V(XSV,0))}

.ENDS memristor

I get an error "Unknown component type for '.params' "

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.