kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #01008
Re: ok to svn up: first test and differences
Hi Alain,
> I have been following this thread, and I got a little confused... Please
> help me understand if I am getting it right. I am relatively new to
> kicad, having used only for one small project so far, so please be just
> a little patient with me :)
>
> Now we have 3 kinds of interconections (can you please add the correct
> names bellow):
>
> 1) simple connection between wires/buses on the same sheet only.
This is just 'Label' -> use the tool with the tooltip 'Add wire or bus label'
Note that, as JP said, these labels are connected to hierarchal labels
and global labels with the same name in the same sheet.
You might want to consider these the equivalent of local variables in
a programming language. If these variables are already 'defined' as a
hierarchal label or global label, then the connection is made through
them.
> 2) global connection between differents sheets in a "flat" file sistem,
Sure. Global labels connect all schematics in a hierarchy, like global
variables in C or so.
> not to be used between multiple instances of the same sheet.
Global labels can and should be used between different instances of
the same sheet !
> 3) hierarchical conection that *must* be connected between sheets at the
> upper level.
Yup, exactly. The equivalent to a method's parameters in a
programming language.
>
> And another question, if I want to use a "flat" only structure, how do I
> create such a structure. I would imagine somethin simple, like inserting
> all other sheets in the main sheet and making no explicit conection.
Right, connections between sheets should be via global labels and
hierarchal labels. (or busses). I can't think of any better way of
making it work - if you want labels to be global across multiple
sheets, make global labels.
To extend my programming analogy further, if each schematic is a
function, every program has a 'main', so every schematic has a 'root'
...
Oh, and whoever made the icons for hierarchal labels (JP?), thanks, looks good.
best,
Tim
>
> Thanks very much,
> Alain
> PS: the bellow attached shematics didn't get through, where can I get
> them? And what SVN version do you recommend to usa for testing?
>
> Tim Hanson escreveu:
>
>
> > Hi Jean-Pierre,
> >
> > I've checked this functionality, and it seems to be working with svn
> > v. 758. One thing that we must be careful not to do is connect
> > pinsheets with the same name, as multiple instances of one schematic
> > will necessarily have pinsheets of the same name, and the user will
> > not want them implicitly connected. I've attached two schematics
> > (twores.sch is the root schematic) to show what I think is correct
> > behavior & have examined the generated pcbnew netlist (looks ok?),
> > feel free to comment.
> >
> > I would also like to make it so component pins along with a segment
> > are connected to that wire segment. Having to place junction items
> > along a line of bypassing caps is kinda annoying and nonintuitive, but
> > I am afraid of changing the behavior for fear of breaking some
> > schematics. What do you think?
> >
> > best,
> > Tim
> >
> > On Wed, Feb 13, 2008 at 9:23 AM, jean-pierre charras - INPG
> > <jean-pierre.charras@...> wrote:
> >>
> >>
> >>
> >>
> >>
> >> Tim Hanson a écrit :
> >> >
> >> > Good, these items (NET_LABEL or DRAW_LABEL_STRUCT_ TYPE) shall remain
> >> > sheet-local.
> >> >
> >> > I've fixed the schematic file versioning issue, too, so all may tryto
> >> > svn up & tell me of any problems.
> >> >
> >> Tim,
> >> thanks for your work!
> >> This was a significant enhancement.
> >>
> >> Differences between old behavior and new behavior:
> >> Old global labels (now hierarchical labels or hierarchical ports) were
> >> seen as connected to a label (really a local label) in a sheet when they
> >> have the same name:
> >> If (in a given sheet) we have a hierarchical label like my_label and a
> >> local label also named my_label, they were seen as connected
> >> (no need to have a hierarchical label connected to a wire connected to a
> >> local label).
> >> The new behavior seems consider the 2 different label not connected by
> >> they name.
> >>
> >> This difference is easily noticeable with bus labels.
> >> If whe have a hierarchical label like data[0..7] in a sheet (a bus
> >> connection) and only local labels data0 , data1 .. (an usual way of
> work),
> >> they are not connected to the members of the hierarchical label
> data[0..7]
> >> (except ifl we put a bus wire connected to this hierarchical label and a
> >> local label data[0..7] on this bus wire).
> >>
> >> I think within a sheet, a label an a hierarchical label must be seen as
> >> connected if they have the same name ( and perhaps this could be true
> >> also for a new (true) global label).
> >> Of course, a local label is a local label and it is not view outside the
> >> sheet, except if it is connected to a hierarchical or a true global
> label.
> >> This was the old behavior, and such a change will be seen as a bug by
> >> old users, not an enhancement.
> >>
> >> --
> >> Jean-Pierre CHARRAS
> >> Maître de conférences
> >> Directeur d'études 2ieme année.
> >> Génie Electrique et Informatique Industrielle 2
> >> Institut Universitaire de Technologie 1 de Grenoble
> >> BP 67, 38402 St Martin d'Heres Cedex
> >>
> >> Recherche :
> >> Grenoble Image Parole Signal Automatique (GIPSA - INPG)
> >> 46, Avenue Félix Viallet
> >> 38031 Grenoble Cedex
> >>
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
References