Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Missing pin associates to the net name #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Endrew92
Copy link

@Endrew92 Endrew92 commented Sep 8, 2019

Hello, I tried to use your code but it doesn't work totally on my test files.
When it prints the net name it forgets to print the pin associates

e.g.
(libraries
(library (logical Device)
(uri "C:\Program Files\KiCad\share\kicad\library/Device.lib")))
(nets
(net (code 1) (name "Net-(D1-Pad2)")
)
(net (code 2) (name +5V)
)

Instead of printing:

(net (code 1) (name "Net-(D1-Pad2)")
  (node (ref R1) (pin 2))
  (node (ref D1) (pin 2)))
(net (code 2) (name +5V)
  (node (ref R1) (pin 1)))

Can you help me to fix the problem?
Thanks

BB_TEST_PDU-AESA.zip

@fjullien
Copy link
Owner

fjullien commented Sep 9, 2019

Hi,

Are your patches fix the problem ?
If not, I could take a look. It's been a very long time I didn't work on this !

Franck.

@Endrew92
Copy link
Author

Endrew92 commented Sep 9, 2019 via email

@fjullien
Copy link
Owner

fjullien commented Sep 9, 2019

I don't think I changed any setting and I didn't modified anything by hand.

However, last time I used orcad to generate a RNIF netlist to be converted was ten years ago.
We are now at Orcad capture 17.2 and thing may have changed.
I'll give it a try tomorow.

@Endrew92
Copy link
Author

Endrew92 commented Sep 9, 2019

In that case I agree with you, it could have been changed with the new version of Orcad.

Thank you in advance

@fjullien
Copy link
Owner

fjullien commented Sep 10, 2019

I generated a RNIF netlist and it has spaces before refdes:

.ADD_TER  R715 1 "ENABLE_PFC#"
.TER      R716 2 

.ADD_TER  C406 1 "FB"
.TER      U401 4 
          R406 2 
          R408 1 

@Endrew92
Copy link
Author

Endrew92 commented Sep 10, 2019 via email

@fjullien
Copy link
Owner

I'll do it when I have some time.
What about this pull request ? Is this the patch you are using ?

@Endrew92
Copy link
Author

Endrew92 commented Sep 23, 2019

Sorry for my late response but I was abroad.
Anyway yes, I used a text editor to search for example the text ".TER____SW3 1" in the whole file and sostitute it with ".TER_SW3 1" to resolve the issue (the simbol "_" that I used for the example it refers to the space " "); in this way i fixed the new netlist but it required 3 more steps

@fjullien
Copy link
Owner

Ok, I understand. However, your pull request breaks compilation under Linux.
Please update it or be patient as I'll work on it when I have time.

@Endrew92
Copy link
Author

Ok thanks. I'll be waiting dont worry, right now i dont need it immediately

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

Successfully merging this pull request may close these issues.

3 participants