One Shots and Alternatives in Synchronous Digital System Design

One Shots and Alternatives in Synchronous Digital System Design

Lawrence Berkeley National Laboratory Lawrence Berkeley National Laboratory Title ONE SHOTS AND ALTERNATIVES IN SYNCHRONOUS DIGITAL SYSTEM DESIGN Permalink https://escholarship.org/uc/item/7tq8t8hn Author Hui, S. Publication Date 1979 Peer reviewed eScholarship.org Powered by the California Digital Library University of California LBL-8722 UC-37 7"> ONE SHOTS AND ALTERNATIVES IN SYNCHRONOUS DIGITAL SYSTEM DESIGN Steve Hui and John B. Meng January 1979 Prepared for the U. S. Department of Enemy under Contract W-7405-ENG-48 UtitAUigim LBL 8722 ONE SHOTS AND ALTERNATIVES IN SYNCHRONOUS DIGITAL SYSTEM DESIGN Steve Hui 8 John B. Meng January 1979 Prepared for the U.S. Department of Energy under Contract W-7405-ENG-48 NOTICE This re poll was pit pa ted is an account or work sponsored by the United States Government. Neither the United Sulci ooi the Umled Slates Depigment of Energy, nor any of their employees, nor any of their contractor*, lube on Ira clou, oi the If employees, nukes any warranty, express or implied, or auumei any legal liability •( response ill ly for (he accuracy, completene or usefulness of my information, anptiatui, product < process disclosed, c; represents thai ill me would no) infringe privately owned right*. !>TV»U;3 LBL 8722 (i) ONE SHOTS AND ALTERNATIVES IN SYNCHRONOUS DIGITAL SYSTEM DESIGN Steve Hui & John D. Meng The one shot or monostable multivibrator is quite often regarded as a "black sheep" in ditiqai integrated circuits. Its distinctions and versatility are well known and do not necessitate mentioning. Some of the potential problems with this black sheep are summarized as follows: 1. A one shot may respond to glitches either on power supplies or on ground lines. 2. Noise pick up is a potential problem. If the leads of the RC timing components are long, noise pick up will result in faultly operation. An example is having a trimmer of RC components mounted on the front panel and the one shot on the printed circuit board a few inches away. 3. Faulty operation of a one shot is freouently not a complete integrated circuit failure, such as stickina at one or zero. It is intermittent, making troubleshooting relatively difficult. 4. Incomplete triggerinq has been observed. When the width of the triggering pulse narrows sufficiently, the output width may decrease drastically out not disappear. There may be problems if the one shot's output pulse is used for driving more than one device. Detection of these problems are not easy. LBL 8722 (2) Even if technology eliminates all of the above problems, one shots still have the following undesirable features in digital systems: 1. In usinq a one shot, we potentially have the problem of having the pulse width too long or too short, requiring adjustment. Such trimming is undesirable in systems which must be mass reproduced 2. It is very convenient, for debuqging if one can step through a system's operation one clock pulse at a time. Such a single stepping scheme may not work with systems including one shots., For example, assume a system is malfuntioning at normal clock rate. Suppose the input to the one shot changes durinq the output pulse and the output pulse is extended. At a slow clock rate or with single step clocking, the condition causing such problems is not. present ano the cause may not be identified. (If it. is a fullv synchronous system, the time relationship between all signal changes and state changes remains unchanged in spite of the clock beina fast or slow. We can do sinqle step clocking). 3. As mentioned previously, a one shot's failure is very likely not a sticking at one or zero, but today, fault detection and location are often based on sticking at one or zero. Consequently, implementation and automation of fault detection, fault recovery and correction are oriented towards this capability. Typical examples are LBL 8722 diagnostic software and firmware for computer based systems and fully automatic fault location for digital systems. They check states ot the machines but not the transients. (In a manual mode of fault location, logic analyzers can spot transients). 4. A one shot is an asynchronous circuit. Placing a one shot in a synchronous circuit may destroy some of the virtues of being synchronous. In a fully synchronous circuit, circuit states only change on clock edges. During the time between these clock edges, the entire circuit remains unchanged, independent of the environment. That is, the circuit is immune to transients and noise except for the short time during clock edaes. Using one shots in a synchronous circuit may eliminate this very desirable advantage. The above is not to suagest complete elimination of one shots from our applications. The one shot is a useful device, an excellent, choice for certain applications. In othpr applications, particularly in sychronous riioital circuits, alternatives to one shots are worth considering. Some of these alternatives for synchronous circuits are offered and implemented below: Replacement ot Urte Shots by Flip Flops and Gates in Synchronous Circuits A. Input triggers an output pulse of one clock period as in Figure 1. The input in Figure 1 must be synchronous with the circuit and longer than one clock period for reliable LBL 8722 (4) operation. There is always one pulse generated for each time the input goes from low to high, regardless of the time the input stays high. B. Input trigqers an output pulse of two clock periods in Fiqure 2 and three clock periods in Figure 3. The conditions in A above also apply here. C. Input triggers an output of four or more clock periods in Figure 4. The conditions in A above also apply here. The counter used in this scheme must be "synchronous load" and long output pulse widths can be achieved by cascading counters. Case B can also use this method if cost is not a serious consideration. D. Inpjt triggers a delayed output pulse as in Figure 5. The delay and pulse width can be lengthened cascading counters. The conditions of case A also apply here. The above designs from Case A to case E are intended for fully snychronous circuits (preset and clear inputs are not used), making them applicable in hiqh speed application. T.he tolerance on nulse width generated is equal to the tolerance on clock rate. No trimming and adjustments are required Replacement of 'Jne Shots by Delay Lines Complexity (number of connections) and requirements for synchronous inputs are disadvantages of the above approaches. Simplicity, asynchronous inputs, improved reliability and accuracy can be obtained at hiqher cost by using delay lines as shown in Figure 6. The input pulse width must be longer than the delay caused by the delay line. TTL, LSTTL and ECL delay lines are commercially LBL 8722 available with excellent specificiations. Programmable, multiple output (different delay times) delay lines are also available. Delay lines are expensive (about 510 apiece) but are compact, reliable and excellent, for accurate timing purposes. For example, timing in a dynamic memory is a good application for delay lines. The delay line approach and the flip flop and counter approach can be combined or mixed to meet different cost, reliability, delay and pulse width requirements. Replacement of One Shot Functions with Other Methods If exactness of pulse width is not of importance while cost and simplicity are, the approaches in Fiqures 7 and 8 are handy. Care must be taken in choosinq the capacitor value, which should be small. These approaches are suitable for qeneratinq pulses in the nanosecond ranqe. Fiaure 9 is an example of usinq a one shot integrated circuit (IC) not as a one shot. We utilize the schmidt trigger inside the IC and the RC components for generating a delay. CLOCK 5 V JinTLRJUL j 6 INPUT _y o % CLK > •{> TW ^1 K 0 o OUTPUT 5 V. 5 V. TIMING SYNCHRONOUS INPUT , =r> J 9 OUTPUT TWS1 CLOCK PERIOD CLK.- > CLK = CLOCK INPUT 5 V.- K 0 INITIALLY 0 = ZERO 5 V. JK FLIP FLOP: 74LS112 OR 74S112 FIGURE - 1: INPUT TRIGGERS AN OUTPUT PULSE OF ONE CLOCK PERIOD XSL 7812-14024 5 V. CLOCK SYNCHRONOUS INPUT >— o J e OUTPUT jui_n.njifL CLK > INPUT K 0 - T'V 5 V. OUTPUT 5 V. JL TIMING J e CLK > INITIALLY $ - ZERO K § •{> T TWa 1 CLOCK PERIOD 5 y. FIGURE -2 : INPUT TRIGGERS AN OUTPUT PULSE OF TWO CLOCK PERIODS. XBL 7812-14025 -— OUTPUT r 5 V, 5 V. CLOCK SYNCHRONOUS A. JinnrLTLrL -j e J 9 INPUT > ^Z> INPUT \\ CLK —0> CLK- > -K e K 6 TW OUTPUT 5 V. ~r 5 V. 5 V. INITIALLY $ = ZERO J 9 CLK = CLOCK CLK TW^l CLOCK PERIOD -t> K 6 ~T 5 V. FIGURE - 3: INPUT TRIGGERS AN OUTPUT PULSE OF THREE CLOCK PERIODS. XBL 7812-14026 SETTING OF PULSE WIDTH CLOCK 5 V IENT ENP INPUT \\ 74LS163 CLK- <k 5 V. J— T\Wt CARRY LOAD OUTPUT SYNCHRONOUS *>—T>—* 1 \ OUTPUT INPUT > « — F^L—y ~J 9 CLK- —c> — K § INITIALLY $ = ZERO 5 V. CLK - CLOCK TWS? 1 CLOCK PERIOD 5 V. J 9 CLK- -t> K 9 5 V. FIGURE - 4: INPUT TRIGGERS AN OUTPUT PULSE OF VARIABLE PULSE WIDTH XRl 7812-14027 FIGURE 5: INPUT TRIOGP^S AH OUTPUT PULSE WITH VA'Wf-LE DELAY AMD n"LSE WIDTH SETTING OF DELAY SETTING Or PULSE WIDTH 5 V 5 V i£NT ENT ENP ENP 74LS163 7ALS153 CLK- n 5 V. 5 V CARRYu CARRY LOAD LOAD -t> J e J 0 jdfcio OUTPUT INPUT CLK- > CLK — K r9 K 9 5 V. 5 V. 5 V.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    17 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us