Fundamentos de Eletrônica Digital

Slides:



Advertisements
Apresentações semelhantes
Lógica booleana e implementação de funções booleanas
Advertisements

INTRODUÇÃO À LÓGICA DIGITAL
Capítulo 2 - Introdução aos Circuitos Lógicos
Circuitos Lógicos e Organização de Computadores Capítulo 3 – Tecnologia de Implementação Ricardo Pannain
Lógica Booleana A álgebra booleana é baseada totalmente na lógica. Desta forma, os circuitos lógicos executam expressões booleanas. As expressões booleanas.
Projecto de Hardware com FPGAs
Dep. Eng. Electrotécnica Diagramas de controle de execução.
abs access after alias all and architecture array assert attribute begin block body buffer bus case component configuration constant disconnect downto.
VHDL - VHSIC Hardware Description Language
VHDL - VHSIC Hardware Description Language
VISÃO GERAL Profa. Fernanda Denardin Walker
César Augusto Missio Marcon Ney Laert Vilar Calazans
Verilog AULA - 3.
VHDL AULA - 2.
Assembly Language for Intel-Based Computers, 5th Edition
Lógica reconfigurável por hardware
Portas e Funções Lógicas, Tabelas Verdade e Circuitos Lógicos
FAFIMAN – Prof. Flávio Uber FAFIMAN – Departamento de Informática Curso: Ciência da Computação Professor: Flávio Rogério Uber Arquitetura e Organização.
Introdução a circuitos lógicos
Dicas de Circuitos MO801/MC912.
VHDL (outros tópicos) MO801/MC912.
FLI – ModelSim Pedro Velho.
Uma chave é normalmente aberta e a outra normalmente fechada
Library IEEE; use ieee.std_logic_1164.all; use IEEE.std_logic_arith.all;
Tipos de dados Existentes BIT - {0, 1} BIT_VECTOR - {vetor de BIT}
9 Controle de fluxo Seqüenciadores. Jumps. Escapes. Exceções.
VERILOG HDL (HARDWARE DESCRIPTION LANGUAGE)
Eletrônica Digital Circuitos Combinacionais: O seu estado (os valores) de todas as saídas depende apenas dos valores das entradas neste mesmo instante.
Organização e Arquitetura de Computadores
Fundamentos do Projeto Lógico
Arquitetura de Computadores
Máquina de Estados Finito
Lógica reconfigurável por hardware
Dispositivos Lógicos Programáveis (DLP) Ideia e Arquiteturas
Projeto de um Comparador Descrição Estrutural x Comportamental
Projeto de Circuito Combinacional Unidade Lógica e Aritmética (ULA)
ORGANIZAÇÃO E ARQUITETURA DE COMPUTADORES I prof. Dr. César Augusto M. Marcon prof. Dr. Edson Ifarraguirre Moreno Memórias.
Conceitos de Lógica Digital
Infra-Estrutura de Hardware
Inglês Técnico TERMOS E EXPRESSÕES UTILIZADAS EM PROGRAMAÇÃO DE COMPUTADORES E ATIVIDADES RELACIONADAS A INFORMÁTICA ________________________________________________.
Família TTL.
Hardware Description Language Aula 4 -VHDL
S. Jacobsen – SIEMENS PTD EA Cigré/Brasil CE B5 – Proteção e Automação Seminário Interno de Preparação para a Bienal 2006 Rio de Janeiro, setembro/06.
Descrição de Circuitos Combinacionais em VHDL
Projetos Grandes MO801/MC912. Roteiro Componentes Configurações Instanciação múltipla Instanciação condicional Atenção: Os exemplos são cumulativos.
Famílias Lógicas TTL (Bipolar): Transistor-Transistor-Logic
Sistemas Microprocessados e Microcontrolados
Criptografia Problema 5. Equipe  Hallan Cosmo - hcs  Phillip César - pcas.
Hardware Description Language Aula 8 –Verilog HDL
Hardware Description Language Aula 4 –VHDL (introdução)
Hardware Description Language Aula 5 -VHDL Prof. Afonso Ferreira Miguel, MSc.
© 2012 Autodesk Autodesk Revit para projetos executivos de arquitetura Módulo 6: Quantitativos de áreas precisos Tiago Marçal Ricotta Gerente de Projetos.
© 2012 Autodesk Autodesk Revit para projetos executivos de arquitetura Módulo 5: Trabalhando em colaboração Tiago Marçal Ricotta Gerente de Projetos –
Turmas A e B SEGUNDO BIMESTRE MATERIAL PARA ESTUDO
PORTAS LÓGICAS.
ORGANIZAÇÃO E ARQUITETURA DE COMPUTADORES I prof. Dr. César Augusto M. Marcon prof. Dr. Edson Ifarraguirre Moreno Exercícios Circuitos Descritos em VHDL.
Introdução a VHDL Monitoria de Digitais.
PSI2653: Meios Eletrônicos Interativos I Escola Politécnica da USP Engenharia de Sistemas Eletrônicos I – Informação Digital - Gráfico Meios Eletrônicos.
Lógica Booleana IES-2015a George Simon Boole ( )
Colégio da Imaculada Colégio da Imaculada Curso Técnico em Informática
Computadores vs. Programas / Algoritmos Computadores vs. Programas -> Algoritmos O tratamento de problemas através do computador geralmente envolve uma.
Dispositivos lógicos programáveis (PLA,PLD)
Verilog HDL. Introduzida em 1985 pela Gateway Design System Corporation Após 1990, passou a ser de domínio público, e em 1995 passou a ser padrão IEEE.
Clique para editar o título Arduino seu primeiro microcontrolador PMR
Projeto de Circuitos Integrados Semidedicados Prof. Marcio Cunha Aula 04 – Linguagem de Descrição de Hardware: VHDL.
Descrevendo Circuitos Lógicos Capítulo 3 Parte I
Prof. Gustavo Fernandes de Lima Descrevendo Circuitos Lógicos Capítulo 3 Parte II.
Unidade 1 – Portas Lógicas Básicas – NOR, NAND, XOR e XNOR.
PORTAS LóGICAS Samuel S. S. Sistemas para internet
Wondershare software On the [View] menu, point to [Master], and then click [Slide Master] or [Notes Master].
Transcrição da apresentação:

Fundamentos de Eletrônica Digital Com PLD Fabiano Camargo Rosa Portas Lógicas © 2009 Pearson Education

A X INVERSORA Quando a entrada está em nível lógico ALTO, a saída estará em nível lógico BAIXO; Quando a entrada esta em nível lógico baixo, a saída estará em ALTO BAIXO(0) ALTO (1) ALTO (1) BAIXO (0)

A X INVERSORA Exemplos de ondas: A X

A A X PORTA AND X B B A porta AND produz uma saída de nível ALTO apenas quando todas as entradas forem nível ALTO 0 0 0 1 1 0 1 1 1 A operação AND é representada através de uma multiplicação. X = A .B ou X = AB.

Exemplo PORTA AND Exemplos de onda: A B X Operação AND é usada em programação de computadores como uma máscara seletiva. Se você quiser manter certas partes de um número binário, mas zerar os outros bits, você pode definir uma máscara com um na posição dos bits mantidos. 10100011 AND 00001111, qual é o resultado? Exemplo 00000011

Example Solution The AND Gate A Multisim circuit is shown. XWG1 is a word generator set in the count down mode. XLA1 is a logic analyzer with the output of the AND gate connected to first (upper) line of the analyzer. What signal do you expect to on this line? Solution The output (line 1) will be HIGH only when all of the inputs are HIGH.

A X A X PORTA OR B B A porta OR produz nível ALTO na saída quando qualquer uma das entradas for nível ALTO, A saída será nível baixo quando todas as entradas estivem em nível Baixo 0 0 0 1 1 0 1 1 1 A operação OR é representada através de uma operação de adição. X = A + B.

Exemplo PORTA OR Formas de onda: A B X A operação OR é usada na computação para colocar certos bits de um número em nível ALTO. Exemplo 00110011 OR 10011000 qual é o resultado? 10111011

Example Solution The OR Gate A Multisim circuit is shown. XWG1 is a word generator set to count down. XLA1 is a logic analyzer with the output Example connected to first (top) line of the analyzer. The three 2-input OR gates act as a single 4-input gate. What signal do you expect on the output line? The output (line 1) will be HIGH if any input is HIGH; otherwise it will be LOW. Solution

A operação NAND é representada da seguinte forma: X = A .B PORTA NAND X B B A porta NAND produz nível baixo na saída quando todas as entradas estão em nível ALTO, caso contrário, a saída estará em nível BAIXO. 0 0 0 1 1 0 1 1 1 A operação NAND é representada da seguinte forma: X = A .B

Pergunta PORTA NAND Formas de ONDA: A B X A porta NAND é particularmente útil porque é uma porta "universal" - todas as outras portas básicas podem ser construídas a partir de portas NAND. Como implementar a operação de inversão utilizando uma porta NAND? Pergunta

Example Solution The NAND Gate A Multisim circuit is shown. XWG1 is a word generator set in the count up mode. A four-channel oscilloscope monitors the inputs and output. What output signal do you expect to see? Solution The output (channel D) will be LOW only when all of the inputs are HIGH. Inputs

A operação NOR é representada da seguinte forma: X = A + B. PORTA NOR B B A porta NOR produz nível BAIXO na saída quando qualquer uma das entradas for nível ALTO; Se todas as entradas estiverem em nível baixo, a saída será nivel ALTO 0 0 0 1 1 0 1 1 1 A operação NOR é representada da seguinte forma: X = A + B.

Exemplo Resposta PORTA NOR Forma de onda: A B X Operação NOR produz nível BAIXO se as entradas forem nível BAIXO. Exemplo Quando o LED estará aceso no circuito ao lado? Resposta Quando qualquer uma das entradas for nível ALTO.

A X A X PORTA XOR B B A porta XOR produz nível ALTO na saída quando a quantidade de entradas em nível ALTO for ímpar. 0 0 0 1 1 0 1 1 1 A operação XOR é escrita como: X = AB + AB. Alternativamente : X = A + B.

Pergunta PORTA XOR Forma de onda: A B X A porta XOR produz nível ALTO na saída quando apenas uma das entradas está em nível ALTO Se as formas de onda A e B frorem invertidas, como ficara a saída? Pergunta Não será alterada.

A X A X PORTA XNOR B B A porta XNOR produz saída em nível ALTO quando as entradas forem iguais. 0 0 0 1 1 0 1 1 1 A operação XNOR é esrita como: X = AB + AB. Alternativamente : X = A . B.

Pergunta PORTA XNOR Forma de onda: A B X A porta XNOR produz nível ALTO quando as entradas são iguais. É bastante utilizada para comparação Se a foram de onda A é invertioda e a B mantida, qual será o efeito na saída? Pergunta A saída é invertida.

Circuito Integrado As duas principais famílias lógicas são a TTL e a CMOS. Enacapsulamento para os circuitos lógicos. DIP package SOIC package

Circuito Integrado Algumas configurações de portas lógicas.

Circuito Integrado Símbolos lógicos mostram as portas e os pinos associados.

Circuito Integrado Data sheets incluem limites e condições fixados pelo fabricante, bem como características DC e AC. Por exemplo, algumas características de uma porta 74HC00A são:

Programmable Logic A Programmable Logic Device (PLD) can be programmed to implement logic. There are various technologies available for PLDs. Many use an internal array of AND gates to form logic terms. Many PLDs can be programmed multiple times.

Example Programmable Logic In general, the required logic for a PLD is developed with the aid of a computer. The logic can be entered using a Hardware Description Language (HDL) such as VHDL. Logic can be specified to the HDL as a text file, a schematic diagram, or a state diagram. A text entry for a programming a PLD in VHDL as a 2-input NAND gate is shown for reference in the following slide. In this case, the inputs and outputs are first specified. Then the signals are described. Although you are probably not familiar with VHDL, you can see that the program is simple to read. Example

Programmable Logic entity NandGate is port(A, B: in bit; LED: out bit); end entity NandGate; architecture GateBehavior of NandGate is signal A, B: bit; begin X <= A nand B; LED <= X; end architecture GateBehavior;

Selected Key Terms Inverter Truth table Timing diagram Boolean algebra AND gate A logic circuit that inverts or complements its inputs. A table showing the inputs and corresponding output(s) of a logic circuit. A diagram of waveforms showing the proper time relationship of all of the waveforms. The mathematics of logic circuits. A logic gate that produces a HIGH output only when all of its inputs are HIGH.

Selected Key Terms OR gate NAND gate NOR gate Exclusive-OR gate Exclusive-NOR gate A logic gate that produces a HIGH output when one or more inputs are HIGH. A logic gate that produces a LOW output only when all of its inputs are HIGH. A logic gate that produces a LOW output when one or more inputs are HIGH. A logic gate that produces a HIGH output only when its two inputs are at opposite levels. A logic gate that produces a LOW output only when its two inputs are at opposite levels.

Quiz Selecione a tabela-verdade da porta AND de 2 entradas a. b. c. d. 0 0 0 1 1 0 1 1 1 0 0 0 1 1 0 1 1 1 a. b. 0 0 0 1 1 0 1 1 1 0 0 0 1 1 0 1 1 1 c. d. © 2009 Pearson Education

Quiz A tabela-verdade da porta NOR é? a. b. c. d. 0 0 0 1 1 0 1 1 1 0 0 0 1 1 0 1 1 1 0 0 0 1 1 0 1 1 1 a. b. 0 0 0 1 1 0 1 1 1 0 0 0 1 1 0 1 1 1 c. d. © 2009 Pearson Education

Quiz A tabela-verdade da porta XOR é? a. b. c. d. 0 0 0 1 1 0 1 1 1 0 0 0 1 1 0 1 1 1 0 0 0 1 1 0 1 1 1 a. b. 0 0 0 1 1 0 1 1 1 0 0 0 1 1 0 1 1 1 c. d. © 2009 Pearson Education

Quiz 4. O símbolo representa a operação a. OR b. AND c. NOR d. XOR A X © 2009 Pearson Education

Quiz 5. O símbolo representa a operação a. OR b. AND c. NOR d. XOR A X © 2009 Pearson Education

Quiz 6. A porta lógica que produz uma saída ALTA somente quando todas as suas entradas são ALTA é uma? a. Porta OR b. Porta AND c. Porta NOR d. Porta NAND © 2009 Pearson Education

Quiz 7. A expressão X = A + B representa? a. A OR B b. A AND B c. A XOR B d. A XNOR B © 2009 Pearson Education

Quiz 8. Que porta com 2 entradas produz a forma de onda abaixo? a. Porta OR b. Porta AND c. Porta NOR d. Porta NAND A B X © 2009 Pearson Education

Quiz 9. Que porta produz nível ALTO quando o estado das entradas coincidem? a. OR gate b. AND gate c. NOR gate d. XNOR gate © 2009 Pearson Education

Quiz 10. The required logic for a PLD can be specified in an Hardware Description Language by a. text entry b. schematic entry c. state diagrams d. all of the above © 2009 Pearson Education

Quiz Answers: 1. c 2. b 3. a 4. a 5. d 6. b 7. c 8. d D