A
Allan Herriman
Guest
On Sun, 22 May 2011 14:36:47 -0700, rickman wrote:
same conclusion as you. Working with Peter's conditions, something like
an xor gate would definitely not be safe, but a 2 to 1 mux might be.
Regards,
Allan
If I make some assumptions about how the LUTs work internally, I get theOn May 21, 11:50Â pm, Allan Herriman <allanherri...@hotmail.com> wrote:
On Sun, 22 May 2011 03:41:46 +0000, Allan Herriman wrote:
[snip]
Here 'tis, from a 2001 c.a.f thread:
http://groups.google.com/group/comp.arch.fpga/browse_thread/
thread/17a018858cc39a2d
Here is what [Peter Alfke] wrote ten years ago ( you can find it, among
other places, in the 1994 data book, page 9-5:
"Function Generator Avoids Glitches
...
Note that there can never be a decoding glitch when only one select
input changes. Even a non-overlapping decoder cannot generate a glitch
problem, since the node capacitance would retain the previous logic
level... When more than one input changes "simultaneously", the user
should analyze the logic output for any intermediate code. If any such
code produces a different result, the user must assume that such a
glitch might occur, and must make the system design immune to it... If
none of the address codes contained in the "simultaneously" changing
inputs produces a different output, the user can be sure that there
will be no glitch...."
This still applies today.
Ok, I think that means there would be no glitch even if both clock
inputs change at the same time.
mux clk1 clk2 output
0 0 0 0
0 0 1 0
0 1 1 1
...or...
mux clk1 clk2 output
0 0 0 0
0 1 0 1
0 1 1 1
I don't see how this could cause a glitch. I think what is being
remembered the classic race condition where if both inputs change at the
same time the output does not change. But given a small delta in the
propagation paths, the output can momentarily change to a value equal to
the output when only one input changes. In this case the unselected
clock causes no change in the output so that none of the intermediate
states are any different from and so no glitch occurs.
Am I figuring this wrong?
same conclusion as you. Working with Peter's conditions, something like
an xor gate would definitely not be safe, but a 2 to 1 mux might be.
Regards,
Allan