TOFF code/timing error, possible bug. (by Chris)
Hi, below is the internal code for the TOFF, and checking
the code the timing is wrong and one glitch is generated.
-----______ input timing chart
-----_---__ output timing chart
19:if not '$Tblink_0_antiglitch' {
20: let var 'Tblink_0' := 3
21:}
22:set bit '$Tblink_0_antiglitch'
23:if not '$rung_top' {
24: if 'Tblink_0' < 3 {
25: increment 'Tblink_0'
26: set bit '$rung_top'
27: }
28:} else {
29: let var 'Tblink_0' := 0
30:}
31:
(no subject) (by Ronaldo)
I checked this when simulated in proteus, see the attached file.