Chargement…
Chargement…
Le compteur interne est binaire, la sortie est la conversion Gray combinatoire.
Comportement
i_en=1 incrémente le compteur binaire.o_gray = binary xor (binary >> 1).| Signal | Direction | Largeur | Description |
|---|---|---|---|
i_clk | Entrée | 1 bit | Horloge système |
i_reset | Entrée | 1 bit | Reset asynchrone actif haut |
i_en | Entrée | 1 bit | Enable |
o_gray | Sortie | 4 bits | Sortie gray |