Improve hidden pin behavior?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Unknown
|
Bug Description
System : scientific linux 6.0, X86_64
KiCAD version : (1) Pre-build rpm from EPEL, 2011-01-28 BZR 2765 stable
Both version generate same wrong result.
While system use multi-voltage for digital component, annotate and netlist writer generate
wrong result, the ERC will failure and wrong netlist generated.
How to re-produce:
(1) open eeschema with a new design.
(2) make Show Hidden Pin ON to see hidden power pin
(3) place two 7404 gate from 74xx library,
(4) 7404 gate 1, vcc connect to Power A (+5V, for example)
(5) 7404 gate 2, vcc connect to Power B (+3.3V for example)
(6) make annotate, 7404 gate 1 & 7404 gate 2 gets same U1
(7) run ERC(with default option) got "Conflict problem bewteen pins (power)"
(8) Annotate error, because two 7404 gate from different power should generate U1 & U2 , not only U1
(9) So, the netlist will be wrong, beacause two different power source connected togeger, and only one power net shows on netlist file.
(10) if on step 6, we manual annotate 7404 gate 1 as U1, 7404 gate 2 as U2, run ERC and netlist also wrong
When use KiCAD to design signle-power system, everything works fine, but when we design a multi-voltage system, the eeschema generate wrong netlist.
Both error (annotate & netlist writer) should be same bug in eeschema, and should be modify with following:
When Annotate:
(1) if hidden power pin manual connected to other net then go step 2, else original eeschema work
(2) checked power pin connected net name, same net name will be same device else was different device
When Write Netlist:
(1) if hidden power pin manual connected to other net name (+5V, for examples), then net name change to the name connected not the original name.
Work Around:
Currently, we create ourself library for multi-voltage design, for examples : 74XX with power name VCC, 74XX_3V3 with power name 3V3 .
Changed in kicad: | |
importance: | Undecided → Wishlist |
Changed in kicad: | |
importance: | Wishlist → Unknown |
status: | Expired → Fix Released |
In digital systems multiple voltage levels are not uncommon. The stated work around is not a clean solution. Wouldn't it be better to not make VCC and GND power pins in the 74xx library (and only have those pins on one unit as a consequence)?
Then the user could decide on how to use those connections.