im fpgabasic-Beispiel ist die Länge des Ausgangsimpulses nur dann 1
clockperide lang, wenn das Eingangssignal synchron zum Clock ist. Tritt
die Flanke zwischen den Clockflanken auf, verlängert sich der Impuls
entsprechend und der Impulsanfang ist nicht synchron zum Takt.
Ausserdem werden kurze Impulse zwischen den Taktflanken direkt zum
Ausgang weitergeleitet.
Der Zähler besteht auch nur aus 2 FlipFlops und etwas Logik, wenn der
Impuls auch 2 Taktperioden lang sein darf, kann zcount(1) als
Impulsausgang genutzt werden.
Gruß Jörg