...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
...INTERVIEW /VIVA QUES VLSI DESIGN AND TECHNOLOGY DOWNLOADED FROM: www.freewebs.com\sbalpande\microprocessor c@ S. Balpande. faculty in ET dept ,RCET,Bhilai. DOWNLOADED FROM: www.freewebs.com\sbalpande\microprocessor CMOS interview questions. 1/ What is latch up? Latch-up pertains to a failure mechanism wherein a parasitic thyristor (such as a parasitic silicon controlled rectifier, or SCR) is inadvertently created within a circuit, causing a high amount of current to continuously flow through it once it is accidentally triggered or turned on. Depending on the circuits involved, the amount of current flow produced by this mechanism can be large enough to result in permanent destruction of the device due to electrical overstress (EOS) 2)Why is NAND gate preferred over NOR gate for fabrication? NAND is a better gate for design than NOR because at the transistor level the mobility of electrons is normally three times that of holes compared to NOR and thus the NAND is a faster gate. Additionally, the gate-leakage in NAND structures is much lower. If you consider t_phl and t_plh delays you will find that it is more symmetric in case of NAND ( the delay profile), but for NOR, one delay is much higher than the other(obviously t_plh is higher since the higher resistance p mos's are in series connection which again increases the resistance). 3)What is Noise Margin? Explain the procedure to determine Noise Margin The minimum amount of noise that can be allowed on the input stage...
Words: 8607 - Pages: 35
...TTL Cookbook BY Don Lancaster A Division of M t i c e Hall ComputerPublishing 11 711 Nonh College, Cmel, Indiana 46032 USA " 1974 by SAMS A Division of Prentice Hall Computer Publishing. All rights reserved. No parts of this book shall be reproduced, stored in a retrieval system, or transmitted by any means. electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. While every precaution has been taken in the preparation of this book, the publisher assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. International Standard Book Number: 0-672-21035-5 Library of Congress Catalog Card Number: 73-90295 Interpretation of the printing code: the rightmost double-digit number of the first column is the year of the book's printing; the rightmost double-digit number of the second column, the number of the book's printing. For example, a printing code of 92-23 shows that the twenty-third printing of the book occurred in 1992. Printed in the United States of America. Preface I don't like to revise books. Correct, yes. Revise, no. So I won't. A book becomes history the instant it appears in print. To tamper with history messes with what others and I were thinking at the time and distorts the way things...
Words: 89774 - Pages: 360
...Given a flip-flop circuit, Determine how the circuit will behave for a sequence of inputs. Be able to use a flip-flop to store a single bit. Basic Circuit Here's a basic circuit that involves just two NAND gates. There are two inputs to this circuit, X and Y. Can you generate a truth table for this circuit? * Note that there is no connection where the two wires running from the output back to the input cross. Let's address that issue of the truth table. Here is a truth table for you to fill in. (Print this web page if you want to work on it.) X | Y | P | Q | 0 | 0 | | | 0 | 1 | | | 1 | 0 | | | 1 | 1 | | | Let's review what you know about this circuit. We can focus on what happens when X= 0, and Y = 0, the first entry in the truth table above. * If X = 0, then P = 1. We know that if either input to a NAND gate is 0, the output is 1. * Now. try to take advantage of the knowledge that P = 1. If P = 1 AND Y = 0, then Q = 1. It doesn't matter what P is, as long as Y = 0, Q will be 1. * That gives us the first entry in the truth table above. Here's the truth table with what we have figured out so far. X | Y | P | Q | 0 | 0 | 1 | 1 | 0 | 1 | | | 1 | 0 | | | 1 | 1 | | | Now, let's address the second entry in the truth table. In that situation, X = 0, and Y = 1. * If X = 0, then P = 1. We know that if either input to a NAND gate is 0, the output is 1. That's...
Words: 4041 - Pages: 17
...(Beirut) AMERICAN UNIVERSITY OF SCIENCE & TECHNOLOGY FACULTY OF ENGINEERING DEPARTMENT OF COMPUTER AND COMMUNICATIONS ENGINEERING CCE 220: Digital Systems Spring Term 2013-2014 INSTRUCTOR CLASS HOURS Mr. Michel Owayjan MWF Room: 3:00 pm - 3:50 pm 404, Block B OFFICE HOURS M-W-F 2:00 pm - 3:00 pm T-TH 12:00 am - 1:00 pm Otherwise by appointment Room: 805, Block A COURSE OBJECTIVES This is a sophomore-level course which addresses the fundamentals of digital systems needed to develop the ability of the student in understanding the concepts related to this area of engineering. The objective is to train the students on the various tools used to solve problems related to the design of digital systems. These include: i) binary number system; ii) conversion between number systems; iii) Boolean algebra; iv) logic gates; v) Karnaugh maps; vi) combinational and sequential logic; vii) SSI and MSI design; viii) flip-flops; ix) counters; x) registers; xi) memories; and, xii) state machines. The problem solving and experimental skills of the student in the above areas are enhanced by a co-requisite Laboratory Course held on a weekly basis. COURSE PREREQUISITES CSI 201: Introduction to Computing PREREQUISITES BY TOPICS The student should have the general background in computers and algebra. COURSE CREDITS 3 Credit Hours INSTRUCTION TECHNIQUE Lectures will be used predominantly. These will be supported by problem sets and design projects, which include virtual instrumentation...
Words: 1685 - Pages: 7
...Frederick D. Hackworth, Jr. Table of Contents Chapter 1 - Ladder Diagram Fundamentals Chapter 2 - The Programmable Logic Controller Chapter 3 - Fundamental PLC Programming Chapter 4 - Advanced Programming Techniques Chapter 5 - Mnemonic Programming Code Chapter 6 - Wiring Techniques Chapter 7 - Analog I/O Chapter 8 - Discrete Position Sensors Chapter 9 - Encoders, Transducers, and Advanced Sensors Chapter 10 - Closed Loop and PID Control Chapter 11 - Motor Controls Chapter 12 - System Integrity and Safety Preface Most textbooks related to programmable controllers start with the basics of ladder logic, Boolean algebra, contacts, coils and all the other aspects of learning to program PLCs. However, once they get more deeply into the subject, they generally narrow the field of view to one particular manufacturer's unit (usually one of the more popular brands and models), and concentrate on programming that device with it's capabilities and peculiarities. This is worthwhile if the desire is to learn to program that unit. However, after finishing the PLC course, the student will most likely be employed in a position designing, programming, and maintaining systems using PLCs of another brand or model, or even more likely, many machines with many different brands and models of PLC. It seems to the authors that it would be more advantageous to approach the study of PLCs using a general language that provides a thorough knowledge of programming concepts that...
Words: 73061 - Pages: 293
...stack pointer and the program counter. They are described briefly as follows. The 8085/8080A has six general-purpose registers to store 8-bit data; these are identified as B,C,D,E,H, and L as shown in the figure. They can be combined as register pairs - BC, DE, and HL - to perform some 16-bit operations. The programmer can use these registers to store or copy data into the registers by using data copy instructions. Accumulator The accumulator is an 8-bit register that is a part of arithmetic/logic unit (ALU). This register is used to store 8-bit data and to perform arithmetic and logical operations. The result of an operation is stored in the accumulator. The accumulator is also identified as register A. Flags The ALU includes five flip-flops, which are set or reset after an operation according to data...
Words: 5300 - Pages: 22
...Most I/O devices interface to the CPU in a fashion quite similar to memory. Indeed, many devices appear to the CPU as though they were memory devices. To output data to the outside world the CPU simply stores data into a "memory" location and the data magically appears on some connectors external to the computer. Similarly, to input data from some external device, the CPU simply transfers data from a "memory" location into the CPU; this "memory" location holds the value found on the pins of some external connector. An output port is a device that looks like a memory cell to the computer but contains connections to the outside world. An I/O port typically uses a latch rather than a flip-flop to implement the memory cell. When the CPU writes to the address associated with the latch, the latch device captures the data and makes it available on a set of wires external to the CPU and memory system (see Figure 7.1). Note that output ports can be write-only, or read/write. The port in Figure 7.1, for example, is a write-only port. Since the outputs on the latch do not loop back to the CPU's data bus, the CPU cannot read the data the latch contains. Both the address decode and write control lines must be active for the latch to operate; when reading from the latch's address the decode line is active, but the write control line is not. Figure 7.1 A Typical Output Port Figure 7.2 shows how to create a read/write input/output port. The data written to the output port loops...
Words: 3087 - Pages: 13
...2011; accepted 18 May 2011 Abstract A model depicting competitive technoeconomics of business structures specific to mobile-platforms is developed. The underlying co-evolution of large, competing enterprises of mobile-platforms that face customerchurning due to application-preferences and pricing structures in the deregulated ambient is viewed in the perspectives of nonlinear logistic systems akin to that of biological ecosystems. Relevant considerations are decided by and embodied with several stochastically-interacting subsystems. Hence, the temporal dynamics of competition/co-evolution of known competitors in the mobile-platform market, like Android, Symbian and iPhone is depicted by a novel model posing dichotomy of prey-predator flip-flops in the market; and, an asymptotic projection of ex post computations of underlying technoeconomics into the ex ante region would correspond to futuristic forecasts on the performance of test platforms. Further, computed results are exemplified with a sample calculation and associated sensitivity details. Keywords: Mobile-platform, Co-evolution, Competition, Prey-predator model, Technoeconomic forecasting 31 Perambur Neelakanta Raef Yassin A Co-Evolution Model of Competitive Mobile Platforms: Technoeconomic Perspective Journal of Theoretical...
Words: 11617 - Pages: 47
...computer architecture like failure in operating system and other hardware issues raised in our daily lives among them there is a soft error issues which is also called as semiconductor transient faults. This fault occurred by the cosmic rays or substrate alpha particle that can also have possibly corrupt the user data. A soft error event causes enough of a charge disturbance to reverse or flip the data state of a memory cell, register, latch, or flip-flop. [1] The error is called “soft” because the circuit/device itself is not permanently damaged by the radiation; if new data are written to the bit, the device will store it correctly. The soft error is also often referred to as a single event upset(SEU). If the radiation event is of a very high energy, more than a single bit maybe affected, creating a multi-bit upset (MBU) as opposed to the more likely single bit upset[2] background 1 Alpha particles and cosmic rays Alpha particles are emitted by the reaction of trace uranium and thorium impurities are added into the materials and shown cause of soft errors in DRAM devices. Alpha...
Words: 1857 - Pages: 8
...Course Code Course Title Assignment Number Maximum Marks Weightage Last Dates for Submission : : : : : : MCS-012 Computer Organisation and Assembly Language Programming MCA(1)/012/Assign/2011 100 25% 15th April, 2011 (For January Session) 15th October, 2011 (For July Session) There are four questions in this assignment, which carries 80 marks. Rest 20 marks are for viva voce. You may use illustrations and diagrams to enhance the explanations. Please go through the guidelines regarding assignments given in the Programme Guide for the format of presentation. Answer to each part of the question should be confined to about 300 words. Question 1: (a) Perform the following arithmetic operations using binary signed 2’s complement notation for integers. You may assume that the maximum size of integers is of 10 bits including the sign bit. (Please note that the numbers given here are in decimal notation) (3 Marks) i) Ans: Add – 498 and 260 ii) Ans: Subtract 456 from – 56 Page 1 iii) Ans: Add 256 and 255 (b) Convert the hexadecimal number: FA BB C9 into binary, octal and decimal. Ans1: (FA BB C9)16 = (0110011001001011000111)2 Ans2: (FA BB C9)16 = (77735711)8 Ans3: (FA BB C9)16 = (16759753)10 (1 Mark) (c) Convert the following string into equivalent ASCII code – “Copyright © 2001 - 2011”. Include ASCII code of spaces between words in the resultant ASCII. Are these codes same as that used in Unicode? (2 Marks) Ans: 43h6fh70h79h72h69h67h68h74h20h28h43h29h20h32h30h30h30h20h32h ...
Words: 7501 - Pages: 31
...Component 01 - Computing Principles | AS-Level (H046) | A-Level (H446) | 1 The characteristics of contemporary processors, input, output and storage devices | Structure and function of the processor | The Arithmetic and Logic Unit (ALU), Control Unit and registers: Program Counter (PC), Accumulator (ACC), Memory Address Register (MAR), Memory Data Register (MDR), Current Instruction Register (CIR).Buses: data, address and control: How this relates to assembly language programs.The fetch-decode-execute cycle, including its effect on registers.The factors affecting the performance of the CPU, clock speed, number of cores, cache.Von Neumann, Harvard and contemporary processor architecture. | The use of pipelining in a processor to improve efficiency. | Types of processor | The differences between, and uses of, CISC and RISC processors.Multicore and parallel systems. | GPUs and their uses (including those not related to graphics). | Input, output and storage | How different input output and storage devices can be applied as a solution of different problems.The uses of magnetic, flash and optical storage devices.RAM and ROM.Virtual storage. | | 2 Software and software development | Operating systems | The need for, function and purpose of operating systems.Memory management (paging, segmentation and virtual memory).Interrupts, the role of interrupts and Interrupt Service Routines (ISR), role within the fetch decode execute cycle.Scheduling: round robin, first come...
Words: 1302 - Pages: 6
...the essentials of Linda Null and Julia Lobur JONES AND BARTLETT COMPUTER SCIENCE the essentials of Linda Null Pennsylvania State University Julia Lobur Pennsylvania State University World Headquarters Jones and Bartlett Publishers 40 Tall Pine Drive Sudbury, MA 01776 978-443-5000 info@jbpub.com www.jbpub.com Jones and Bartlett Publishers Canada 2406 Nikanna Road Mississauga, ON L5C 2W6 CANADA Jones and Bartlett Publishers International Barb House, Barb Mews London W6 7PA UK Copyright © 2003 by Jones and Bartlett Publishers, Inc. Cover image © David Buffington / Getty Images Illustrations based upon and drawn from art provided by Julia Lobur Library of Congress Cataloging-in-Publication Data Null, Linda. The essentials of computer organization and architecture / Linda Null, Julia Lobur. p. cm. ISBN 0-7637-0444-X 1. Computer organization. 2. Computer architecture. I. Lobur, Julia. II. Title. QA76.9.C643 N85 2003 004.2’2—dc21 2002040576 All rights reserved. No part of the material protected by this copyright notice may be reproduced or utilized in any form, electronic or mechanical, including photocopying, recording, or any information storage or retrieval system, without written permission from the copyright owner. Chief Executive Officer: Clayton Jones Chief Operating Officer: Don W. Jones, Jr. Executive V.P. and Publisher: Robert W. Holland, Jr. V.P., Design and Production: Anne Spencer V.P., Manufacturing and...
Words: 118595 - Pages: 475
...How RAM Works 0 Page 1 2 3 4 Computer Hardware Image Gallery MORE ON RAM * RAM Quiz * Does adding RAM make your computer faster? * How to Add RAM to Your Desktop * How to Add RAM to Your Laptop Random access memory (RAM) is the best known form of computer memory. RAM is considered "random access" because you can access any memory cell directly if you know the row and column that intersect at that cell. The opposite of RAM is serial access memory (SAM). SAM stores data as a series of memory cells that can only be accessed sequentially (like a cassette tape). If the data is not in the current location, each memory cell is checked until the needed data is found. SAM works very well for memory buffers, where the data is normally stored in the order in which it will be used (a good example is the texture buffer memory on a video card). RAM data, on the other hand, can be accessed in any order. Similar to a microprocessor, a memory chip is an integrated circuit(IC) made of millions of transistors and capacitors. In the most common form of computer memory, dynamic random access memory (DRAM), a transistor and a capacitor are paired to create amemory cell, which represents a single bit of data. The capacitor holds the bit of information -- a 0 or a 1 (see How Bits and Bytes Work for information on bits). The transistor acts as a switch that lets the control circuitry on the memory chip read the capacitor or change its state. A capacitor is like a...
Words: 3957 - Pages: 16
...Physics EEI Contents Introduction 4 Astable Multivibrators 4 Overview of the 555 Timer 5 Integrated Circuit 5 Semiconductor material 7 Current and Resistance 9 Potentiometer 10 Calculation of the Voltages 11 Transistors 11 Light Emitting Diode (LED) 14 Capacitance 14 555 Timer Operations 15 Operation in the Astable State 17 Aim, Hypothesis, and Calculations 18 Aim 18 Hypothesis 19 Materials 20 Method 20 Variables 21 Independent variable 21 Dependant variable 22 Controlled variable 22 Results 23 Table 1: Theoretical Values of varying Resistor R1 23 Table 2: Experimental values varying resistor 1 (R1) 24 Table 3: Theoretical values varying resistor 2 (R2) 25 Table 4: Experimental values varying resistor 2 (R2) 26 Data Analysis and Discussion of Trends Using Appropriate Pot 1 27 Trend 27 Matching the Frequencies of the Chosen Songs 29 Overall Results 30 Discussion 31 Conclusion 38 References 40 Appendix 43 Error Calculations 43 The extra resistor from the wires connecting the components in the circuit 43 The effect of temperature on the resistivity of the fixed resistors in the circuit 43 Calculations of best pot 44 Choice of Resistor and Pot 44 Calculation of Frequency Ranges 44 Introduction Shaping and generation of waves is done using electronic circuits known as multivibrators. These circuits produce...
Words: 8917 - Pages: 36