Anda di halaman 1dari 5

A High Speed Counter for Analog-to-Digital

Converters
Prudhvi Raj Thota and Ashis Kumar Mal
Department of Electronics and Communication Engineering
National Institute of Technology, Durgapur-713209, India

prudhvi691@gmail.com akmal@ece.nitdgp.ac.in

AbstractA high speed and power efficient synchronous


counter is proposed using True Single-Phase Clock (TSPC)
based Toggle Flip-Flop (TFF) with the Extended True
Single-Phase Clock (E-TSPC) based combinational logic
embedded in it. The principle of realizing both synchronous
up and down counter at both positive and negative edges
using these flip-flops are discussed. Also gray counter is
accomplished using same principle. It has been designed
in 0.18 m CMOS process under 1.8 V power supply. The
simulation results show that an eight bit synchronous counter
can operate at clock frequencies upto 4.54 GHz with the
power dissipation of 0.67 mW, while an eight-bit asynchronous
counter can operate at clock frequencies upto 5 GHz with the Fig. 1. Conventional Counter Design
power dissipation of 0.5 mW.

Index Termsflip-flop (FF), digital counter, gray counter,


true single-phase clock (TSPC), extended TSPC (E-TSPC),
analog-to-digital converter (ADC)

I. I NTRODUCTION
Analog-to-digital converters (ADCs) demand a
synchronous counter that is capable of operating efficiently
for wide range of frequencies[1,2] . Besides its necessity
in ADCs, it is found to be the basic block for various
applications in the field of VLSI design, communication
and measuring systems. Thus, the extensive studies are
going on the design of high speed low power counters.

Synchronous counters for low to moderate frequency Fig. 2. TSPC based Positive-edge Triggered Divide-by-two circuit
applications, are usually build using stage by stage, each
containing combinational logic and T Flip-Flop (TFF) or
D Flip-Flop (DFF). Although a common clock triggeres all To minimize the tclk , various techniques have been
TFFs simultaneously as shown in Fig. 1, the decision of proposed. The tplogic being the main factor due to
toggling depends on the input T, which is driven by the its increase in proportion with the number of stages,
combinational logic. The combinational logic is usually the several efficient counters have been proposed based on
carry propogation chain having the inputs from the outputs Manchester carry chain, carry-look-ahead and binary tree
of previous stages. carry propagation to decrease tplogic , but they occupy
larger area and dissipate more power.
The counting rate of synchronous counter is bounded
by the delay of combinational logic (tplogic ), setup time Even Transmission Gate (TG) based TFF does not
(tsetup ) and the propagation delay (tpT F F ) of TFF. Thus, minimize propogation delay (tpT F F ) to the greater extent.
the clock period of a conventional counter (tclk ) can be Yuan[3] proposed a true single phase clock (TSPC) based
expressed as [6] counter capable of operating at 250 MHz with transistor
sizing in a 3 m CMOS process. However, the speed
tclk tplogic + tsetup + tpT F F (1) improvement allowed by the technolgy scaling has made
978-1-4673-6621-2/16/$31.00
c 2016 IEEE this counter (transistors sized in scale with the sizes in [3])
Fig. 3. TSPC based Positive-edge Triggered Toggle Flip-Flop

to operate at near about 4.44 GHz in 0.18 m CMOS At the positive edge of the clock transition, the
process. With a small modification in the Yuans counter N-dynamic block is in evaluation phase.
design[3] , this paper proposes an efficient synchronous If the evaluation result is at logic 1, the NMOS
counter that can be operated upto a maximum frequency of (M7 ) of the N-C2 MOS stage is ON and makes the
4.54 GHz. output as logic 0. This is same as the precharge
phase, so no change occurs at the following nega-
The rest of the paper is organized as follows. Section II tive edge of the clock transition.
gives the review on the basic building block i.e., TFF If the evaluation result is at logic 0, the PMOS
facilitating the asynchronous inputs like preset and clear. (M9 ) of the N-C2 MOS stage is ON and makes
Section III introduces the proposed counters including the the output as logic 1. When the N-dynamic
way of embedding the combinational carry chain logic along block starts to precharge, at the subsequent clock
with the TFF. Simulation results are discussed in Section IV, transition, the clocked NMOS (M8 ) is OFF. So, the
followed by a conclusion in Section V. ON result is latched at the output of the N-C2 MOS
stage.
II. BASIC B UILDING B LOCK : T OGGLE F LIP -F LOP An extra unit inverter load (M10 and M11 ) increases the
Fig. 2 shows a basic nine-transistor (M1 to M9 ) TSPC current driving ability and gives out the non-inverting output
based T Flip-Flop proposed by Yuan[3] . It follows the with level restored.
single-phase precharge logic, which is an alternate se-
A. Csk as the Input of Toggle Flip-Flop
quence of P-units (comprising of P-dynamic block fol-
lowed by P-C2 MOS latch stage) and N-units (comprising Placing the transistors M12 and M13 as shown in Fig. 3
of N-dynamic block followed by N-C2 MOS latch stage). provides the input to the flip-flop. Yuan[3] suggested that this
It comprises of three stages : P-C2 MOS stage for latching, transistor is to be inserted at a lower position to the clocked
N-dynamic block for precharging and evaluating the logic, transistor in the last stage, so that no charge sharing takes
followed by N-C2 MOS stage for latching. The output of place at the output node.
last (N-C2 MOS) stage is fed back as the input to first If Csk is at logic 1, it operates in toggle mode as
(P-C2 MOS) stage, still satisfying the rules of single-phase shown in Fig. 2.
precharge logic. The operation of the circuit is as follows: If Csk is at logic 0, the N-stage is completely OFF

The first stage latches the input data by every positive and thus remains in the previous state.
edge of the clock (Clk) signal.
When the clock is at logic 0, the N-dynamic block is B. Asynchronous Inputs
precharged and its N-C2 MOS stage is OFF, as PMOS Two asynchronous inputs (Preset and Clear) on a flip-flop
(M7 ) and one NMOS (M8 ) are OFF. The output is have control over the outputs regardless of clock and input
therefore stable. status i.e., they are given higher priority than any other
TABLE I
T RUTH TABLE OF T OGGLE F LIP -F LOP

Csk qk
0 qk1
1 q k1

Fig. 4. E-TSPC based Carry Stages for Positive-edge Triggered Up


input. The preset input drives the flip-flop to a logic 1 Counter
while the clear input drives it to a logic 0. Preset and
clear facilities are provided through the transistors M14 and
M15 respectively as shown in Fig. 3. Preset with logic 1
and clear with logic 0 makes the flip-flop to operate in
normal mode. If any of this facility is not at all required in
the design of a counter, the transistors with the respective
inputs can simply be eliminated.

C. Toggle State with Static locking loop Fig. 5. 2:1 TG based Multiplexer facilitating the counter with U p/Down
mode control
The dynamic condition is possibly broken at the Most
Significant Bit (MSB) or at low clock frequencies, due to
the problems like charge sharing and leakage. This problem Least significat bit can be generated using either a simple
can be solved by placing a weak PMOS (M16 ) and weak divide-by-two circuit (Fig. 2) or TSPC based TFF (Fig. 3)
NMOS (M17 ) as shown in Fig. 3. producing Cs0 from E-TSPC based carry stage (Fig. 4).
When the clock is at logic 0, these transistors together Since each stage is enabled only when the carry is high,
with the first three transistors (M1 , M2 and M3 ) forms the power consumption of the most significant bit stages
a static dual-inverter locking loop, making the output are substantially reduced.
unable to change and remain in the previous state.
When the clock is at logic 1, the loop will be broken TABLE II
and hence allowing the change in the output. F UNCTION TABLE OF P ROPOSED C OUNTER

As weak devices have slower performance, they does not Enable Preset Clear Comment on output
effect the operation at high frequencies. If the circuit is 0 0 0 Resets all bits to logic 0
desired to be operated always at high frequencies, these 0 0 1 Undetermined
transistors (M16 and M17 ) could be removed. 0 1 0 Counts up by one
0 1 1 Sets all bits to logic 1
III. P ROPOSED C OUNTER D ESIGNS
1 0 0 Resets all bits to logic 0
A. Synchronous Counter 1 0 1 Undetermined
Synchronous counter is designed using TFFs having 1 1 0 Holds its previous state
Csk as one of the input to its N-unit. The carry logic 1 1 1 Sets all bits to logic 1
that drives Csk should be P-unit with the inputs from
N-units (previous stages), so as to make it single-phase 1) Down Counter: The positive edge triggered
precharge logic. The carry stage used by Yuan[3] is synchronous down counter can be obtained by providing
the P-unit consisting of P-dynamic block followed by the carry stage with non-inverting inputs (qk=0,1,...(n1) )
P-C2 MOS stage. An Extended True Single-Phase Clock instead of inverting inputs (q k=0,1,...(n1) ).
(E-TSPC) circuit technique: NMOS like P-latch block[7]
allow building P-unit with speed comparable to NMOS. 2) Up / Down Counter: Up / Down count feature can be
So, NMOS like P-latch block based combinational carry added using 2:1 Transmission (TG) based multiplexer with
unit is designed to make Csk equal to one whenever q 0 , qk and q k as data inputs and U p/Down as selection input
q 1 , ... and q n1 are logic 0s. as shown in Fig. 5. The output bk=0,1,...(n2) is fed as the
input to carry stage instead of feeding in qk=0,1,...(n2) or
NMOS like blocks may suffer from charge-sharing q k=0,1,...(n2) directly.
problem[8] , but in this case this problem does not exist as
there are no dynamic nodes. Further, NMOS like blocks can 3) Negative-edge Triggered Counter: Negative edge
also be used to bulid divide-by-2 circuit, but the problem triggered counter can be realized on holding the same
of charge sharing does not allow to provide Csk as input single-phase precharge logic using TSPC based TFF
and hence cannot be used in synchronous counter design. (N-C2 MOS stage, P-dynamic block, P-C2 MOS stage)
shown in Fig. 6 and E-TSPC based carry stage (NMOS
Fig. 6. TSPC based Negative-edge Triggered Toggle Flip-Flop

Fig. 8. E-TSPC based Carry Stages for Gray Counter

its complement (p), generated using divide-by-two circuit


shown in Fig. 2. The only change in the design of gray
counter lies in feeding the inputs to E-TSPC based carry
stage as shown in Fig. 8.
Fig. 7. E-TSPC based Carry Stages for Negative-edge Triggered Up
Counter
IV. S IMULATION R ESULTS
The proposed 8-bit synchronous counter is realized using
like N-latch block) shown in Fig. 7. The down count can
Cadence Spectre (BSIM3v3 model) with 0.18 m CMOS
be obtained by providing the inverting inputs while up
technology with 1.8 V supply voltage. Fig. 8 and Fig. 9
count by providing non-inverting inputs. The enable input
shows the simulation result of 8-bit synchronous up counter
is applied at the gate of PMOS, so it is active high.
at the clock frequency of 4.54 GHz.
4) Terminal Count Generation: Terminal count output is TABLE III compares the performance of the proposed
logic 1, when the up counter reaches to all 1s or when counter with other published works. As depicted in
the down counter reaches to all 0s. It can be generated Table III, Salehs[5] 8-bit counter can operate at a maximum
using E-TSPC based carry stage. Csk=n itself will be the frequency of 2 GHz, but this counter occupies large area
terminal count for n-bit counter. and dissipates more power. Even though Aliotos[4] design
B. Asynchronous Counter requires fewer transistors and consumes less power, the
The counters can also be realized in an asynchronous clock frequency is limited to 500 MHz. Resimulating the
manner, just with the series connection of toggle flip-flops Yuans[3] design in 0.18 m CMOS technology with the
always opearting in toggle mode (i.e., with input Csk = 1). transistors sized in scale with the sizes in [3], the maximum
The flip-flop holding the least significant bit is triggered by operating frequency is observed to be 4.44 GHz with the
the incoming count pulses, where as the next higher order power dissipation of 2.08 mW. Although, the proposed
flip-flop is trigerred by the output transistion of previous flip- counter does not offer load facility, the advantage of having
flop. Circuit is very simple even for more number of states. maximum frequency of 4.54 GHz make it more useful in
As tplogic is zero in this case, the maximum frequency the applications like the design of time based ADC[9] .
is typically higher than that of synchronous counter. But at
higher frequencies, the count may not be read-out properly Area and power figures of merit, i.e., F oMArea and
due to the change in the state of clock before it reaches F oMP ower , are useful measures of the relative performance
last FF. However, it can still purpose good as a frequency of counters because they compare various parameters of
divider. different design solutions. They are defined as:

C. Synchronous Gray Counter A


F oMArea = pm2 / Count (2a)
The principle of designing the synchronous binary 2N OB fmax
counter can also be extended to design gray counter, which
finds its application in building a FIFO (First-in First-out) P
F oMP ower = fJ / Count (2b)
data buffer. Gray counter initially requires parity bit (p) and 2N OB fmax
TABLE IV
F IGURE OF M ERITS OF R ELATIVE W ORKS

Counter F oMArea F oMP ower


(pm2 /Count) (fJ/Count)
Yuan[3] 89121.09 -
Alito[4] 54.00 17.26
Saleh[5] 29.88 7.59
Zhang[6] 34.17 18.79
Yuan[3]a 3.48 1.85
Proposed 2.55 0.52

a Resimulated result

Fig. 9. Simulation result of Lower order bits (Clk, q0 to q3 ) of 8-bit V. C ONCLUSION


Synchronous Binary Up counter at 4.54 GHz
The design of synchronous counters facilitating enable
input, preset and clear with high speed, low area and low
power consumption are presented. An eight bit counter has
been designed in 0.18 m CMOS process. Simulation result
shows that the 8-bit synchronous counter can operate upto
a clock frequency of 4.54 GHz with a power dissipation of
0.67 mW where as asynchronous counter at 5 GHz with a
power dissipation of 0.5 mW.
ACKNOWLEDGMENT
The authors wish to acknowledge The Ministry of Com-
munication and Information Technology, Government of
India, for extending the SMDP at NIT Durgapur.

Fig. 10. Simulation result of Higher order bits (Clk, q4 to q7 ) of 8-bit


R EFERENCES
Synchronous Binary Up counter at 4.54 GHz [1] Young-Gyu Yoon, et.al., A Time-Based Bandpass ADC Using
Time-Interleaved Voltage-Controlled Oscillators, IEEE Trans. on
Circuits and Systems -I : Regular Papers,Vol. 55, No. 11, pp. 3571-
TABLE III 3581, Dec. 2008.
P ERFORMANCE S UMMARY IN C OMPARISON WITH R ELATIVE W ORKS [2] H. Mostafa and Y. I. Ismail, Highly-Linear Voltage-to-Time Con-
verter (VTC) Circuit for Time-Based Analog-to-Digital Converters
Power Maximum No. of (T-ADCs), IEEE Int. Conf. on Electronics, Circuits, and Systems
(ICECS), pp. 149-152, Dec. 2013.
Counter Technology Consumptiona Frequency Transistors [3] J.R. Yuan,Efficient CMOS counter circuits, Electronics Letters, Vol.
(m) (mW) (GHz) 24, No. 21, pp. 1311-1313, Oct. 1988.
Yuan[3] 3 - 0.2 137 [4] M.Alioto, R.Mita, and G. Palumbo,Design of high-speed power-
efficient MOS current-mode logic frequency dividers, IEEE Trans.
Alito[4] 0.18 2.21 0.5 160 Circuits Syst. II, Expr. Brifs, vol. 53, No. 11, pp. 1165-1169,Nov.
Saleh[5] 0.15 13.89 2 510 2006.
Zhang[6] 0.18 7.7 1.6 324 [5] S. A. Hafeez, A. G. Ross, A Digital CMOS Parallel Counter
Architecture Based on State Look-Ahead Logic, IEEE Trans. on
Yuan[3]b 0.18 2.08 4.44 137 Very Large Scale Integration (VLSI) Systems, vol. 19, No. 6, Jun.
Proposedc 0.18 0.67 4.54 149 2011.
[6] T. Zhang and H. QingSheng, A High-Speed and Low-power
a When Up/down Counter in 0.18-m CMOS Technology, Int. Conf. on
operating at the maximum frequency that each design has
b Resimulated Wireless Communications & Signal Processing, Oct. 2012. doi:
result 10.1109/WCSP.2012.6542792.
c Simulated result
[7] J. Navarro, W. Van Noije, E-TSPC: Extended True Single-Phase-
Clock CMOS circuit technique, VLSI: Integrated Systems on Silicon,
Part 5, IFIP Int. Conf. VLSI, , pp. 165-176, Aug. 1997.
[8] J. Navarro, and W. Van Noije Extended TSPC Structures With
Double Input/Output Data Throughput for Gigahertz CMOS Circuit
where NOB is the number of bits, fmax is the maximum Design, IEEE Trans. on Very Large Scale Integration (VLSI) Systems,
frequency in GHz, A is the area in nm2 and P is the power Vol. 10, No. 3, pp. 301-308, Jun. 2002.
consumption measured in mW. These FoMs normalize area [9] T. Prudhvi Raj and A. K. Mal, CMOS Temperature sensor with built-
in ADC, communicated to Int. Conf. on Microelectronics, Computing
and power into silicon area use and energy use per count, and Communication, MicroCom 2016, NIT Durgapur, West Bengal,
thus lower FoMs means a better Counter. From TABLE IV, 2016.
this work is proved to be the better one as compared with
the relative works.

Anda mungkin juga menyukai