Free Essay

Flip Flop

In:

Submitted By termpaperlovely
Words 7815
Pages 32
536

IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 34, NO. 4, APRIL 1999

Comparative Analysis of Master–Slave Latches and Flip-Flops for High-Performance and Low-Power Systems
Vladimir Stojanovic and Vojin G. Oklobdzija, Fellow, IEEE
Abstract—In this paper, we propose a set of rules for consistent estimation of the real performance and power features of the flip-flop and master–slave latch structures. A new simulation and optimization approach is presented, targeting both highperformance and power budget issues. The analysis approach reveals the sources of performance and power-consumption bottlenecks in different design styles. Certain misleading parameters have been properly modified and weighted to reflect the real properties of the compared structures. Furthermore, the results of the comparison of representative master–slave latches and flipflops illustrate the advantages of our approach and the suitability of different design styles for high-performance and low-power applications.

Fig. 1. The pseudorandom sequence.

I. INTRODUCTION

I

NTERPRETATION of published results comparing various latches and flip-flops has been very difficult because of the use of different simulation methods for their generation and presentation. In this paper, we establish a set of rules with the goal of making the comparisons fair and realistic. Simulation of the latches and flip-flops obtained by using different design styles makes this analysis more difficult in trying to achieve consistent and comparable results. There are two major results produced in the course of this work: 1) definition of the relevant set of parameters to be measured and rules for weighting their importance; 2) a set of relevant simulation conditions, which emphasize the parameters of interest. The simulation and optimization procedures have high performance as the primary goal, but we have also paid attention to the possible reductions in power consumption, given that the limitation in performance is usually imposed by the available power budget. II. ANALYSIS

all the possible cases but also to define special patterns that are to reveal the major sources of power dissipation for the given family of master–slave latches and flip-flops (for specific applications where the statistics of data is known in advance, like in data processing, it is desirable to optimize the structure for the given data distribution). presents the In our simulation, the data activity rate average number of output transitions per clock cycle. We have applied four different data sequences where ...010 101 010..., reflects the maximum internal dynamic power consumption. However, depending on the structure, the sequence ...111 111... can in some cases dissipate more power. In general, a pseudorandom sequence with equal probability of all ) is considered to reflect transitions (data activity rate the average internal power consumption given the uniform data distribution; see Fig. 1. The sequence ...111 111 111..., reflects the power dissipation of precharged nodes. reflects minimum power The sequence ...000 000 000..., consumption. Depending on the size of the precharged and static parts, internal dynamic power consumption can be estimated based on the analysis of Fig. 2. The starting point is a well-known formula for estimation of dynamic power consumption where where switching probability of node (in regard to the clock cycle); swing range coefficient of node ( for railto-rail swing); total capacitance of node ; clock frequency; rail-to-rail voltage range (supply voltage). This strategy has been generalized in Fig. 2 to describe the differences in switching activity, and therefore power consumption, for different design styles. and are calculated Capacitances from node to node in the given topology taking into account and coefficient of each node in the circuit. This the

A. Power Considerations Power consumption of a circuit depends strongly on its structure and the statistics of the applied data. Thus, power measurements should be conducted for the range of different data patterns comprising the worst and the best cases. Our goal is not only to find the range of power consumption for
Manuscript received April 10, 1998; revised October 15, 1998. V. Stojanovic is with the Faculty of Electrical Engineering, University of Belgrade, Serbia, Yugoslavia. V. G. Oklobdzija is with Integration Corp., Berkeley, CA 94708 USA (email: vojin@nuc.berkeley.edu). Publisher Item Identifier S 0018-9200(99)02434-8.

0018–9200/99$10.00 © 1999 IEEE

STOJANOVIC AND OKLOBDZIJA: MASTER–SLAVE AND FLIP-FLOP LATCHES

537

Fig. 2. Sources of internal, dynamic power consumption.

approach is essential for determining the strategy for the power budget needed to meet the performance requirements. As all nodes in static structures switch uniformly and only represents for zero-to-one and one-to-zero transitions, the total effective capacitance of the circuit charged and/or discharged in each cycle. Semidynamic structures are generally composed of a dynamic (precharged) front end and static output part. This is why we designated two major effective capacitances: and , each representing the corresponding part of the circuit. It is shown in Fig. 2 that these two capacitances have different charging and discharging activities. In Fig. 2, semidynamic structures were further differentiated into single-ended and differential structures. This was done in order to emphasize the switching activity’s independence from data statistics (and therefore higher average power consumption) in the case of differential structures. The total effective precharge capacitance is comprised of two effective capaciand , which tances of the same size, represent the two complementary halves of the precharged differential tree. The second problem that we encountered was the measurement of the power dissipated by the latch. We used the .MEASURE average power statement in HSPICE to measure the power dissipation of interest. The results were compared with the earlier power-measurement method presented in [2] and showed the same level of accuracy. We identified three main sources of power dissipation in the latch: • internal power dissipation of the latch, excluding the power dissipated for switching the output loads; • local clock power dissipation, which presents the portion of the power dissipated in the local clock buffer driving the clock input of the latch;

• local data power dissipation, which presents the portion of the power dissipated in the logic stage driving the data input of the latch. This provides us with a good illustration of the total power dissipated in the latch and its surroundings. If we do not take into account all those sources of power consumption, the results will be misleading because of the possible tradeoffs among the three. Parameter total power refers to the sum of all three measured kinds of power. We excluded the power spent on switching of the output loads because its addition can make the results misleading in a way that for the load that we applied, it presented a large portion of the latch’s intrinsic power consumption. Another important detail is that we measured the power dissipated by the circuit driving the inputs of the latch to determine the local clock and data power dissipation parameters. Only the portion of that power (the one dissipated on driving the input capacitances) was calculated as relevant. But there is still a question of the overall power dissipated by the clock. Structures with large clock load require larger inverters in the clock tree and increase the power consumed by the clock. The problem is partially solved by the introduction of local clock regenerators like those used in the PowerPC 603 processor [12], which are usually used to generate the second phase of the clock and/or to incorporate the scan signal. Given the variety of clocking techniques, one cannot include these details in the overall comparison of different latches. However, one has to be aware of that fact and judge the results of the comparison accordingly. B. Timing Many authors [5], [14] refer to Clk-Q delay, setup, and hold times as the timing parameters of flip-flops and master–slave latches. For the purpose of clarification, we will repeat the

538

IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 34, NO. 4, APRIL 1999

Fig. 3. StrongArm110 flip-flop, stable, metastable, and failure regions.

Fig. 4. StrongArm110 flip-flop, critical timing zones.

definitions of these parameters as stated by Unger and Tan in corresponds to Clk: [1], where terminal propagation delay from the terminal to the terminal, assuming that the signal has been set early enough relative to the leading edge of the pulse; setup time, the minimum time between a change pulse and the triggering (latching) edge of the such that, even under the worst conditions, the will be guaranteed to change so as to output value, assuming that become equal to the new pulse is sufficiently wide; the hold time, the minimum time that the signal must be held constant after the triggering (latching) signal so that, even under worst edge of the case conditions, and assuming that the most recent change occurred no later than prior to the output will triggering (latching) edge of , the remain stable after the end of the clock pulse (it is not unusual for the value of this parameter to be negative). Unger and Tan made this concept more precise by requiring that the change in occur sufficiently early so that making it appear any earlier would have no effect on when changes. Given that the designer’s interest is to use every possible fraction of the clock cycle, data evaluation is usually done as close to the raising edge of the clock as the setup time permits. Regarding the nature of the latching mechanisms in flipflops and master–slave latches, we tried to discover the relationship between the Clk-Q delay and the proximity of the last change in data that could cause the change at the outputs. Before we proceed, we should define the stable, metastable and failure regions, illustrated in Fig. 3. The stable region is the region of the Data-Clk (the time difference between the last transition of data and the latching clock edge) axis in which Clk-Q delay do not depend on Data-Clk time. As DataClk decreases, at a certain point Clk-Q delay starts to rise monotonously and ends in failure. This region of the Data-Clk axis is the metastable region. The metastable region is defined as the region of unstable Clk-Q delay, where the Clk-Q delay rises exponentially as indicated by Shoji in [13]. Changes in data that happen in the failure region of D-Clk are unable to be transferred to the outputs of the circuit.

The question arises: how much we can let the Clk-Q delay be degraded in the metastable region and still benefit from the increase in performance (due to the decreased - ) while maintaining reliability of operation? , as defined previously, is the value of Clk-Q delay (Fig. 3) in the stable region, and parameter is the minimum point on the D-Clk axis that is still a part of the stable region. Parameters - and Clk-Q, of the flip-flop used in the StrongArm110 processor [8] are presented in Fig. 3 as a function of D-Clk delay. In setup-time region, the Clk-Q curve rises monotonously from the value of Clk-Q delay measured in the stable region. On the other hand, the - curve has its minimum as we move the last transition of data toward the latching edge of the clock. It is clear that beyond that minimum - point, it is no longer applicable to evaluate the data closer to the rising edge of the clock. We refer to D-Clk delay at that point as the optimum setup time, which presents the limit beyond which the performance of the latch is degraded and the reliability is endangered. , Our interest is to minimize the - delay (or as defined by Unger and Tan [1]), which presents the portion of time that the flip-flop or master–slave structure takes out of the clock cycle. It will be shown later that the comparisons in terms of Clk-Q delay as a relevant performance parameter are misleading because they do not take into account the setup time and therefore the effective time taken out of the clock minimum - (as defined in Fig. 3), cycle. Since it is obvious that the cycle time will be reduced if the change in data is allowed to arrive no later than the optimum setup time before the trailing edge of the clock. In light of the reasons presented above, we accepted the minimum - delay as the delay parameter of a flip-flop or master–slave latch. As shown in Fig. 4, the metastable region consists of setup and hold zones. The last data transition can be moved all the way to the optimum setup time. The first or a late data transition is allowed to come after the hold zone. All the extractions of critical timing parameters should be done for the worst case corners and external conditions in order to ensure reliability. Since the issue of timing is in fact the issue of reliability, we have to consider one more detail. Conventional master–slave structures do not have a positive hold-time requirement because of the positive setup time. This can be discussed in

STOJANOVIC AND OKLOBDZIJA: MASTER–SLAVE AND FLIP-FLOP LATCHES

539

Fig. 5. Hybrid design, timing analysis.

the worst case for the hold time, i.e., a master–slave latch in a shift register. If the previous master–slave latch had the last change in data in the stable region (and thus the minimal Clk-Q delay after the rising edge of the clock), the following latch would have been critical if its hold time had been larger than the Clk-Q delay of the previous latch. As conventional master–slave structures have positive setup time, and thus in most cases negative hold time (or around zero), it is impossible for the hold time to become greater than the Clk-Q delay of the previous stage. However, a new hybrid design technique introduced by Partovi in [10], featuring a negative setup time and short transparency period, has to take into account the hold time as a reliability requirement. This is the case not only with this new technique but also with some flip-flop structures featuring negative setup time, like the sense amplifier (SA)/F-F [7] or its modification used in the StrongArm110 processor [8]. The hybrid design technique shifts the reference point of hold- and setup-time parameters from the rising edge of the clock to the falling edge of the buffered clock signal, which presents the end of the transparency period. In this way, the setup and hold times measured in reference to the rising edge of the clock (as conventionally defined for flip-flops) are the functions of the width of the transparency period because their real reference point is the end of that period (just like in custom transparent latches). Since the hybrid design style is one of the best choices for high-performance systems, we will try to clarify this concept. This advanced concept merges the good features of both transparent-latch and flip-flop (master–slave latch) design styles. High-performance designs often use transparent latches, which provide the so-called cycle-stealing feature and reduce the length of the clock cycle [1]. These designs provide “soft clock edge”—i.e., absorption of the clock skew—but suffer from the racethrough and positive hold-time requirements, and thus require careful timing analysis.

Techniques that use flip-flops or master–slave latches suffer from positive setup time (which reduces the performance) and sensitivity to clock skew but eliminate hold-time violation and racethrough events. The main idea of the hybrid design technique is to shorten the transparency period of a latch to a small time interval. In this way, the risk of racethrough is nearly eliminated, and the negative setup time and the absorption of the clock skew are retained. The operation of the hybrid structures can be easily understood if they are regarded as the classical transparent latches with the shortened period of transparency. The pulse of the clock is not shortened, but the raising edge of the clock generates the pulse that enables the transparency of the structure. We will consider the rising edge of the clock as the synchronization point (like in flip-flop or master–slave latch designs). The real latching edge is the falling edge of the transparency pulse. The timing analysis is presented in Fig. 5. The “real” parameters are obtained with respect to the latching edge of the pulse and do not depend on the width of the transparency period. The “virtual” parameters are obtained with respect to the synchronization point, i.e., the rising clock edge, and thus are functions of both the “real” parameters and the width of the transparency pulse. Case 1 and Case 2 illustrate the methods of calculation of all the mentioned parameters and their mutual dependence. Since the width of the transparency window affects the race analysis, hold-time requirements, and clock-skew tolerance, it is very important to have local control over the transparency period. Setup and hold parameters mentioned in the following sections are addressing the “virtual” parameters, since the goal is to view the structures from the functional point of flip-flops and master–slave latches, which both have the synchronization point.

540

IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 34, NO. 4, APRIL 1999

Fig. 8. Delay versus generalized width Fig. 6. Modified C2 MOS master–slave latch, power-delay tradeoff.

w.

Fig. 9. Power-delay tradeoff, PDP versus generalized width Fig. 7. Power versus generalized width

w.

w.

C. Power-Delay Product A tradeoff between speed and power is always possible. In high-performance and low-power applications, both features are equally important. The point of minimum power-delay product is the point of optimal energy utilization at a given clock frequency. To illustrate this, we show the power-delay tradeoffs in the case of a modified C MOS master–slave latch in Fig. 6. Since this structure is relatively simple and symmetrical, because it consists of gated inverters, it was easy to express all critical transistor widths as functions of one variable. Given the variety of design styles, it is not always simple to express the power-delay tradeoff as a function of one common variable. This makes the optimization more difficult, along with the fact that delay and power parameters as defined in the previous analysis cannot be obtained at the same time, thus causing the optimization procedure to be iterative. The power versus diagram in Fig. 7 indicates the proportional relationship between power and generalized transistor width , while Fig. 8 shows the nearly inversely proportional dependence of delay on generalized width parameter . The rates of change of delay and power versus are not the same, and lead to the minimum of the PDP function, i.e., the point of optimal energy efficiency, marked as . The symbol “ ” in Figs. 7–11 marks the point of the best power-delay tradeoff. The approximate results could be derived from the first-order power and delay analysis, which will not be repeated here. On the basis of these assumptions, all the presented structures were optimized to reach the point

Fig. 10. Power-delay tradeoff, PDP versus power.

of minimal PDP . The simplified procedure presented above is not as accurate as the real optimization procedure, but was used here primarily to clarify the principal. The PDP parameter is the product of the delay and total as the overall power parameters. We have chosen PDP performance parameter for comparison in terms of speed and power. III. SIMULATION A. Test Bench To extract the parameters of interest, we defined simulation conditions, which include setting up a test bench and the selection of the device model used.

STOJANOVIC AND OKLOBDZIJA: MASTER–SLAVE AND FLIP-FLOP LATCHES

541

TABLE I OUTPUT POWER DISSIPATION

Fig. 11.

Power-delay tradeoff, PDP versus delay.

Fig. 12.

The simulation test bench.

The role of the test bench shown in Fig. 12 is to provide the realistic data and clock signals, the fanout signal degradation from the previous and to the succeeding stage, and measurement of power dissipated on switching of the clock and data inputs. Buffering inverters in Fig. 12 provide the realistic data and clock signals, which themselves are fed from ideal voltage sources. Furthermore, capacitive load at the data input simulates the fanout signal degradation from previous stages. Capacitive loads at the outputs simulate the fanout signal degradation caused by the succeeding stages. As mentioned in the section on power considerations, there are three kinds of power dissipation that were measured in order to get the real insight in the amount of power consumed in and around the latch due to its presence. • Local data power dissipation presents the portion of the gray inverter’s power consumption (Fig. 12) dissipated on switching the data input capacitance. • Local clock power dissipation presents the portion of the black inverter’s power consumption (Fig. 12) dissipated on switching the clock input capacitance.

• Internal power dissipation includes the intrinsic power dissipated on switching the internal nodes of the circuit and excludes the power dissipated on switching the output load capacitances Cl. Buffering inverters dissipate power even without any external load (due to their internal capacitances). Thus, we applied the following procedure. We interpolated the total measured power dissipation of the inverter over the wide range of loads. The local clock power dissipation parameter was then calculated as the difference in power dissipation of the black inverter when loaded with latch and when unloaded. The local data power dissipation parameter was calculated as the difference in power dissipations of the gray inverter when loaded with latch and Cl and when loaded only with Cl. This approximation appeared to be fairly good for the wide range of load capacitances. Yuan and Svensson took a similar approach in [15] by setting the drain and source capacitance parameters to zero, thus minimizing the internal inverter power consumption. Since these are the major but not the only sources of internal power consumption, we applied the correction method presented above as the most accurate. The other reason was that we wanted the “real” inverters, and not the ones with degraded parameters, to drive the inputs of our latch. The reason for exclusion of the power spent on output loads was that for the given load Cl fF, that portion of power reached the values presented in Table I. We decided to load the circuits with heavy load in order to estimate their driving capabilities and simulate the critical situations in pipelines. Thus, we decided to exclude the power spent on that load in order to get a fair picture of the circuit’s power behavior. All power measurements were conducted for 16-cycle-long data sequences. The pseudorandom data sequence used to illustrate the average power dissipation is presented in Fig. 1. Due to the topological differences among the existing latches, some of them required a modified test bench, i.e., a dual input and/or a single output. However, these modifications did not alter the principal of the analysis approach based on the simulation conditions. Parameters of the MOS model used in our simulations and simulation conditions are shown in Table II. For the given fF that was used as technology, the load capacitance Cl the input and the output load equals the load of the 22 minimal u u). inverters (wp/wn B. Transistor-Width Optimization We optimized all structures in terms of both speed and power. All structures were optimized for the same fixed load in order to compare them under the same conditions. For

542

IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 34, NO. 4, APRIL 1999

TABLE II SIMULATION PARAMETERS

TABLE III GENERAL CHARACTERISTICS

smaller loads, the differences in performance would become less apparent since the driving capability of the design would lose importance. We used the Levenberg–Marquardt optimization algorithm embedded in HSPICE. The search direction of this algorithm is a combination of the steepest-descent and the Gauss–Newton method. It has a good feature of the optimization toward the goal stated in the .MEASURE statements. The main point of the optimization is the minimization of the power-delay product, given the always-present tradeoff between power and speed. Instead of using PDP, which is the product of Clk-Q delay and internal power dissipation, we used PDP . The first step in the process is the optimization of both the Clk-Q delay and the total power, which essentially presents the optimization in terms of PDP with the addition of the total power parameter. The next step is the calculation of the minimum - taken as the delay parameter. Now, when we obtain the second parameter delay, we have to make the correction in the next optimization iteration using the delay parameter instead of Clk-Q and optimizing the real PDP . Since the measurements of the delay and total power cannot be made in one step, several iterations are needed to achieve satisfying results. We did not make the attempt in the direction of automating the process since that was not the main purpose of our research. However, the automated tools are needed especially because the existing ones consider the Clk-Q delay

as a relevant parameter for the optimization. The following example illustrates the difference between the two approaches. If we consider the master–slave latch and try to optimize it in terms of the classical PDP (Clk-Q * internal power) the result will be a minimal master latch optimized for low power and a slave latch optimized for both speed and power. The “optimized” structure will have an excessively large setup time, thus requiring the larger clock cycle to meet the timing requirements. The reason for such a result is that the optimizer does not “see” the real performance through Clk-Q delay. Our delay parameter would take that into account, and the master and slave latches would both be optimized in terms of PDP . The transistor widths of optimized structures are shown on each schematic. They are expressed relative to the minimum width in the given technology. IV. RESULTS We have chosen a set of representative latches and flipflops. All of them have been designed for use in either high-performance or low-power processors. The results of the simulations shown in Table III are measured for the pseudorandom data sequence (Fig. 1) with equal probability of all transitions. We assumed that the distribution of data transitions is uniform, and thus the above-mentioned sequence presents the illustration of average power consumption.

STOJANOVIC AND OKLOBDZIJA: MASTER–SLAVE AND FLIP-FLOP LATCHES

543

Fig. 13.

Single-ended structures, overall delay comparison.

Fig. 16. Modified C2 MOS latch.

Fig. 14.

Differential structures, overall delay comparison.

Fig. 17. HLFF.

Fig. 15.

PowerPC 603 master–slave latch.

Figs. 13 and 14 illustrate the speed characteristics of the presented structures. For the sake of a fair comparison, structures were differentiated in two groups, as single ended and differential. In Fig. 13, a group of hybrid structures features negative setup time and thus superior performance characteristics over the group of master–slave structures featuring positive setup time and therefore reduced performance. In Fig. 14, K6 ETL, SA-F/F, and StrongArm110 flip-flop outperform the static SSTC and DSTC master–slave latches due to the slightly negative setup-time property and shortened latency. The PowerPC master–slave latch (Fig. 15), presented in [12], is one of the fastest classical structures. Its main advantages are a short direct path and low-power feedback. But one has to keep in mind another aspect of this structure—its large clock load, which greatly influences the total power consumption on-chip. The modification of the standard dynamic C MOS master–slave latch (Fig. 16) has shown good low-power properties featuring small clock load, achieved by the local clock buffering, and low-power feedback, assuring fully static operation. The circuit is somewhat slower than the PowerPC

603 master–slave latch. The faster pullup in the PowerPC 603 master–slave latch is achieved by the use of complementary pass-gates, which also increase the sensitivity to racethrough in the period of one gate delay in which the two phases overlap. Unlike the classical C MOS structure, modified C MOS is robust to clock-slope variation due to the local clock buffering. Hybrid-latch flip-flop (HLFF) (Fig. 17), presented in [10], is one of the fastest structures presented. It also has a very small PDP . The major advantage of this structure is its soft-edge property, i.e., its robustness to clock skew. One of the major drawbacks of the hybrid design in general is the positive hold time, discussed in Section II-B. Due to the single-output design, the power-consumption range of the HLFF is comparable to that of the static circuits. However, depending on the power distribution, precharged structures can dissipate more than static structures for data patterns with more “ones.” Hybrid design appears to be very suitable for highperformance systems with little or no penalty in power when compared to classical static structures. Another interesting approach to hybrid design is the semidynamic flip-flop (SDFF) structure (Fig. 18) presented in [16]. It is the fastest of all the presented structures. The significant advantage over HLFF is that there is very little performance penalty for embedded logic functions. The disadvantages are bigger clock load and larger effective precharge capacitance, which results in increased power consumption for data patterns with more “ones.” This is still the most convenient structure

544

IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 34, NO. 4, APRIL 1999

Fig. 18.

Semidynamic flip-flop.

Fig. 20. Sense-amplifier flip-flop.

Fig. 19.

K-6, dual-rail ETL.

for applications where speed is of primary importance, without a big penalty in power consumption. The K6 edge-triggered latch (Fig. 19), presented in [11], is very fast but its differential structure, along with the precharge and self-reset property, causes very high power consumption independent of the data pattern. We have to point out some details about the design of the SA-F/F [7] and the flip-flop used in StrongArm110 [14] (Figs. 20 and 21). The precharged sense-amplifier stage is very fast, but the set–reset latch almost doubles the delay because of asymmetric rise and fall times. This not only degrades speed but also causes glitches in succeeding logic stages, which increase total power consumption. Therefore, the flipflop used in the StrongArm110 low-power processor lacks the delay budget, which can be traded for power. The results of its counterpart SA-F/F are little better when compared under the same conditions, but suffer from zero floating output nodes of the sense amplifier when data change during the high phase of the clock. Both the precharged sense-amplifier in SA-F/F and StrongArm110 FF and the self-reset stage in K6 ETL have the very useful feature of monotonous transitions at the outputs, i.e., always from zero to one or from one to zero, which is essential for driving the succeeding fast domino stages. This property of the sense-amplifier stage was used in the highperformance WD21264 Alpha processor [9], where sense amplifiers were used as dynamic flip-flops. These structures also have very small clock load.

Fig. 21. StrongArm110 flip-flop.

Fig. 22. SSTC master–slave latch.

The master latch in SSTC (Fig. 22) and DSTC (Fig. 23), presented in [5], suffers from substantial voltage drop at the outputs due to the capacitive coupling effect between the common node of the slave latch and the floating high output driving node of the master latch. This effect occurs on the rising edge of the clock, when the master latch becomes opaque and the

STOJANOVIC AND OKLOBDZIJA: MASTER–SLAVE AND FLIP-FLOP LATCHES

545

TABLE IV TIMING PARAMETERS

Fig. 24. Ranges of PDPtot , single-ended structures. Fig. 23. DSTC master–slave latch.

slave latch transparent. One of the outputs of the master latch is left floating high and is capacitively coupled with the drain of the clocked transistor in the slave latch. The voltage drop that occurs on the common node of the slave latch when the clock goes high decreases the driving capability of the floating high output of the master latch. This causes an increase in delay and short-circuit power consumption in the slave latch, which tends to dominate dynamic power consumption. The presented capacitive-coupling effect along with the problems associated with the glitches at the data inputs, noted by Blair in [6], result in relatively lower performance as compared with other presented latches. Due to the effects described above, SSTC and DSTC have somewhat weaker driving capabilities than the rest of the structures. In shift registers, where the circuits have a very light load, they perform very well, as shown in [5] and [15]. Detailed timing parameters of the presented structures are shown in Table IV. One can emphasize that the Clk-Q delay parameter does not illustrate the real performance of the circuit. A more relevant and severe constraint is minimum . Timing results also show that some (mostly differential) design styles suffer from unequal low-to-high and high-to-low delays, which cause glitches and short-circuit power consumption in the succeeding logic stages, making the styles less desirable for low-power design. Figs. 24 and 25 present the ranges and distribution of PDP for different data patterns and for two major design

Fig. 25. Ranges of PDPtot , differential structures.

styles, single ended and differential. The ranges of PDP were obtained using different data sequences reflecting minimum, maximum, and average power consumption and corresponding PDP . The symbol “ ” designates the point of power dissipation PDP ) an for average-activity data pattern. Among single-ended structures, the PowerPC 603 master–slave latch and HLFF show the best compromise between speed and power, followed by the classical modified C MOS master–slave latch and the hybrid SDFF. Hybrid structures are faster but consume more power than fully static master–slave designs due to the precharge nature of the front-end stage. The semidynamic nature of the hybrid circuits causes different power-dissipation dependence on data distribution than fully static master–slave structures.

546

IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 34, NO. 4, APRIL 1999

Fig. 28. Differential structures, total power range versus delay. Fig. 26. Local clock power consumption.

Fig. 29. Single-ended structures, total power range versus Clk-Q delay.

Fig. 27.

Single-ended structures, total power range versus delay.

Differential latches based on differential cascode voltage switch logic style suffer from uneven rise and fall times, which can cause glitches and short-circuit power dissipation in succeeding logic stages. Yet, differential structures have the unique property of differential signal amplification. Since dynamic power consumption depends on the square of voltage swing, great power savings can be made by reducing the voltage swing of the signals in the circuit. In that case, the logic in the pipeline operates with reduced voltage swing signals, and latches have the role of signal amplifiers, i.e., swing recovery circuits [7]. Thus, the logic in the pipeline, and not the latches themselves, is the party that saves power. The overall power dissipation of such pipeline structures is decreased, but the latches themselves are not ideal low-power structures when tested solely. This is why they appear to have a bad compromise between power and delay in comparison with single-ended structures. In high-performance systems, clock power consumption is an important issue because of the portion that it takes from the total power budget. The local clock power parameter illustrates the clock load imposed by the latch. The amount of power consumed for driving the clock inputs of each structure is shown in Fig. 26. Results presented in Figs. 27–30 clearly show that the assumptions made regarding Clk-Q as a relevant performance indicator can be fairly misleading, especially in the analysis of master–slave structures, which tend to have positive setup times.

Fig. 30. Differential structures, total power range versus Clk-Q delay.

This is illustrated in Fig. 29, where the PowerPC 603 master–slave latch becomes the “fastest,” the modified C MOS master–slave latch becomes as “fast” as HLFF and DSTC, and the SSTC master–slave latches become comparable to other structures in terms of “speed.” Figs. 31 and 32 illustrate the distribution of major parameters over the four chosen data patterns. The different design styles exhibit different power and PDP distributions depending on the specific features of the design. As mentioned in Section II, four different data patterns reveal the sources of power dissipation dominant in different design styles. • ..010 101 01.. causes maximum switching activity in fully static circuits and in static parts of semidynamic structures. • A random sequence utilizing equal transition probability gives the general estimate of average power dissipation, given the uniform data distribution.

STOJANOVIC AND OKLOBDZIJA: MASTER–SLAVE AND FLIP-FLOP LATCHES

547

Fig. 31.

PDPtot dependence on data statistics.

Fig. 32.

Internal power dependence on data patterns.

• ..111 111 11.. causes maximum switching activity in precharge, dynamic parts of the semidynamic structures. • ..000 000 00.. reveals the amount of leakage current power consumption and the amount dissipated in local clock processing, like in hybrid structures and modified C MOS master–slave latches. The example of SDFF in Fig. 32 shows that, depending on the size of the precharge node capacitance, power consumption can be bigger for the ..111 111.. sequence (zero data activity) than for the ..010 101.. sequence (maximum data activity). This is because the precharge node is charged and discharged during the clock cycle only if data are high, which enables the discharge. If data are low, no discharge will occur, the high level of the precharged node will remain high, and it will not be charged again in the precharge phase of the next clock cycle. Similarly, the differential dynamic nature of K-6 ETL causes data-independent power dissipation because for any data pattern, each of the sides in a differential tree is switching, as are the corresponding output parts, since the outputs are dynamic too.

Measurements of internal power consumption (especially in the case of PowerPC 603 master–slave latch) show that it can be far less than total power consumption due to the large amount of power dissipated in driving the clock and data inputs. Modified C MOS master–slave latches and single-ended hybrid structures (HLFF and SDFF) dissipate a large amount of power in local clock processing (buffering) in order to decrease the clock load seen from the clock tree. This is shown in Fig. 32 for the ..000 000 00.. data pattern. Similarly, precharge activity of the sense-amplifier stage in the SA-F/F and StrongArm110 flip-flop can be determined from internal power consumption for ..000 00.. and ..111 11.. data patterns.

V. CONCLUSION For systems where high performance is of primary interest within a certain power budget, hybrid, semidynamic designs present a very good choice, given their negative setup time and small internal delay.

548

IEEE JOURNAL OF SOLID-STATE CIRCUITS, VOL. 34, NO. 4, APRIL 1999

Fully static MS latches are suitable for low-power applications, where speed is not of primary importance. Among different single-ended design styles, our work has stated two as the most suitable for low-power applications: the lowpower pass-gate style used in PowerPC 603 and the low-power modified C MOS style. Among differential structures, SA-F/F and StrongArm flipflop offer the best compromise in terms of both power and speed despite the speed bottleneck in the output stage. These structures offer interface to the low swing logic families and probably present the mainstream of future design styles. The problem of consistency in analysis of various latch and flip-flop designs was addressed. A set of consistent analysis approaches and simulation conditions has been introduced. We strongly feel that any research on latch and flip-flop design techniques for high-performance systems should take these parameters into account. The problems of the transistor width optimization methods have also been described. Some hidden weaknesses and potential dangers in terms of reliability of previous timing parameters and optimization methods were brought to light. ACKNOWLEDGMENT The authors gratefully acknowledge suggestions by and numerous discussions with B. Nikolic, which greatly improved this paper and helped them clarify some concepts. They are thankful for the technical support provided by Hitachi America Research Labs, Dr. Y. Hatano, and Dr. R. Bajwa for their insight in simulation and proper evaluation environment as well as numerous discussions on this subject. They thank S. Oklobdzija for improving the language and presentation of this paper. REFERENCES
[1] S. H. Unger and C. Tan, “Clocking schemes for high-speed digital systems,” IEEE Trans. Comput., vol. C-35, pp. 880–895, Oct. 1986. [2] G. J. Fisher, “An enhanced power meter for SPICE2 circuit simulation,” IEEE Trans. Computer-Aided Design, vol. 7, May 1988. [3] J. Yuan and C. Svensson, “CMOS circuit speed optimization based on switch level simulation,” in Proc. Int. Symp. Circuits and Systems (ISCAS’88), 1988, pp. 2109–2112. [4] , “Principle of CMOS circuit power-delay optimization with transistor sizing,” in Proc. Int. Symp. Circuits and Systems (ISCAS’96), 1996, vol. 1, pp. 62–69. [5] , “New single-clock CMOS latches and flipflops with improved speed and power savings,” IEEE J. Solid-State Circuits, vol. 32, Jan. 1997. [6] G. M. Blair, “Comments on new single-clock CMOS latches and flipflops with improved speed and power savings,” IEEE J. Solid-State Circuits, vol. 32, pp. 1610–1611, Oct. 1997. [7] M. Matsui, H. Hara, Y. Uetani, K. Lee-Sup, T. Nagamatsu, Y. Watanabe, A. Chiba, K. Matsuda, and T. Sakurai, “A 200 MHz 13 mm2 2-D DCT macrocell using sense-amplifier pipeline flip-flop scheme,” IEEE J. Solid-State Circuits, vol. 29, pp. 1482–1491, Dec. 1994. [8] J. Montanaro, R. T. Witek, K. Anne, A. J. Black, E. M. Cooper, D. W. Dobberpuhl, P. M. Donohue, J. Eno, W. Hoeppner, D. Kruckemyer, T. H. Lee, P. C. M. Lin, L. Madden, D. Murray, M. H. Pearce, S. Santhanam, K. J. Snyder, R. Stephany, and S. C. Thierauf, “A 160MHz, 32-b, 0.5-W CMOS RISC microprocessor,” IEEE J. Solid-State Circuits, vol. 31, pp. 1703–1714, Nov. 1996. [9] B. A. Gieseke, R. L. Allmon, D. W. Bailey, B. J. Benschneider, S. M. Britton, J. D. Clouser, H. R. Fair, J. A. Farrell, M. K. Gowan, C. L. Houghton, J. B. Keller, T. H. Lee, D. L. Leibholz, S. C. Lowell, M. D. Matson, R. J. Matthew, V. Peng, M. D. Quinn, D. A. Priore, M. J. Smith, and K. E. Wilcox, “A 600 MHz superscalar RISC microprocessor

[10] [11]

[12]

[13] [14] [15] [16]

with out-of-order execution,” in ISSCC Dig. Tech. Papers, Feb. 1997, pp. 176–177, 451. H. Partovi, R. Burd, U. Salim, F. Weber, L. DiGregorio, and D. Draper, “Flow-through latch and edge-triggered flip-flop hybrid elements,” in ISSCC Dig. Tech. Papers, Feb. 1996, pp. 138–139. D. Draper, M. Crowley, J. Holst, G. Favor, A. Schoy, J. Trull, A. BenMeir, R. Khanna, D. Wendell, R. Krishna, J. Nolan, D. Mallick, H. Partovi, M. Roberts, M. Johnson, and T. Lee, “Circuit techniques in a 266-MHz MMX-enabled processor,” IEEE J. Solid-State Circuits, vol. 32, pp. 1650–1664, Nov. 1997. G. Gerosa, S. Gary, C. Dietz, P. Dac, K. Hoover, J. Alvarez, H. Sanchez, P. Ippolito, N. Tai, S. Litch, J. Eno, J. Golab, N. Vanderschaaf, and J. Kahle, “A 2.2 W, 80 MHz superscalar RISC microprocessor,” IEEE J. Solid-State Circuits, vol. 29, pp. 1440–1452, Dec. 1994. M. Shoji, Theory of CMOS Digital Circuits and Circuit FailuresPrinceton, NJ: Princeton Univ. Press, 1992. U. Ko, A. Hill, and P. T. Balsara, “Design techniques for highperformance, energy-efficient control logic,” in ISLPED Dig. Tech. Papers, Aug. 1996. C. Svensson and J. Yuan, “Latches and flip-flops for low power systems,” in Low Power CMOS Design, A. Chandrakasan and R. Brodersen, Eds. Piscataway, NJ: IEEE Press, 1998, pp. 233–238. F. Klass, “Semi-dynamic and dynamic flip-flops with embedded logic,” in 1998 Symp. VLSI Circuits Dig. Tech. Papers, Honolulu, HI, June 11–13, 1998, pp. 108–109.

Vladimir Stojanovic was born in Kragujevac, Serbia, Yugoslavia, on August 2, 1974. He received the Dipl.Ing. degree in electrical engineering from the University of Belgrade, Yugoslavia, in 1998. He currently is pursuing the M.Sc. degree in the Department of Electrical Engineering, Stanford University, Stanford, CA. In 1997–1998, he was a Visiting Scholar in the Advanced Computer Systems Engineering Laboratory, University of California, Davis, where he conducted research in the area of latches and flipflops for low-power and high-performance VLSI systems. His current research interests include analog and digital IC’s and architectures for low-power, portable systems.

Vojin G. Oklobdzija (S’78–M’82–SM’88–F’95) received the M.Sc. and Ph.D. degrees in computer science from the University of California, Los Angeles (UCLA), in 1982 and 1978, respectively. He received the Dipl.Ing. (M.Sc.E.E.) degree in electronics and telecommunication from the Electrical Engineering Department, University of Belgrade, Yugoslavia, in 1971. He was on the Faculty at the University of Belgrade until 1976. Currently he is President and CEO of Integration Corp., Berkeley, CA. He spent eight years as a Research Staff Member with the IBM T. J. Watson Research Center, Yorktown Heights, NY, where he made contributions to the development of RISC and superscalar RISC architecture and received a patent on the IBMRS/6000-PowerPC. From 1988 to 1990 he was with the University of California, Berkeley, as Visiting Faculty from IBM. His industrial experience includes positions with the Microelectronics Center of Xerox Corp. and consulting positions with Sun Microsystems Laboratories, AT&T Bell Laboratories, Siemens, Hitachi Laboratories, Sony Corp., and various others. His interests are in computer design and architecture, VLSI, fast circuits, and efficient implementations of algorithms and computation. He has received four U.S. and four European patents in the area of circuits and computer design and has six patents pending. He is the author or coauthor of more than 100 papers in the areas of circuits and technology, computer arithmetic, and computer architecture and of a book on high-performance system design. Dr. Oklobdzija is a member of the American Association of University Professors and the IEICE of Japan. He is a member of the editorial board of the IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATED (VLSI) SYSTEMS and the Journal of VLSI Signal Processing. He is a Program Committee Member of the International Solid-State Circuits Conference and was a General Cochairman of the 1997 Symposium on Computer Arithmetic. He was a Fulbright Scholar at UCLA in 1976 and a Fulbright Professor in Peru in 1991.

Similar Documents

Premium Essay

Flip Flops

...------------------------------------------------- Flip-flop (politics) From Wikipedia, the free encyclopedia "U-turn (politics)" redirects here. For the Serbian political group, see U-Turn (Serbian coalition). A "flip-flop" (used mostly in the United States), U-turn (used in the United Kingdom and Ireland), or backflip (used in Australia and New Zealand) is a sudden real or apparent change of policy or opinion by a public official, sometimes while trying to claim that both positions are consistent with each other. Often it will occur during the period prior to or following an election in order to maximize the candidate's popularity. Although the terms are often used against elected officials, non-elected public officials can also be accused of flip-flopping. Ben Bernanke, chairman of the U.S. Federal Reserve Board, was accused of "an apparent flip-flop" in 2007.[1] Lawyers sometimes accuse their opponents of a flip-flopping as well. Contents  [hide]  * 1 Examples * 2 History * 3 Exculpatory, ameliorating and aggravating circumstances affecting public reaction * 4 Non-political use * 5 See also * 6 References | ------------------------------------------------- [edit]Examples The charge was originally used to attack politicians for advocating contradictory policies, often during elections, and frequently while denying the self-contradiction. * Example 1: "Candidate A, after finding out that weapons of mass destruction won't likely be found in Iraq, flip-flopped to keep Candidate...

Words: 1883 - Pages: 8

Free Essay

Synopsis of Flip Flop

... FLIP-FLOP & ITS APPLICATIONS This project is about the flip-flop and its applications in digital electronics. A flip-flop is a synchronous version of the latch. The first electronic flip-flop was invented in 1918 by William Eccles and F.W. Jordan. It was initially called the Eccles–Jordan trigger circuit and consisted of two active elements (vacuum tubes).Such circuits and their transistorized versions were common in computers even after the introduction of integrated circuits, though flip-flops made from logic gates are also common now .Today, the term flip-flop has come to mostly denote non-transparent (clocked or edge triggered) devices, while the simpler transparent ones are often referred to as latches. The word latch is mainly used for storage elements, while clocked devices are described as flip-flops. There are a number of types of Flip-flops such as: - Set-Reset Flip-flops, also known as SR Flip-flops - Toggle Flip-Flops - JK Flip Flops - Master–slave pulse-triggered D flip-flop - D Flip Flops - Gated latches and conditional transparency Flip-flops are essentially 1-bit storage devices .i.e. outputs can be set to store either 0 or 1 depending on the inputs. A flip-flop in combination with a Schmitt trigger can be used for the implementation of an arbiter in asynchronous circuits. Flip-flop integrated circuits (ICs) also exist that provide one or more flip-flops. We can use any one of the flip-flop type to build any of the...

Words: 310 - Pages: 2

Free Essay

Flip Flops and Latches

...Flip-Flops & Latches Digital Electronics Flip-Flops & Latches This presentation will • Review sequential logic and the flip-flop. • Introduce the D flip-flop and provide an excitation table and a sample timing analysis. • Introduce the J/K flip-flop and provide an excitation table and a sample timing analysis. • Review flip-flop clock parameters. • Introduce the transparent D-latch. • Discuss flip-flop asynchronous inputs. 2 Sequential Logic & The Flip-Flop Inputs . . Combinational Logic Gates . . Outputs Clock Memory Elements (Flip-Flops) 3 D Flip-Flop: Excitation Table D D Q CLK   Q 0 1 Q 1 0 0 1 CLK Q  : Rising Edge of Clock 4 D Flip-Flop: Example Timing Q=D=1 Q=D=0 Q=D=0 No Change Q=D=1 Q=D=1 No Change Q=D=0 Q=D=0 No Change Q D CLK 5 J/K Flip-Flop: Excitation Table J J CLK K Q K 0 1 0 1 CLK     Q Q0 No Change Clear Set Toggle 0 Q 0 1 1 0 1 Q0  : Rising Edge of Clock Q : Complementof Q 6 J/K Flip-Flop: Example Timing SET TOGGLE TOGGLE CLEAR NO CHANGE SET NO CHANGE Q J K CLK 7 Clock Edges Positive Edge Transition 1 0 1 0 Negative Edge Transition 8 POS & NEG Edge Triggered D Positive Edge Trigger D D Q CLK   Q 0 1 Q 1 0 0 1 CLK Q  : Rising Edge of Clock Negative Edge Trigger D D Q CLK   Q 0 1 Q 1 0 9 0 1 CLK Q  : Falling Edge of Clock POS...

Words: 714 - Pages: 3

Free Essay

Flip-Flops and Related Devices

...Flip-Flops and Related Devices Multiple Choice 1 . A "D" flip-flop utilizing a PGT clock is in the CLEAR state. Which of the following input actions will cause it to change states? [Hint] CLK = NGT, D = 0 CLK = PGT, D = 0 CLOCK NGT, D = 1 CLOCK PGT, D = 1 Both a and c 2 . Which statement BEST describes the operation of a negative-edge-triggered D flip-flop? [Hint] The logic level at the D input is transferred to Q on NGT of CLK. The Q output is ALWAYS identical to the CLK input if the D input is HIGH. The Q output is ALWAYS identical to the D input when CLK = PGT. The Q output is ALWAYS identical to the D input. 3 . The circuit that is primarily responsible for certain flip-flops to be designated as edge-triggered is the: [Hint] edge-detection circuit. NOR latch. NAND latch. pulse-steering circuit. 4 . As a general rule for stable flip-flop triggering, the clock pulse rise and fall times must be: [Hint] very long. very short. at a maximum value to enable the input control signals to stabilize. of no consequence as long as the levels are within the determinate range of value. 5 . Determine the output frequency for a frequency division circuit that contains twelve flip-flops with an input clock frequency of 20.48MHz. [Hint] 10.24 kHz 5kHz 30.24kHz 15kHz 6 . An active-HIGH input S-C latch has a 1 on the S input and a 0 on the C input. What state...

Words: 1551 - Pages: 7

Premium Essay

Havaianas Business Model

...Summary Havaianas is a Brazilian brand of rubber flip-flops and has 80% of the Brazilian flip flop market. Havainas distribute approximately 162 million sandals annually, of which 20% goes to more than 80 countries of the five continents. In addition, Havaianas can be found in more than 200 thousands points of sale (only 1,700 in the United States) and exports reach to 30 million pairs. Last year sales reached U$ 800 million worldwide. The investment in the marketing of the brand is 12% of 13$ of the net income and has kept Havaianas in the grow trajectory. After 51 years and many models later, this simple rubber flip flop has conquered the foot of the Hollywood stars, international magazines and main fashion stores around the world. Product • The idea of the product was inspired by the Zori (Japanese sandals made of rice straw or other plant fibers). • The Havaianas are simple flip-flops with a sophisticate look. They are made out of rubber, which is a natural product and national resource. The sandals ensure comfort and a durable product. • Today the brand sells 23 models on 60 colors of flip-flops worldwide. They are all very similar but with small adjustments for the given public. The most successful model is the original Havaiana Top Brazil, which has a small Brazilian flag on the stripe and is responsible for 64% of the global sales. In Brazil, the Havaianas are also known as the nation footwear, it goes from the janitor until...

Words: 620 - Pages: 3

Free Essay

Filp Flops

...Flip-Flops Basic concepts Flip-Flops  A flip-flop is a bi-stable device: a circuit having 2 stable conditions (0 or 1)  3 classes of flip-flops    latches: outputs respond immediately while enabled (no timing control) pulse-triggered flip-flops: outputs response to the triggering pulse edge-triggered flip-flops: outputs responses to the control input edge A. Yaicharoen 2 1/51 Conventions     The circuit is set means output = 1 The circuit is reset means output = 0 Flip-flops have two output Q and Q′ or (Q and Q) Due to time related characteristic of the flipflop, Q and Q′ (or Q) are usually represented as followed:   Qt or Q: present state Qt+1 or Q+: next state A. Yaicharoen 3 1/51 4 Types of Flip-Flops SR flip-flop S 0 0 1 1 R 0 1 0 1 Qt+1 Qt 0 1 Q’t+1 Q’t 1 0 JK flip-flop J 0 0 1 1 K 0 1 0 1 Qt+1 Qt 0 1 Q’t Q’t+1 Q’t 1 0 Qt Prohibited D flip-flop D 0 1 1/51 T flip-flop Q’t+1 1 0 A. Yaicharoen Qt+1 0 1 T 0 1 Qt+1 Qt Q’t Q’t+1 Q’t Qt 4 SR Latch An SR (or set-reset) latch consists of    S (set) input: set the circuit R (reset) input: reset the circuit Q and Q’ output: output of the SR latch in normal and complement form S 0 0 1 1 R 0 1 0 1 Qt+1 Qt 0 1 Q’t+1 Q’t 1 0 Prohibited Application example: a switch debouncer 1/51 A. Yaicharoen 5 SR latch 1/51 A. Yaicharoen 6 An application of the SR latch (a) Effects of contact bounce. (b) A switch debouncer...

Words: 689 - Pages: 3

Free Essay

Gay Marriage

...1. Objectives - Design of the synchronous finite state machine (FSM) with D-flip-flops and multiplexers - Verification of the circuit behavior with a CAD tool 2. Problem description Design the synchronous 4-bit counter which outputs follow the predetermined repeated sequence of states. The sequence of states represents the sequence of decimal digits of your ID number with the following exceptions: (1) digits which appear more than ones have to be deleted; (2) digit 9 has to be added at the end of the sequence if your ID has no 9. For example, for ID number 105123456 the second 1 and 5 are deleted and 9 is added at the end resulting in sequence 10523469. In the binary form the sequence is shown in Figure 1. The initial state is not critical. State 9 should be decoded to generate special signal SYNC shown in denominator in Figure 1. In the prelab: the circuit behavior has to be verified in OrCAD. The maximum clock frequency has to be calculated using timing specs of the flip-flops and multiplexers (logical gates) from datasheet. In the experiment: first, the functionality of the counter has to be tested with a pushbutton that controls the clock and a 7-segment LED display connected to the outputs. Finally, the counter sequence should be demonstrated with the logic analyzer synchronized with SYNC signal, 4inputs of the logic analyzer should be grouped into a bus. 3. Approaches Outputs of four D-flip-flops Q3Q2Q1Q0 serve as outputs of the counter. Next states Q*3Q*2Q*1Q*0 are formed...

Words: 1781 - Pages: 8

Free Essay

Bt0064 Smu Bsc It - Digital Logic

...Bachelor of Science in Information Technology (BScIT) – Semester 1/ Diploma in Information Technology (DIT) – Semester 1 BT0064 – Digital Logic ------------------------------------------------- Assignment Set – 1 Q1. Convert the following octal numbers to base 10 a.  273      Answer: 187 b. 1021     Answer: 529 Q2. What is a logic gate? Answer: When we deal with logical circuits (as in computers), we not only need to deal with logical functions; we also need some special symbols to denote these functions in a logical diagram. There are three fundamental logical operations, from which all other functions, no matter how complex, can be derived. These functions are named and, or, and not. Each of these has a specific symbol and a clearly-defined behavior, as follows: | | The AND GateThe AND gate implements the AND function. With the gate shown to the left, both inputs must have logic 1 signals applied to them in order for the output to be a logic 1. With either input at logic 0, the output will be held to logic 0.If your browser supports the Javascript functions required for the demonstrations built into this page, you can click the buttons to the left of the AND gate drawing to change their assigned logic values, and the drawing will change to reflect the new input states. Other demonstrations on these pages will work the same way.There is no limit to the number of inputs that may be applied to an AND function, so there is no functional limit to the number...

Words: 1845 - Pages: 8

Free Essay

Smartphone

...design of 3-bit counter with D flip-flops • Follow same procedure as before, building up the transition table • The difference is in the inputs needed for the flip-flops: the behaviour of a D flip-flop is much simpler: - Qn+1 = D - i.e. Q output after clock transition = D input at transition (which depends on the present states of the flip-flops) - value of Qn (before clock transition) has no direct effect - it is just a simple memory cell (latch) • There are no “don’t care” inputs for a simple counter, which leads to more complicated logic. State transition table for 3-bit counter with D flip-flops The ‘present state’ and ‘next state’ columns are the same as for the JKs present state label 0 1 2 3 4 5 6 7 C 0 0 0 0 1 1 1 1 B 0 0 1 1 0 0 1 1 A 0 1 0 1 0 1 0 1 label 1 2 3 4 5 6 7 0 next state C 0 0 0 1 1 1 1 0 B 0 1 1 0 0 1 1 0 A 1 0 1 0 1 0 1 0 inputs needed DC 0 0 0 1 1 1 1 0 DB 0 1 1 0 0 1 1 0 DA 1 0 1 0 1 0 1 0 Because the D flip-flops are simple memories, the inputs needed are identical to the next state. Simply copy the columns across — that’s all there is to it! K-maps for 3-bit counter with D flip-flops BA DC C 0 1 00 01 11 10 0 1 BA 0 1 1 0 0 1 There are no “don’t care” entries here. DC = A ⋅ C + B ⋅C + A ⋅ B ⋅C = ( A + B )⋅ C + A ⋅ B⋅ C = ( A⋅ B) ⋅C + ( A⋅ B) ⋅C = ( A⋅ B) ⊕ C DB = A⋅ B + A ⋅ B = A⊕ B DB C 0 1 00 01 11 10 0 0 BA 1 1 0 0 1 1 DA C 0 1 00 01 11 10 1 1 0 0 0 0 1 1 DA = A Compare expressions for JK and D flip-flops J=K A B C D 1 A A·B A·B·C D A...

Words: 671 - Pages: 3

Premium Essay

Marketing and Value : Havaianas and Dukky

...ASSESSED WORKING PROJECT HAVAIANAS & DUKKY(Chick-Fil-A) Marketing and Value 2010 Marketing Action 1: Havaianas Campaign History The history of Havaianas started in the earliest 20's, when Scotsman Robert Fraser arrived in Brazil and began manufacturing flip flops based on the traditional zori sandals, a Japanese product. At that time, sandals were very different. It was only in 1958 that Havaianas that we know today were designed with rubber. That was the birth of the trademark Havaianas (1962) In the 1960s, Havaianas were sold at small, neighbourhood stores for a low price, displayed between house cleaning products and were purchased exclusively by the lower classes. That kind of product exposition and public turned Havaianas known as “chinelos de pobre” (poor man’s flip flops). The style of the product wasn’t elaborated. The model was basic and it was available only in a limited range of colours (4 colours), even though the products were strong, durable, comfortable and cheap. And that was what made Havaianas so popular in Brazil. Indeed, one year after had been launched more than 13,000 pairs were produced every day The success made raise the interest of other companies and imitations of Havaianas began to appear in the 70’s. To respond to this movement, the company launched a campaign called “Havaianas: As Legítimas” (Havaianas: the Legitimate Ones) embodied by a famous Brazilian humorist, Chico Anysio. It was in 1988 that sales started to decline, going...

Words: 2910 - Pages: 12

Free Essay

Renting Advice

...Services: Lincoln Building, level 2 Study Skills Support Unit: more info on uni website FOCUS contacts: Email: Info@focusmacuni.org Website: www.focusmacuni.org Australian Slang Definitions: G’day Mate - HelloRidgy Didge - RealBudgy Smugglers - Swimming suit Fair Dinkum -Are you sure?Sheila - Real Banana Bender - A person from QLDBloke - ManAnkle Biter - ChildArvo - AfternoonAmbo - AmbulanceBack of Bourke - Far awayMate - Friend Bikkie - Biscuit Thongs - Flip Flop shoes (slippers) | Bloody - A way to show strong emotionFair Go - Give me a chance Gobsmacked - Speechless and Surprised Dunny - Toilet Bludger - Lazy person Hooroo -...

Words: 277 - Pages: 2

Premium Essay

Marketing and Value : Havaianas and Dukky

...http://www.termpaperwarehouse.com/essay-on/Marketing-And-Value-Havaianas-And/29819 Marketing And Value : Havaianas And Dukky In: Business and Management Marketing And Value : Havaianas And Dukky ASSESSED WORKING PROJECT HAVAIANAS & DUKKY(Chick-Fil-A) Marketing and Value 2010 Marketing Action 1: Havaianas Campaign History The history of Havaianas started in the earliest 20's, when Scotsman Robert Fraser arrived in Brazil and began manufacturing flip flops based on the traditional zori sandals, a Japanese product. At that time, sandals were very different. It was only in 1958 that Havaianas that we know today were designed with rubber. That was the birth of the trademark Havaianas (1962) In the 1960s, Havaianas were sold at small, neighbourhood stores for a low price, displayed between house cleaning products and were purchased exclusively by the lower classes. That kind of product exposition and public turned Havaianas known as “chinelos de pobre” (poor man’s flip flops). The style of the product wasn’t elaborated. The model was basic and it was available only in a limited range of colours (4 colours), even though the products were strong, durable, comfortable and cheap. And that was what made Havaianas so popular in Brazil. Indeed, one year after had been launched more than 13,000 pairs were produced every day The success made raise the interest of other companies and imitations of Havaianas began to appear in the 70’s. To respond to this movement, the...

Words: 358 - Pages: 2

Premium Essay

Caso Das Havaianas

...Historical Context 8 Industry Analysis 9 Objectives 12 Budgeting 14 Critical Issues – Challenges and Opportunities 14 Strategy/Tactics/Execution/Integration/IMC Campaign 15 Copy-Message strategy/Creative brief 18 Media Plan 21 Branding 22 Product and packaging recommendations 23 Pricing recommendations 23 Distribution recommendations 23 Public Relations recommendations 24 Sales Force recommendations 24 Differentiation 24 Timeline 25 Expected Outcomes/Results/Evaluation/Future Considerations 25 Appendices 26 Media Plan 26 Budget 27 Timeline 27 Works Cited 28 Introduction The product that is going to be discussed in this IMC Project is the Havaianas Sandals which is a Brazilian originated rubber flip flop that now is sold in the shelves of fancy department stores, such as Saks Fifth Avenue, Bergdorf Goodman, Galleries Lafayette, and Via Spiga, all over the world. The brand started as being a popular footwear for all Brazilians to wear and then in less than four decades of existence, the brand became a fashion icon and today is worn by millionaires and famous people. The change also affected the prices of the product; depending on the model, the price for one pair can reach more than U$ 100.00 (Mundo das Marcas ¶ 1). For this IMC it will be planned a brand campaign that has as main goal to advertise the brand in the United States in order to increase the awareness and then, the exports not only in the country but also throughout the...

Words: 8101 - Pages: 33

Free Essay

New Technologies

...The world population keeps growing, cities are becoming bigger. Right now we are living in the era of the information age; we are surrounded by thousands of devices, tons of people require more personalized services and devices at lower prices. The only way to catch up with these is through technology. In just a few years, driving a car would become a sport rather than using it as transportation. Companies would be able to provide their customers personalized products, that can really fit their needs at a low cost. These and many other innovations are about to come thank to the M2M communication, big data and the wide range of products that have been creating as a result of these technologies. The new devices offer us an incredible amount of new opportunities and possibilities beyond our imagination. I can imagine a near future being able tell my car by using my voice of where I want to go. By using GPS technology and internet to receive information of the information of the traffic report, analyzing the conditions of possible routes and checking shortcuts, or taking into account the fact that I need to fill the tank; the computer inside the car, after reading and calculating all these variables, it is going to come up with the best solution for you. During this process the system will interact with a lot of sources and it's going to be connected with many sensors and networks. Now we can consider some other factors that can make this technological innovation a little bit more...

Words: 1134 - Pages: 5

Free Essay

Havaianas

...HAVAIANAS We can find them on the shelves of the most important department stores of the world, like the Galeries Lafayette in Paris, Saks in New York and Harrods in London. They are worn by socialites, famous artists, politicians and at the same time by peasants and poor people living in Brazilian favelas. Without a doubt, they are the most democratic sandals in the world. I am talking about HAVAIANAS, an authentic Brazilian product that once was considered sandals for the poor and now are at the feet of everyone, over 60 countries. Its inspiration is a traditional Japanese thong called Zori that is made with rice straw. This explains why Havainas sole imitates the texture of rice grains. The name Havaianas from Hawaii, because when the brand was created in 1962, famous people used to spend their vacations there. Havaianas at the beginning were not as colourful as we see today. They were all white with only the sides in different colours. They were very cheap at that time, so the company used to sell about 1000 pairs everyday all over Brazil. This success started to be copied, so many imitations started to appear on the market. Havaianas then applied for a patent for its model and launched an advertising campaign with the slogan: “ Havaianas, the originals “. During the 80’s, Havainas used to sell more than 80 million of pairs in Brazil. The sandals were so important to poor people that they were inserted by the government into the list of basic products to live...

Words: 642 - Pages: 3