Flip-flops. Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid

Documentos relacionados
AUTOMATISMOS PRÁCTICAS DE PROGRAMACIÓN S7300 EN LENGUAJE DE CONTACTOS KOP

Latches, flipflops y registros

Circuitos combinacionales aritméticos (Parte II)

DISEÑO DE UN PLC DOMÉSTICO UTILIZANDO UN MICROCONTROLADOR PIC-18F4550

V.- V.-El El manejo de de las las Interrupciones

Microprocesadores, Tema 8:

Real Time Systems. Part 2: Cyclic schedulers. Real Time Systems. Francisco Martín Rico. URJC. 2011

Kuapay, Inc. Seminario Internacional Modernización de los medios de pago en Chile

9-Sistemas Secuenciales

ELO211: Sistemas Digitales. Tomás Arredondo Vidal 1er Semestre 2009

Los bloques DLL (Figura A.1) externos permiten al usuario escribir su propio código y

Repaso de funciones exponenciales y logarítmicas. Review of exponential and logarithmic functions

INGENIERÍA DE COMPUTADORES III. Solución al examen de Septiembre 2013

ARTICULO: 5810 Sistema de Posicionador Digital para Actuador Eléctrico Digital Positioning System for Electric Actuator

Introduction. SER is one of three verbs in Spanish that mean to be. SER has a variety of uses and meanings. SER has an irregular conjugation.

LABORATORIO DE CONTROL POR COMPUTADOR 4º - INGENIERIA DE TELECOMUNICACION

Electrónica Digital Departamento de Electrónica VHDL. Bioingeniería Facultad de Ingeniería - UNER

Circuitos Básicos con OAs

ELO211: Sistemas Digitales. Tomás Arredondo Vidal 1er Semestre 2008

UPV software for risk models

TEMA 12 Circuitos secuenciales

CONTROLADORA PARA PIXELS CONPIX

Dispositivos Lógicos Programables

Natural Sciences 3. Module 3: Matter (Materia.)

ICTP Latin-American Advanced Course on FPGADesign for Scientific Instrumentation. 19 November - 7 December, 2012

Sistemas Digitales y el Entrenador Lógico CE300.

LECTOR PROXIMIDAD 4K AUTONOMO STANDALONE 4K PROXIMITY READER REF: HI / /14

Agustiniano Ciudad Salitre School Computer Science Support Guide Second grade First term

Telling Time in Spanish Supplemental Hand-out

Los seres vivos/ living things. CONOCIMIENTO DEL MEDIO 3º DE PRIMARIA

Convertidor Digital /Análogo

ADAPTACIÓN DE REAL TIME WORKSHOP AL SISTEMA OPERATIVO LINUX

TIPS: Understanding Overspray

Sierra Security System

GUÍA DE USUARIO USER GUIDE 2.1 Multimedia Speaker System Design Line APPSP2102

Instructor: She just said that she s Puerto Rican. Escucha y repite la palabra Puerto Rican -for a man-.

OSCILLATION 512 (LM 3R)

Connecting Cloudino Connector to FIWARE IoT

Organización de Aviación Civil Internacional GRUPO DE EXPERTOS SOBRE MERCANCÍAS PELIGROSAS (DGP) VIGESIMOQUINTA REUNIÓN

Setting Up an Apple ID for your Student

Los ensayos que se van a desarrollar son los siguientes:

CIRCUITOS SECUENCIALES

Entrevista: el medio ambiente. A la caza de vocabulario: come se dice en español?

Creating your Single Sign-On Account for the PowerSchool Parent Portal

INDICE Control de dispositivos específicos Diseño asistido por computadora Simulación Cálculos científicos

MANUAL DE INSTRUCCIONES / USER'S GUIDE VD53


EIE SISTEMAS DIGITALES Tema 7: Latches, Flip-Flops y Temporizadores. Nombre del curso: Sistemas Digitales Nombre del docente: Héctor Vargas

Autor: Arrieta Martínez, Gonzalo. RESUMEN DEL PROYECTO

FPGA: Herramientas de diseño

FCC Information : Warning: RF warning statement:

GUÍA DE USUARIO PC Bienvenidos al mundo Perfect Choice. Antes de comenzar a usar el producto es importante que leas esta guía.

Qué viva la Gráfica de Cien!

FPGA Design Techniques. Cristian Sisterna, MSc Universidad Nacional de San Juan Argentina

DDR Qualified Vendors List (QVL) DIMM socket support (Optional)

Creating a Dynamic Section View of an Assembly By Ing. Jorge Garza Ulloa, MC

Study Packet for the Regents Exam (5 pages)

Sistema basado en firma digital para enviar datos por Internet de forma segura mediante un navegador.

Vimar By-phone. Your home on your mobile phone.

Condiciones y Reglas de la presentación de Declaración Sumaria de Salida (EXS)

TSQM (Version 1.4) Treatment Satisfaction Questionnaire for Medication

In the following you see an example of a SPAC calculation run. BKtel systems Seite 1/8

Fun with infinitives

Shortcut to Informal Spanish Conversations Level 2 Lesson 1

74 Prime Time. conjetura Suposición acerca de un patrón o relación, basada en observaciones.

MIPS: Modelo de programación. (I Parte)

Tema VI: Memorias y Dispositivos de Lógica Programable (PLDs)

Lengua adicional al español IV

5.- ENTRADAS/SALIDAS DIGITALES

Electrónica Digital. Fco. Javier Expósito, Manuel Arbelo, Pedro A. Hernández Dpto. de Física Fundamental y Experimental, Electrónica y Sistemas

INSTRUCCIONES PARA ENVIAR SU PELICULA PARA LA VIDEOLIBRERIA

Adjectives. By Lic. Hector Chacon

1) Through the left navigation on the A Sweet Surprise mini- site. Launch A Sweet Surprise Inicia Una dulce sorpresa 2016

Tutorial de ModelSim PE Student Edition

MANUAL EASYCHAIR. A) Ingresar su nombre de usuario y password, si ya tiene una cuenta registrada Ó

Volatilidad: Noviembre 2010 Futuros Frijol de Soya

1) Yo/ asistir. 2) Yo / ser. 3) Yo / tener. 4) Yo / lograr. 5) Yo / trabajar. Some questions to consider: Future Tense:

Vermont Mini-Lessons: Leaving A Voic

Instructor: Do you remember how to say the verb "to speak"? Instructor: How do you ask a friend Do you speak Spanish?

International Olympiad in Informatics July 2011, Pattaya City, Thailand. Loros (Parrots)

MP SERIES. Ver

En cuanto al diseño Hardware, a parte de la síntesis de circuitos en VHDL ( Very High

RFID TEMPERATURE SENSOR. Autor: Polo Tascón, David. Director: Kramer, Kathleen. Entidad colaboradora: Advantageous Systems LLC.

UNIVERSIDAD DEL CARIBE UNICARIBE. Escuela de Informática. Programa de Asignatura

FLIP FLOPS PRÁCTICA 8

An explanation by Sr. Jordan

NOTICE OF ERRATA MEDICARE Y USTED 2006 October 18, 2006

Propedéutico de Programación

LAP MODULADOR QAM ANEXO A / B WT-3303

EXERCISES. product of one of them by the square of the other takes a maximum value.

Arm Theraband Exercises: Standing

Este proyecto tiene como finalidad la creación de una aplicación para la gestión y explotación de los teléfonos de los empleados de una gran compañía.

SISTEMA DE CONTROL LÓGICO PROGRAMABLE (PLC) SOBRE HARDWARE EMBEBIDO Y BAJO SISTEMA OPERATIVO LINUX

CUANDO LA MUSA SE HACE VERBO VERSOS CORTOS POEMAS DE AMOR POEMAS DE DESAMOR Y POEMAS CORTOS SPANISH EDITION

Servicio de Reclamos Amadeus Guía Rápida

manual de servicio nissan murano z51

Sistemas Secuenciales

Objective: To create a Celebrity Family Tree by MAKING LINKS and THINKING CREATIVELY!

KMR SCA-05 Mounting Instructions Instrucción de Montaje Instruções de Montagem

FACULTAD DE INGENIERÍAS Y ARQUITECTURA ESCUELA ACADÉMICO PROFESIONAL DE INGENIERÍA ELECTRÓNICA Y TELECOMUNICACIONES : SISTEMAS DIGITALES I SÍLABO

Transcripción:

Flip-flops Luis Entrena, Celia López, Mario García, Enrique San Millán Universidad Carlos III de Madrid 1

igital circuits and microprocessors Inputs Output Functions Outputs State Functions State Microprocessor ALU Combinational Sequential Registers RAM ROM Control Peripherals Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 2

Outline l Introduction The flip-flop as the basic memory element Flip-flop classification l Asynchronous flip-flops l Synchronous flip-flops l Synchronous flip-flops with asynchronous inputs l Flip-flop control logic l Timing characteristics l Synchronous circuits l Circuits with flip-flops: chronograms Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 3

1. Introductión: flip-flops l l efinition: Circuit storing an information bit. It has two stable states, logic 0 and logic 1. The state does not change until the control inputs allow it. Classification Control logic: inputs determining the new state, T, SR, JK Syncronism: Asynchronous: can change the state in response to any input, at any time Synchronous: they have a control input that states when the state can change Level-triggered Edge-triggered Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 4

2. Asynchronous flip-flop l SR asynchronous flip-flop S= 1 => Set R= 1 => Reset S=R= 0 => Keep state l Characteristics Memory: it keeps the state if inputs are not active Asynchronous: the state changes inmediately if R or S are activated 0 1 0 1 On Off S R Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 5

Asynchronous flip-flop l State keeping circuit 1 0 1 0 1 0 Two stable states l With control signals R S R / 0 0 / Keep state 1 0 1 0 Set S / 0 1 1 1 0 1 0 0 Reset Forbidden state Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 6

3. Level-triggered synchronous flip-flop l It has a control signal that allows the state to be changed l Level-triggered synchonous Flip-flop (-latch) C= 1 => state changes to value C= 0 => keep state C / C 0 1 / C 0 X 1 0 1 1 / / 0 1 1 0 Keep state Assign 0 Assign 1 Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 7

Edge-triggered synchronous flipflop l Edge-triggered synchonous flip-flop LATCH Edge detector / Clk C / Edge detector tp,inv Clk C Clk /Clk Bad solution due to technology. Inverter delay is not controllable. C Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 8

Master-Slave synchronous flipflop l Two latches active with opposite levels MASTER M SLAVE E = C C Clk Master Slave Master Slave Clk M E l l E changes only in clock rising edges E new value is value just before the clock edge Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 9

Edge triggered synchonous flipflop l l l l The one used most Only changes in clock edges (normally rising edges) The output change takes place just before the edge The output new value is taken from input just before the edge Clk Clk Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 10

4. Synchronous flip-flops with asynchronous inputs l Synchronous flip-flops with asynchronous inputs for initialization Clear: asynchronous initialitation to 0 Preset: asynchronous initialitation to 1 Usually low-level active preset / preset clear clear Clk Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 11

5. Flip-flop control logic l Flip-flop inputs control the way the state is changed Kinds of flip-flops depending on the inputs:,t,jk,sr Enable signal: Allows/prevents the state to change In nof enabled, the state is kept Synchronous initialization Set to 0 ir 1 in a synchronous way Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 12

Flip-flop control logic l Working tables escribe functionality flip-flop (ata) 0 1 0 1 T flip-flop (Toggle) T 0 1 / SR flip-flop (Set-Reset) S R 0 0 0 1 1 0 0 1 JK flip-flop (Jump & Kill) J K 0 0 0 1 1 0 1 1 0 1 / l Transition tables escribes the new state in terms of the present state and input values flip-flop 0 0 0 0 1 0 1 0 1 1 1 1 T flip-flop T 0 0 0 0 1 1 1 0 1 1 1 0 Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 13

Flip-flop control logic l Flip-flops with enable E / flip-flop E 0 X 1 0 0 T flip-flop E 0 X 1 0 T E / 1 1 1 1 1 / E 0 1 / T E T / Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 14

Flip-flop control logic l Flip-flop with synchronous initialization Set: forces 1 Reset: forces 0 l Example: flip-flop with Enable, Set and Reset Priority: Reset, Set, Enable E /S /R E /S 0 1 / /R Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 15

6. Timing characteristics l Timing flip-flop restrictions Clock level length (t 0min,t 1min ) Asynchronous signals length (t reset min ) ata insertion times (t setup,t hold ) clear clk (t reset mín ) (t setup,t hold ) (t omín,t 1mín ) Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 16

7. Synchronous circuits l Synchronous circuit Every flip-flop use the same clock Every flip-flop is triggered by the same clock edge (usually the rising edge) There is a common initialization signal called Reset / / / Clk Reset Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 17

Synchronous circuits: the clock cycle l Critical path: Path between two flip-flops with the larger delay Slowest path between two flip-flops. It determines the maximum allowable clock frequency for the circuit. Clk t Clk t Clk > t hold + t crítico + t setup t hold t crítico t setup f Clk = 1 / t Clk t Clk = 1ns f Clk = 1GHz Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 18

7. Chronograms l Edge detector Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 19

Chronograms l Counter Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 20

Bibliography l Circuitos y Sistemas igitales. J. E. García Sánchez,. G. Tomás, M. Martínez Iniesta. Ed. Tebar-Flores l Electrónica igital, L. Cuesta, E. Gil, F. Remiro, McGraw-Hill l Fundamentos de Sistemas igitales, T.L Floyd, Prentice-Hall Luis Entrena, Celia López, Mario García, Enrique San Millán. Universidad Carlos III de Madrid, 2008 21