Mail Archives: geda-user/2021/07/01/21:44:47
Roland Lutz:
> On Thu, 1 Jul 2021, karl AT aspodata DOT se [via geda-user AT delorie DOT com] wrote:
...
> > error: refdes conflict across hierarchy: refdes `_M1' is used by package
> > `M1' on page `_' and by package `M1' on page `_'
> > error: net name conflict across hierarchy: net name `_/GND' is used by
> > net `GND' on page `_/' and by net `GND' on page `_/'
>
> > they are supposed to be the same component, so no conflict was intended,
> > they were intended to be the sam thing, same with the net name.
>
> I don't think I understand what you are doing here. Do you have two
> components called `_' and two components component called `_/'? Or is it
> one component each with multiple source schematics?
"_" is about refdes's, "_/" is about nets.
Instead of putting everything in one .sch, I have one top.sch:
$ cat top.sch
v 20210626 2
C 3200 12000 1 0 0 source.sym
{
T 3400 13400 5 12 1 1 0 0 1
source=smarc_iMX8MM_power_connection.sch
T 3300 12100 5 10 1 0 0 0 1
refdes=_
}
C 3200 9200 1 0 0 source.sym
{
T 3400 10600 5 12 1 1 0 0 1
source=smarc_iMX8MM_power.sch
T 3300 9300 5 10 1 0 0 0 1
refdes=_
}
which is about different parts in the design, they are available here:
http://aspodata.se/git/openhw/share/gschem/_design_parts/
Now, some things (the component M1, and the net GND) in the first
subsheet has it in common with the second. To that end booth C's
have the same refdes. Since I cannot have an empty refdes,
I'm using "_" which is somewhat invisible.
Since refdes-attribute-separator="" and the refdes in each subsheet is
"M1", the final refdes becomes "_M1". For nets, the separator is the
default "/", the final net becomes "_/GND".
So, this is just me trying to be smart and not have everything in one
giant sch-file.
Regards,
/Karl Hammar
- Raw text -