MC542 8.1 2007 Prof. Paulo Cesar Centoducatte MC542 Organização de Computadores Teoria e Prática.

Slides:



Advertisements
Apresentações semelhantes
Presenter’s Notes Some Background on the Barber Paradox
Advertisements

Laboratório de Sistemas Distribuídos (LSD) – Universidade Federal de Campina Grande (UFCG)EELA Grid School – December 04, 2006 Enhancing SegHidro/BRAMS.
São Paulo - November 7, 2013 Measuring the Cost of Formalization in Brazil © 2003 The Ronald Coase Institute Adopting RCI methodology to measure start.
Chapter Six Pipelining
Chapter Five The Processor: Datapath and Control (Parte B: multiciclo)
1998 Morgan Kaufmann Publishers Mario Côrtes - MO401 - IC/Unicamp- 2004s2 Ch5A-1 Chapter Five The Processor: Datapath and Control.
Conjunto de Instruções MIPS
PIPELINE (continuação).
WebDesign Redes de Computadores Aula 05
Circuitos Lógicos e Organização de Computadores Capítulo 6 – Blocos com Circuitos Combinacionais Ricardo Pannain
Exemplo de arquitetura registrador-registrador- MIPS
MIPS PIPELINE.
Para Casa – Montar o cariograma
Java RMI Alcides Calsavara. Objetivos Permitir que um método de uma classe Java em execução em uma máquina virtual JVM chame um método de um objeto (instância.
MC Prof. Paulo Cesar Centoducatte MC542 Organização de Computadores Teoria e Prática.
MC542 Organização de Computadores Teoria e Prática
MC542 Organização de Computadores Teoria e Prática
MC542 Organização de Computadores Teoria e Prática
Introdução a circuitos lógicos
ArchC: Uma linguagem de descrição de arquiteturas
MC Prof. Paulo Cesar Centoducatte MC542 Organização de Computadores Teoria e Prática.
MO Prof. Paulo Cesar Centoducatte MC542 Organização de Computadores Teoria e Prática.
Chapter 3 Instructions: Language of the Machine
MC542 Organização de Computadores Teoria e Prática
MC542 Organização de Computadores Teoria e Prática
MC542 Organização de Computadores Teoria e Prática
1998 Morgan Kaufmann Publishers Mario Côrtes - MO401 - IC/Unicamp- 2002s1 Ch6-1 Chapter Six Pipelining.
MO Prof. Paulo Cesar Centoducatte MC542 Organização de Computadores Teoria e Prática.
MC542 Organização de Computadores Teoria e Prática
MC542 Organização de Computadores Teoria e Prática
DIRETORIA ACADÊMICA NÚCLEO DE CIÊNCIAS HUMANAS E ENGENHARIAS DISCIPLINA: INGLÊS FUNDAMENTAL - NOITE PROFESSOR: JOSÉ GERMANO DOS SANTOS PERÍODO LETIVO
DIRETORIA ACADÊMICA NÚCLEO DE CIÊNCIAS HUMANAS E ENGENHARIAS DISCIPLINA: INGLÊS FUNDAMENTAL - NOITE PROFESSOR: JOSÉ GERMANO DOS SANTOS PERÍODO LETIVO
April 05 Prof. Ismael H. F. Santos - 1 Modulo II Findbugs Professor Ismael H F Santos –
Sistema de dois componentes - condensado
Library IEEE; use ieee.std_logic_1164.all; use IEEE.std_logic_arith.all;
A Arquitetura: conjunto de instruções
Arquitetura de Computadores I
O DSP possui 4 timers de 16 bits: –São independentes; –São utilizados para gerar uma base de tempo utilizada para os programas (temporizações em geral);
Protocolo HTTP.
Arquitecturas RISC Programação em assembly
SECEX SECRETARIA DE COMÉRCIO EXTERIOR MINISTÉRIO DO DESENVOLVIMENTO, INDUSTRIA E COMÉRCIO EXTERIOR BRAZILIAN EXPORTS STATISTICAL DEPURATION SYSTEM Presentation.
Fundamentos de Eletrônica Digital
OER LIFE CYCLE Andrew Moore and Tessa Welch.
Tópicos Especiais em Aprendizagem Reinaldo Bianchi Centro Universitário da FEI 2012.
Números de 0 a 1,000,000,000 É uma dúvida de muitos estudantes do nível básico como dizer os números em inglês. Segue abaixo a lista de 0 a 1,000,000,000.
INPE / CAP-315 Airam J. Preto, Celso L. Mendes Aula 30 (1) Empacotamento de Dados em MPI Tópicos: Buffer de Mensagem Empacotamento/Desempacotamento.
Webots Pedro Pinheiro 12 de Novembro de Webots Pedro Pinheiro 12 de Novembro de 2004 Prepared by: Pedro Pinheiro.
Do alto-nível ao assembly
ORGANIZAÇÃO E ARQUITETURA DE COMPUTADORES I prof. Dr. César Augusto M. Marcon prof. Dr. Edson Ifarraguirre Moreno Projeto de Somador com e sem Sinal Descrição.
Definição do MoC Subjacente a Aplicação Prof. Dr. César Augusto Missio Marcon Parcialmente extraído de trabalhos de Axel Jantch, Edward Lee e Alberto Sangiovanni-Vincentelli.
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.
Salas de Matemática.
Universidade de Brasília Laboratório de Processamento de Sinais em Arranjos 1 Adaptive & Array Signal Processing AASP Prof. Dr.-Ing. João Paulo C. Lustosa.
Knowledge Extraction from the Web (ISEWO)
Lecture 2 Properties of Fluids Units and Dimensions 1.
Conceitos de Lógica Digital
Infra-estrutura de Hardware
1 2 Observa ilustração. Cria um texto. Observa ilustração.
AS A MAN THINKETH an interactive listen, read and repeat book for learning American English A NEW EDITION OF JAMES ALLEN’S CLASSIC edited by Robert Silber.
Prof Afonso Ferreira Miguel
© 2012 Autodesk Autodesk Revit para projetos executivos de arquitetura Módulo 2: Otimizando a modelagem para documentação Tiago Marçal Ricotta Gerente.
VOCÊ JÁ FALA INGLÊS FLUENTEMENTE?
IEEE PES General Meeting, Tampa FL June 24-28, 2007 Conferência Brasileira de Qualidade de Energia Santos, São Paulo, Agosto 5-8, Chapter 8: Procedure.
Administração e Exploração Avançada de Bases de Dados Mestrado em Engenharia de Sistemas Braga, 2014.
Nome alunos 1 Título UC. Título – slide 2 Conteúdo Conteúdo 2.
LIÇÃO DE PROGRAMAÇÃO INTERMEDIÁRIA
Aplicativo EBSCO eBooks Autenticação
Tópicos Avançados em Engenharia de Software
How to learn English THE EASY WAY. Ways to learn english Music; Games; Apps; Movies/Series;
Chapter Six Pipelining Harzard
Transcrição da apresentação:

MC Prof. Paulo Cesar Centoducatte MC542 Organização de Computadores Teoria e Prática

MC MC542 Arquitetura de Computadores Input / Output DDCA - (Capítulo 8)

MC Título do Capítulo Abordado Sumário

MC Input / output I/O Mapeado em Memória I/O Mapedado em Espaçamento de Endereço Próprio

MC I/O Mapeado em Memória O Processador acessa os dispositivos de I/O (keyboards, monitores, printers) da mesma forma que acessa à Memória A cada dispositivo de I/O é atribuído um ou mais endereços Quando o endereço é utilizado o daddo é lido ou escrito no dispositivo de I/O no lugar da memória Em geral, uma parte do espaço de endereçamento é dedicado aos dispositivos de I/O (por exemplo, endereços de 0xFFFF0000 a 0xFFFFFFFF)

MC Memory-Mapped I/O Hardware Address Decoder: –Looks at address to determine which device/memory communicates with the processor I/O Registers: –Hold values written to the I/O devices ReadData Multiplexer: –Selects between memory and I/O devices as source of data sent to the processor

MC The Memory Interface

MC Memory-Mapped I/O Hardware

MC Memory-Mapped I/O Code Suppose I/O Device 1 is assigned the address 0xFFFFFFF4 –Write the value 42 to I/O Device 1 –Read the value from I/O Device 1 and place it in $t3

MC Memory-Mapped I/O Code Write the value 42 to I/O Device 1 (0xFFFFFFF4) addi $t0, $0, 42 sw $t0, 0xFFF4($0) Recall that the 16- bit immediate is sign-extended to 0xFFFFFFF4

MC Memory-Mapped I/O Code Read the value from I/O Device 1 and place it in $t3 sw $t3, 0xFFF4($0)

MC Example I/O Device: Speech Chip Allophone: fundamental unit of sound, for example: –hello = HH1 EH LL AX OW Each allophone assigned a 6-bit code, for example: –hello = 0x1B 0x07 0x2D 0x0F 0x20 See

MC Speech Chip I/O A 6:1 : allophone input ALD: allophone load (low-asserted, i.e. loads the address when ALD goes low) SBY: standby, indicates when the speech chip is standing by waiting for the next allophone

MC Driving the Speech Chip 1.Set ALD to 1 2.Wait until the chip asserts SBY to indicate that it has finished speaking the previous allophone and is ready for the next one 3.Write a 6-bit allophone to A 6:1 4.Reset ALD to 0 to initiate speech

MC Memory-Mapping the I/O Ports A 6:1 : 0xFFFFFF00 ALD: 0xFFFFFF04 SBY: 0xFFFFFF08

MC Software Driver for the Speech Chip init:addi $t1, $0, 1 # $t1 = 1 addi $t2, $0, 20 # $t2 = array size * 4 lui $t3, 0x1000 # $t3 = array base address addi $t4, $0, 0 # $t4 = 0 (array index) start:sw $t1, 0xFF04($0) # ALD = 1 loop:lw $t5, 0xFF08($0) # $t5 = SBY beq $0, $t5, loop # loop until SBY == 1 add $t5, $t3, $t4 # $t5 = address of allophone lw $t5, 0($t5) # $t5 = allophone sw $t5, 0xFF00($0) # A6:1 = allophone sw $0, 0xFF04($0) # ALD = 0 to initiate speech addi $t4, $t4, 4 # increment array index beq $t4, $t2, done # last allophone in array? j start # repeat done:

MC Hardware for Supporting SP0256

MC SPO256 Pin Connections

MC Summary You have learned about: –Combinational and sequential logic –Schematic and HDL design entry –Digital building blocks: adders, ALUs, multiplexers, decoders, memories –Assembly language – computer architecture –Processor design – microarchitecture The world is an increasingly digital place You have the tools to design and build powerful digital circuits that will shape our world Use this power wisely and for good!

MC

MC

MC