Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Netlistviewer Error (Kicad) #7

Open
daniel-theia opened this issue Jan 10, 2024 · 2 comments
Open

Netlistviewer Error (Kicad) #7

daniel-theia opened this issue Jan 10, 2024 · 2 comments

Comments

@daniel-theia
Copy link

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

@f18m
Copy link
Owner

f18m commented Jan 10, 2024

hi @daniel-theia ,
SKIDL looks very interesting (I was not aware about that). However I was unable to find a specification of the "netlist" produced by such tool, like:

(export (version D)
  (design
    (source "/home/dan/Downloads/kicad-error/board.py")
    (date "08/31/2023 09:07 AM")
    (tool "SKiDL (1.1.0)"))
  (components
    (comp (ref C1)
      (value C)
      (footprint C_0805_2012Metric)
      (fields
        (field (name F0) C)
        (field (name Reference) C)
        (field (name F1) C)
 ...

On the other hand, if you have the SKIDL specification of a circuit, there are already several ways to represent it in a human-friendly way apparently, see https://devbisme.github.io/skidl/#generating-a-schematic
Why would you need NetList Viewer tool in such a case?
Perhaps because you have only the netlist and not the SKIDL script?

@daniel-theia
Copy link
Author

SKIDL looks very interesting (I was not aware about that). However I was unable to find a specification of the "netlist" produced by such tool, like:

I believe it is documented here for version D: http://www.blunk-electronic.de/pdf/how_to_parse_the_kicad_netlist.pdf

My main concern would be that the footprints are not compatible?

On the other hand, if you have the SKIDL specification of a circuit, there are already several ways to represent it in a human-friendly way apparently, see https://devbisme.github.io/skidl/#generating-a-schematic
Why would you need NetList Viewer tool in such a case?
Perhaps because you have only the netlist and not the SKIDL script?

Unfortunately none of the viewers have worked for quite some time: https://github.com/devbisme/skidl/issues?q=is%3Aissue+is%3Aopen+schematic

There doesn't seem to be any push to fix it either as some of the dependencies are themselves unmaintained.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants