On Fri, 09 Nov 2007 18:46:37 -0600, John Fields
I was referring to timing hazards, which all of the hairball circuits
have. And I can't understand your fears about running signals through
gates. How are you ever going to do logic if you're afraid to run
signals through gates? "All that chatter" is in fact the input signal.
I'm surprised that you don't seem to know this, but if you have a
signal with sharp edges then, at each transition, a multiplicity of
harmonics will be generated and radiated into space.
Look at it like this:
.. _________________________
..FIN ___| |____________________
.. _ _
..NFIN____| |_______________________| |_________________
where FIN is the input signal and NFIN represents the spectral
products generated by FIN's transitions, i.e. noise, if you have no
use for the harmonics.
Now, if that signal is delayed by sending it through a gate:
| \
FIN>---| >--->DFIN
| /
we'll have:
.. _________________________
..FIN ___| |____________________
.. _ _
..NFIN ___| |_______________________| |_________________
on the input to the gate, and:
.. _________________________
..DFIN _______| |____________________
.. _ _
..NDFIN________| |_______________________| |_________________
on the output of the gate.
Notice that there are now twice as many noise pulses as there were
before, since there's one on each of the incident as well as the
delayed transitions.
The chain in your circuit: (View in Courier)
N1
/
+------------------------A
| N2 Y---CLK
FIN>--+-A / +--B
Y---A /N3 |
B Y---A |
| B B--+
| | Y \
| | | N4
GND>----+------+------+
(assuming equal gate delays) generates noise pulses that look,
roughly, something like this:
.. _________________________
..FIN ___| |____________________
.. _ _
..N1 ____| |_______________________| |_________________
.. _ _
..N2 ________| |_______________________| |_____________
.. _ _
..N3 _____________| |_______________________| |_________
.. _ _
..N4 _________________| |_______________________| |_____
.. _ _ _ _
..CLK ________| |_________| |___________| |_________| |_
with the result that your circuit (assuming edge rates equal to
those of the comparator) is generating five times as much noise as
the output of the comparator, FIN.