Mail Archives: geda-user/2012/08/05/04:16:38
Kai-Martin Knaak:
> Karl Hammar wrote:
>
> > Does anyone know how to have a few subsheets where there is a common
> > (think MCU) device, e.g. one sheet for the power supply, one for jtag,
> > etc., but they still refer to the same device.
>
> You'd have to make sure that all of the symbols that refer to the same
> physical component bear the same refdes. No problem, if you disable refdes
> mangling in gnetlistrc. But then you have to make sure manually that there
> are no unwanted duplicate refdeses.
That might be too much of a pain.
> Refdes mangling is supposed to make the refdeses unique by prefixing them
> with the refdes of the subsheet. There is no actual check for uniqueness.
> If you give all some subsheets the same refdes, the effective refdes of the
> symbols will also be the same. This way, gnetlist can be tricked into
> merging symbols of different sheets. Of course, you have to make sure, there
> are no unwanted refdes conflicts.
Ok, that seem the way to goo.
> I whipped up a quick example to test this idea -- see attachment. All
> symbols should be embedded.
Thanks, yes I can see all symbols.
> Note, I disabled net attribute mangling to make
> power symbols work across the hierarchy without port symbols.
I see. In "opamp" you connect things via pins and subsheet port-symbols,
in "name" via non-mangled net names.
If you have non-mangled net names you seem cautious to not have any
unnamed net within the subsheets, which seems to be a to big burden to
be worth it.
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57
- Raw text -