
[Middle English countre, from Old French contre, from Latin contrā. See counter-.]

over the counter
[Middle English countour, from Anglo-Norman counteour, from Medieval Latin computātōrium, countinghouse, from Latin computāre, to calculate. See count1.]

(1) In programming, a variable that is used to keep track of anything that must be counted. The programming language determines the number of counters (variables) that are available to a programmer.
(2) In electronics, a circuit that counts pulses and generates an output at a specified time.
Download Computer Desktop Encyclopedia to your PC, iPhone or Android.
adjective
noun
verb
Definition: opposite, opposing
Antonyms: agreeing, concurring, corresponding, corroborating, equal, same, similar
adv
Definition: contrary, reverse
Antonyms: equally, same, similarly
n. the curved part of the stern of a ship projecting aft above the waterline.
See the Introduction, Abbreviations and Pronunciation for further details.
1. A long horizontal surface used in stores, shops, banks, etc., for display of goods, for work-top areas, or for business transactions.
2. The top or working surface of the base of a kitchen cabinet.
Theories that go counter to the facts of human nature are foredoomed.
— Edith Hamilton
LearnThatWord.com is a free vocabulary and spelling program where you only pay for results!
| coumarin, coulometry, coulometer | |
| countercurrent chromatography, countercurrent distribution, countercurrent transport |
An instrument or apparatus by which numerical value is computed; in radiology, a device for enumerating ionizing events.

In digital logic and computing, a counter is a device which stores (and sometimes displays) the number of times a particular event or process has occurred, often in relationship to a clock signal.
|
Contents
|
In electronics, counters can be implemented quite easily using register-type circuits such as the flip-flop, and a wide variety of classifications exist:
Each is useful for different applications. Usually, counter circuits are digital in nature, and count in natural binary. Many types of counter circuits are available as digital building blocks, for example a number of chips in the 4000 series implement different counters.
Occasionally there are advantages to using a counting sequence other than the natural binary sequence—such as the binary coded decimal counter, a linear feedback shift register counter, or a Gray-code counter.
Counters are useful for digital clocks and timers, and in oven timers, VCR clocks, etc.[1]
An asynchronous (ripple) counter is a single JK-type flip-flop, with its J (data) input fed from its own inverted output. This circuit can store one bit, and hence can count from zero to one before it overflows (starts over from 0). This counter will increment once for every clock cycle and takes two clock cycles to overflow, so every cycle it will alternate between a transition from 0 to 1 and a transition from 1 to 0. Notice that this creates a new clock with a 50% duty cycle at exactly half the frequency of the input clock. If this output is then used as the clock signal for a similarly arranged D flip-flop (remembering to invert the output to the input), you will get another 1 bit counter that counts half as fast. Putting them together yields a two-bit counter:
| Cycle | Q1 | Q0 | (Q1:Q0)dec |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 1 |
| 2 | 1 | 0 | 2 |
| 3 | 1 | 1 | 3 |
| 4 | 0 | 0 | 0 |
You can continue to add additional flip-flops, always inverting the output to its own input, and using the output from the previous flip-flop as the clock signal. The result is called a ripple counter, which can count to 2n − 1 where n is the number of bits (flip-flop stages) in the counter. Ripple counters suffer from unstable outputs as the overflows "Ripple" from stage to stage, but they do find frequent application as dividers for clock signals, where the instantaneous count is unimportant, but the division ratio overall is (to clarify this, a 1-bit counter is exactly equivalent to a divide by two circuit; the output frequency is exactly half that of the input when fed with a regular train of clock pulses).
The use of flip-flop outputs as clocks leads to timing skew between the count data bits, making this ripple technique incompatible with normal synchronous circuit design styles.
A simple way of implementing the logic for each bit of an ascending counter (which is what is depicted in the image to the right) is for each bit to toggle when all of the less significant bits are at a logic high state. For example, bit 1 toggles when bit 0 is logic high; bit 2 toggles when both bit 1 and bit 0 are logic high; bit 3 toggles when bit 2, bit 1 and bit 0 are all high; and so on.
Synchronous counters can also be implemented with hardware finite state machines, which are more complex but allow for smoother, more stable transitions.
Hardware-based counters are of this type.
A decade counter is one that counts in decimal digits, rather than binary. A decade counter may have each digit binary encoded (that is, it may count in binary-coded decimal, as the 7490 integrated circuit did) or other binary encodings (such as the bi-quinary encoding of the 7490 integrated circuit). Alternatively, it may have a "fully decoded" or one-hot output code in which each output goes high in turn (the 4017 is such a circuit). The latter type of circuit finds applications in multiplexers and demultiplexers, or wherever a scanning type of behavior is useful. Similar counters with different numbers of outputs are also common.
The decade counter is also known as a mod-counter when it counts to ten (0, 1, 2, 3, 4, 5, 6, 7, 8, 9). A Mod Counter that counts to 64 stops at 63 because 0 counts as a valid digit.
A counter that can change state in either direction, under the control of an up/down selector input, is known as an up/down counter. When the selector is in the up state, the counter increments its value. When the selector is in the down state, the counter decrements the count.
A ring counter is a circular shift register which is initiated such that only one of its flip-flops is the state one while others are in their zero states.
A ring counter is a Shift Register (a cascade connection of flip-flops) with the output of the last one connected to the input of the first, that is, in a ring. Typically, a pattern consisting of a single bit is circulated so the state repeats every n clock cycles if n flip-flops are used. It can be used as a cycle counter of n states.
A Johnson counter (or switchtail ring counter, twisted-ring counter, walking-ring counter, or Moebius counter) is a modified ring counter, where the output from the last stage is inverted and fed back as input to the first stage.[2][3][4] The register cycles through a sequence of bit-patterns, whose length is equal to twice the length of the shift register, continuing indefinitely. These counters find specialist applications, including those similar to the decade counter, digital-to-analog conversion, etc. They can be implemented easily using D- or JK-type flip-flops.
In computability theory, a counter is considered a type of memory. A counter stores a single natural number (initially zero) and can be arbitrarily many digits long. A counter is usually considered in conjunction with a finite-state machine (FSM), which can perform the following operations on the counter:
The following machines are listed in order of power, with each one being strictly more powerful than the one below it:
For the first and last, it doesn't matter whether the FSM is a deterministic finite automaton or a nondeterministic finite automaton. They have equivalent power. The first two and the last one are levels of the Chomsky hierarchy.
The first machine, an FSM plus two counters, is equivalent in power to a Turing machine. See the article on counter machines for a proof.
Long before electronics became common, mechanical devices were used to count events. These are known as tally counters. They typically consist of a series of disks mounted on an axle, with the digits 0 through 9 marked on their edge. The right most disk moves one increment with each event. Each disk except the left-most has a protrusion that, after the completion of one revolution, moves the next disk to the left one increment. Such counters were originally used to control manufacturing processes, but were later used as odometers for bicycles and cars and in fuel dispensers. One of the largest manufacturers was the Veeder-Root company, and their name was often used for this type of counter.[5]
| Wikimedia Commons has media related to: mechanical counters |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
Dansk (Danish)
1.
n. - disk, skranke, bardisk, brik, mønt, forhandlingsobjekt, tæller, partikeltæller, optæller
idioms:
2.
v. tr. - modgå, modsige, imødegå
v. intr. - foretage modforanstaltninger, svare igen, slå kontra
adv. - i modsat retning, imod, i strid med
adj. - modsat, kontrol-
n. - bringe, afrundet del af agterspejl på skib, oval, bagkappe
idioms:
3.
n. - parade, kontrastød, det modsatte
4.
n. - bagkappe
Nederlands (Dutch)
toonbank, balie, bar, teller, fiche, wulf, tegenstoot (b.v. boksen), counter (voetbal), boeg (paard), tegenmaatregel, tegengestelde, tegenargument aanvoeren, zich verzetten tegen, tegenstoot geven, duplicaat-, logenstraffen
Français (French)
1.
n. - guichet, comptoir, bar, zinc, rayon, (Jeux) pion, jeton, compteur
idioms:
2.
v. tr. - répondre à, réagir à, s'opposer à, neutraliser, parer (un coup), enrayer (l'inflation)
v. intr. - riposter
adv. - à l'encontre de, contrairement à
adj. - contre (dans les composés)
n. - (Tech) compteur
idioms:
3.
n. - caissier
4.
n. - contrefort
Deutsch (German)
1.
n. - Ladentisch, Tresen, Spielmarke
idioms:
2.
v. - antworten, kontern
adv. - in entgegengesetzter Richtung, (fig) im Widerspruch
adj. - entgegengesetzt
n. - Gegenteil, Konter
idioms:
3.
n. - Zähler
4.
n. - Fersenleder
Ελληνική (Greek)
v. - αντισταθμίζω, εξουδετερώνω, αντιμάχομαι, καταπολεμώ, ανταπαντώ, ανταποδίδω
n. - μετρητής, αριθμητής, καταμετρητής, όργανο μέτρησης, κοντέρ, φίσα, μάρκα (χαρτοπαιξίας κ.λπ.), πάγκος πωλήσεων, θυρίδα ή γκισέ τράπεζας
pref. - αντι-, ανθ(υ)-, διπλο-, επ(ανα)-, ξανα-, παρα-
idioms:
Italiano (Italian)
smentire, ribattere, reagire, sportello, contatore, gettone, banco
idioms:
Português (Portuguese)
v. - opor-se
n. - contador (m), mostrador (m)
pref. - contra
idioms:
Русский (Russian)
противодействовать, парировать, окошко, прилавок, счетчик, фишка
idioms:
Español (Spanish)
1.
n. - ventanilla, taquilla, barra, mostrador
idioms:
2.
v. tr. - refutar, rebatir, contrariar, contestar
v. intr. - refutarse, rebatirse, contrariarse, contestarse, medirse
adv. - contrariamente
adj. - contrario, opuesto
n. - ficha, barra, mostrador
idioms:
3.
n. - contador, medidor
4.
n. - contrafuerte (de un zapato)
Svenska (Swedish)
v. - motsätta sig, bemöta, besvara m schackdrag, kontra
n. - räknare, räkneapparat, spelmark, pjäs, pollett, butiksdisk, expeditionslucka, arbetsbänk (am.), motsats, kontraslag (boxn.), bringa på häst, valv (sjö.), bakkappa på sko
pref. - mot-, kontra-
中文(简体)(Chinese (Simplified))
1. 相反的, 对立的, 反对的, 相反之事物, 回拳, 还击, 对立物, 主跟, 后帮, 反对, 反驳, 反击, 抵消, 反方向地, 相反地
idioms:
2. 柜台, 筹码, 柜台式长桌, 伪造的硬币
idioms:
3. 计算者, 计算器, 计数器
中文(繁體)(Chinese (Traditional))
1.
n. - 計算者, 計算器, 計數器
2.
n. - 櫃檯, 籌碼, 櫃檯式長桌, 偽造的硬幣
idioms:
3.
adj. - 相反的, 對立的, 反對的
n. - 相反之事物, 回拳, 還擊, 對立物, 主跟, 後幫
v. tr. - 反對, 反駁, 反擊, 抵消
v. intr. - 反對, 反駁, 反擊, 還擊
adv. - 反方向地, 相反地
idioms:
한국어 (Korean)
1.
n. - 계산대, 카운터, 위조화폐
idioms:
2.
v. tr. - 대항하다, 무효로 하다, 받아 치다
v. intr. - 받아 치다
adv. - 반대 방향으로, 거꾸로
adj. - 반대의 , 거꾸로의, 짝의
n. - 역 , 반대, 받아 치기
idioms:
3.
n. - 계산하는 사람, 계산기
4.
n. - 구두의 뒤꿈치 가죽
日本語 (Japanese)
n. - 計算器, 計数器, カウンター, 数取り, 模造硬貨, 取引の材料, 利用されそうな人, 調理台, 逆, かかと革
adj. - 反対の, 命令撤回の, 片方の
v. - 逆に出る, 迎え撃つ
adv. - 反対の方向に
idioms:
العربيه (Arabic)
(فعل) رد على, عارض, واجه (الاسم) عداد, طاوله البيع, فيشه قمار (بادئه الكلمه) بادئه تعني عكس أو ضد
עברית (Hebrew)
adj. - נגדי, מנוגד, כפול, הפוך
n. - צעד נגדי, דבר מנוגד, כיוון הפוך
v. tr. - גמל במכה, הגיב, התנגד, אמר דבר מנוגד
v. intr. - עשה צעד נגדי
adv. - בניגוד, נגד, בכיוון הפוך
n. - דלפק, דוכן, מד-, מונה, אסימון-משחק, העתק
n. - חלק חזה הסוס שמתחת לצוואר, החלק העקום של ירכתי אוניה, חלק מוקף קווים של אות דפוס
n. - הצד האחורי של נעל, סביב העקב
If you are unable to view some languages clearly, click here.