[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 804972] [NEW] gnetlist accepts only the first of identical input/output symbols



Public bug reported:

This one just got me by surprise. If there is more than one copy of an
input/output symbol in a schematic, current gnetlist takes the first and
ignores all others. To reproduce:

1) untar the attached mini project in a directory

2) cd demo-hierarchy
The project contains a head and a child schematic. There are two input symbols called "in1" in the child schematic. One of them connects to resistor R1, the other to LED1. This input symbol is fed with net GND from the head schematics. The other side of LED and resistor are both connected to a single ouput symbol out11.

3) do 
gsch2pcb  hierarchy-demo-head.g2p 

The netlist will look like this:
/--------------
SUB1/noname2	SUB1/LED1-1 
Vcc	SUB1/LED1-2 SUB1/R1-2 
GND	SUB1/R1-1
\---------------

Note: GND is exclusively connected to the resistor. The connection to
the LED is missing. The LED is connected to a dangling noname net,
instead.

Expected action: Treat all incidences of input/output symbols with the
same uref as connected. (preferred)

Alternative if the above is for some reason not feasable: Issue a big,
fat warning that some connections will be missing.

Work-around: Connect the input symbol to a local named net and use this
net multiple times.

---<)kaimartin(>---

** Affects: geda
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/804972

Title:
  gnetlist accepts only the first of identical input/output symbols

Status in GPL Electronic Design Automation tools:
  New

Bug description:
  This one just got me by surprise. If there is more than one copy of an
  input/output symbol in a schematic, current gnetlist takes the first
  and ignores all others. To reproduce:

  1) untar the attached mini project in a directory

  2) cd demo-hierarchy
  The project contains a head and a child schematic. There are two input symbols called "in1" in the child schematic. One of them connects to resistor R1, the other to LED1. This input symbol is fed with net GND from the head schematics. The other side of LED and resistor are both connected to a single ouput symbol out11.

  3) do 
  gsch2pcb  hierarchy-demo-head.g2p 

  The netlist will look like this:
  /--------------
  SUB1/noname2	SUB1/LED1-1 
  Vcc	SUB1/LED1-2 SUB1/R1-2 
  GND	SUB1/R1-1
  \---------------

  Note: GND is exclusively connected to the resistor. The connection to
  the LED is missing. The LED is connected to a dangling noname net,
  instead.

  Expected action: Treat all incidences of input/output symbols with the
  same uref as connected. (preferred)

  Alternative if the above is for some reason not feasable: Issue a big,
  fat warning that some connections will be missing.

  Work-around: Connect the input symbol to a local named net and use
  this net multiple times.

  ---<)kaimartin(>---

To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/804972/+subscriptions


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug