Easiest way to get netlist of particular connector

I have a schematic design that contains a connector for an FPGA module to plug into with quite a lot of IO. I’d like for a way to generate a list of each pin number and the net label that is attached to them. Something like a long list of this type of thing: “J5.3=LED”.

Are there any built in tools or plug-ins that could get me close? I took a look at exporting as a KiCad Netlist, and I think I could make a text parser to do get me what I need, but I wanted to check if there was an easier approach.

I let this sit for a few hours, maybe someone else knows better, but best I know there is no straightforward solution to this. There is: PCB Editor / Inspect / Net Inspector and this does have a filter for net names, but no filter for nodes in the netlist to a specific footprint. Your wish seems quite plausible, and it may be worth a feature request on gitlab. (I have not checked whether this already exists).

A short test with exporting a netlist and then searching for the string (node (ref “J3”) finds all three pins of that connector J3 in the netlist, without false positives. KiCad uses S-expression format for (nearly?) all it’s output including the netlist, and most scripting languages will have a library to parse that format.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.