J
John Larkin
- Jan 1, 1970
- 0
On Fri, 07 Aug 2009 18:13:37 -0700, John Larkin
On Fri, 07 Aug 2009 15:52:56 -0700, John Larkin
John Larkin wrote:
John Larkin wrote:
krw wrote:
krw wrote:
[...]
b. I often have situations where, say, an opamp or comparator switches
the supply of another. This can become next to impossible to understand
by other engineers, especially younger ones.
In our case there is always a PIC in the middle. I don't know how to
show the power control code on the schematic. ;-)
So far I never had a PIC in the middle ...
When I first wrote "PIC" I was kidding; the answer to every question
is "PIC". The fact is that we do have a PIC in the middle, on top of
a DSP.
Dead-bugged on top of it with liquid nails glue ...?
Cadsoft Eagle allows a very nice flexibility here: You can call up the
power pins via the "invoke" command. The CAD symbol is usually drawn so
it slides over the A-device (or another if you wish) and fits as if it
was part of the symbol. You can also place it near the group in the
schematic, or down at the bottom for simpler architectures. That's how
it ought to be, gives the designer all the freedom.
That sounds like it solves all the problems.
Sure does. That CAD program is very close to perfect. With one major
deficiency and that makes it IMHO useless for any larger design: No
hierarchical sheet structure :-(
Monday we had the design review for the widget I'm working on. My
boss really liked the hierarchical (turtles all the way down)
organization. I'm not so sure about the other hardware engineer
though. ;-) I'm still not to where I can easily determine where to
add a hierarchical block or another sheet though. More than one block
for a component (FPGA) just seems wrong.
Yes, I would never, ever, split a component across several sheets or
even just blocks. That makes a royal mess out of a schematic.
Thing I'm doing now, the PLX PCIe chip is three "gate sections" (pcie,
backside bus, power) across two sheets. The FPGA is 8 sections (one
for each bank, 450 pins or so total) across three sheets. This one
board is a 22 sheet schematic... B size sheets.
You never split gate or opamp sections between sheets?
Nope. Only exception is simple logic gates but even then you'd almost
have to twist my arm.
I never do hierarchical schematics. Everything's flat.
Then we have almost opposite CAD habits. But at least we have similar
beer taste, only the good stuff
What happens to reference designators in a hierarchical schematic?
Typically it numbers right on through if you hit auto-number. But it
really never mattered to me in my Orcad days because most clients wanted
a back annotation anyhow, so that the top left of the physical PCB
started with R1, C1 and the bottom right would end with R542, C367. Then
that got fed into the schematic, I updated my module spec with the new
refdeses, done.
I don't understand that. If the schematic has a main controller part
and, say, 16 channels, and you draw one instance of the channel,
abstract that into a block, and draw 16 of the blocks - which is what
a hierarchical schematic does - how does each instance have its own
reference designators, sequantial across all the modules?
Capture renumbers - flat - them for each instance.
How do you print the schematic for field service? Where the hell is
R325 in one of the instances when only one sub-module schematic
exists?
They all exist. You print all the sheets. Ugly as hell, but it's
really not much worse than flat schematics. Much better if you use a
viewer.
Then the hierarchical thing doesn't seem to be much different than
just doing it flat.
If the most important thing in life is the cost of printer paper, you
may have a point. OTOH, hierarchies are easier to understand,
simulate, and reuse; sorta the point of schematics.
Somehow I don't have trouble understanding 16 sheets that are labeled
CHANNEL 0 through CHANNEL 15, each with all the reference designators
and connector pins in plain view.
And nothing would change if those sixteen sheets were instances of a
hierarchical block, except you'd have another higher level block that
would show their interconnect. IOW, more information.
IOW I'd have to chase all over various sheets to see which connector
pin is ultimately connected to U12 pin 5.
Progress?
John