Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The only changes are to
src/skidl/scripts/netlist_to_skidl_main.py
and tosrc/skidl/netlist_to_skidl.py
. Other files include an example kicad project, netlists from kicad and skidl, and the output folder containing generated skidl python filesThis logic changes the Kicad netlist to SKiDL logic so that the SKiDL project is generated in hierarchical fashion mirroring the KiCAD schematic. Take a look at
example_kicad_project_SKIDL
directory for the output fromexample_kicad_project.net
, which is the Kicad export from the project inexample_kicad_project/
.main.net
is the SKiDL exported netlist that succesfully imports to Kicad and has the same connections as the based project.Here is how you can try this logic:
The core logic works as expected connection wise and could be used with the LLM logic as is. But there's still a bit of work to do to make a completely transparent Kicad > Skidl > Kicad loop. I'll try merging in this fix tomorrow to fix the component reference issue. I also need to tweak the output net names I believe.