Diferență între revizuiri ale paginii „Counter”
De la WikiLabs
Jump to navigationJump to searchCbira (discuție | contribuții) |
Cbira (discuție | contribuții) |
||
Linia 5: | Linia 5: | ||
[[File: count.png | Block schematic of a counter]] | [[File: count.png | Block schematic of a counter]] | ||
− | '''Note:' 'The count can be used as a frequency divider because each bit has a period twice as high as the previous one, and the bit 0 has a double period over the clock signal: | + | '''Note:''' The count can be used as a frequency divider because each bit has a period twice as high as the previous one, and the bit 0 has a double period over the clock signal: |
{| class="wikitable" | {| class="wikitable" |
Versiunea de la data 11 aprilie 2018 23:51
The numerator is a sequential circuit that uses a register to generate a sequence of numbers. The simplest numerator generates a sequence of ascending consecutive numbers. The size of the counter is given by the number of bits of the registers used.
The schema of this device is as follows:
Note: The count can be used as a frequency divider because each bit has a period twice as high as the previous one, and the bit 0 has a double period over the clock signal:
Interface of a counter
The interface of a numerator necessarily contains the following ports:
- Clock signal port;
- output signal port, which is even the counting register.
In addition, there may still be:
- Reset port;
- port that controls the counting direction;
- port that stops or starts counting;
- port giving the maximum value the numerator can reach;
- port that commands to load a start value in the counter of the counter and the port on which this value is given;
- etc.
Implementing a numerator
As a sequential circuit, a counter is implemented exclusively with always sequential blocks.