Speed Compact Priority Encoder
Speed Compact Priority Encoder
Reza Hashemian
and for y,
ut
- 1 it b e c o m e s
“7‘ -
wi = y6. .x; we obtain
w; = xi . 17 x4 . (5)
9: i to
Equation ( 5 ) indicates that the only time
wi = 1 i s w h e n xi = 1 , a n d a l l o t h e r
preceding inputs (xk ) are z e r o , w h i c h is
exactly what a priority resolution function
represents (see Fig. l(c)).
3
-
1 14
au+t
Module (PR- 4) &+r
IPL I arc
.
Fig. 2- Modified Priority Resolution.
O xo r - 111- Priority Encoder sircrlit
198
the second 8 to 3 encoder unit (EN-8/3), and first cell to the last one through the pull-
2) they provide the enable signals to the up transmission gates. In PR-4 thera are
eight first level priority resolution three transmission gates to propagate
modules (PR-4). Note a l s o that since only through and in PR-8 we have seven
one output signal, say, 1; = 0 and the rest transmission gates conducting the charges
are all equal to oiie therefore only one PR-4 through the nodes. If the nodes are all pre-
module, in the first level, is engaged in charged we have to discharge the entire
the operation, and the rest seven PR modules eight nodes (in case of PR-8, for example)
are not selected. This control signal, which if the input entry 10000000 is applied, and
acts as a feedback signal, is the key to the if we select not to pre-charge, then we need
reduction of the encoder section to a single to charge all eight nodes for the case when
unit per level, as well as removing the the input entry is 00000000. Clearly, in
sequential dependency of the eight PR-4 both cases the signal delay is quite high.
units in the first level. Fii.ally the output To reduce the propagation delay a
signals from the second enco-ter (EN-8/3), combination of pre-charge and pre-discharge
i.e., c+ ,c3 ,and c2 , decignk-ste the upper scheme is adopted in this design. This
three bits of the final bit ceunt. It is scheme calls for a balance distribution of
a-lso important to observe that the signal charges in the output nodes prior to any
CE, assigned to PR-8, serves as a chip actual data entry. The ideal case is to half
enable signal, and the o u t p i i t signal p from charge (Vdd/2) the output nodes during the
PR-8 acts as a stakiis flag for the input off clock period. In this case any slight
data: that is, p is zero if arid o n l y if the charges being propagated through the output
input data bits are all zero. nodes caused by the input signals, being
applied during the second half clock period,
determines the status of the output signals.
Therefore, the propagation delay, being
directly proportional to the amount of
charge being transferred, is minimized. In
practical situation, however, it is only
possible to selectively pre-charge or pre-
discharge the nodes in the off clock period.
This evidently will cause an even
distribution of charges throughout the
output nodes, once the "on" half clock
period is resumed. Then, apparently, any
extra flow of charge following this initial
charge distribution will p u t each node at
logical " 1 " or "0"state. depending on the
direction of charge flo:4.
199
VI- Conclusion References
A new, fast, and compact priority 113 G.R.L. Sohie, and K.L. Kloker, "A
encoder circuit is developed for 32-bit data Digital Signal Processor with IEEE
words. A technique using CMOS Staircase Floating-point Arithmetic," IEEE Micro,
Array is implemented for constructing the vo1.8, no.6, pp 49-67, 1989.
priority resolution modules (PR-4, and PR- [2] "High-speed CMOS Logic Data Book,"
8). The technique is shown to be very Texas Instrument, Dallas, Texas, 1 9 8 7 .
essential in reducing the hardware [3] M.D. Ercegovac, and T. Lang, "Digital
requirement as well as allowing parallel Systems and Hardware/Software
operation of the modules within the same Algorithms," John Wilev & S o n s . 1985
level. As demonstrated, the later property
substantially reduces the overall time delay ch. 2 & 4.
in the circuit. Finally, a pre-charge/pre- [4] J. Yuan, and C. Svensson, "High-speed
discharge scheme is implemented which CMOS Circuit Technique," IEEE J. Solid-
further reduces the time delay within each State Circuits, vol. S C 2 4 , no. 1, pp
PR module. The design is simulated for 2.5 62-70, January 1 9 8 9 .
micron CMOS Technology, and the results are [5] N. West, and K. Eshraghian, "Principles
reported. of CMOS VLSI Design," Reading, MA:
Addison-Wesley, 1985, ch. 5.