Chapter 15: Design Examples
|
|
- Bryan Holt
- 7 years ago
- Views:
Transcription
1 Chapter 15: Design Examples Prof. Ming-Bo Lin Department of Electronic Engineering National Taiwan University of Science and Technology Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-1
2 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-2
3 Objectives After completing this chapter, you will be able to: Describe basic structures of µp systems Understand the basic operations of bus structures Understand the essential operations of data transfer Understand the design principles of GPIOs Understand the design principles of timers Understand the design principles of UARTs Describe the design principles of CPUs Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-3
4 Syllabus Objectives Bus A µp system architecture Bus structures Bus arbitration Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-4
5 A Basic µp System Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-5
6 Syllabus Objectives Bus A µp system architecture Bus structures Bus arbitration Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-6
7 Bus Structures Tristate bus using tristate buffers often called bus for short Multiplexer-based bus using multiplexers Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-7
8 A Tristate Bus Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-8
9 A Tristate Bus Example // a tristate bus example module tristate_bus (data, enable, qout); parameter N = 2; // define bus width input enable; input [N-1:0] data; output [N-1:0] qout; wire [N-1:0] qout; // the body of tristate bus assign qout = enable? data : {N{1'bz}}; endmodule Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-9
10 A Bidirectional Bus Example // a bidirectional bus example module bidirectional_bus (data_to_bus, send, receive, data_from_bus, qout); parameter N = 2; // define bus width input send, receive; input [N-1:0] data_to_bus; output [N-1:0] data_from_bus; inout [N-1:0] qout; // bidirectional bus wire [N-1:0] qout, data_from_bus; // the body of tristate bus assign data_from_bus = receive? qout : {N{1'bz}}; assign qout = send? data_to_bus : {N{1'bz}}; endmodule Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-10
11 A Multiplexer-Based Bus Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-11
12 Syllabus Objectives Bus A µp system architecture Bus structures Bus arbitration Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-12
13 Daisy-Chain Arbitration Types of bus arbitration schemes daisy-chain arbitration radial arbitration Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-13
14 Syllabus Objectives Bus Data transfer Synchronous transfer mode Asynchronous transfer mode General-purpose input and output Timers Universal asynchronous receiver and transmitter A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-14
15 Data Transfer Modes Data transfer modes synchronous mode asynchronous mode The actual data can be transferred in parallel: a bundle of signals in parallel serial: a stream of bits Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-15
16 Synchronously Parallel Data Transfers Chapter 15: Design Examples Each data transfer is synchronous with clock signal Bus master Bus slave Two types Single-clock bus cycle Multiple-clock bus cycle Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-16
17 Synchronously Parallel Data Transfers Chapter 15: Design Examples Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-17
18 Synchronously Serial Data Transfers Explicitly clocking scheme Implicitly clocking scheme Chapter 15: Design Examples Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-18
19 Synchronously Serial Data Transfers Examples Chapter 15: Design Examples Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-19
20 Syllabus Objectives Bus Data transfer Synchronous transfer mode Asynchronous transfer mode General-purpose input and output Timers Universal asynchronous receiver and transmitter A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-20
21 Asynchronous Data Transfers Each data transfer occurs at random Control approaches strobe scheme handshaking scheme Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-21
22 Strobe Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-22
23 Handshaking Four events are proceeded in a cycle order ready (request) data valid data acceptance acknowledge Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-23
24 Handshaking Two types source-initiated transfer destination-initiated transfer Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-24
25 Asynchronously Serial Data Transfers Transmitter Receiver Chapter 15: Design Examples Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-25
26 Asynchronously Serial Data Transfers Chapter 15: Design Examples Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-26
27 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-27
28 General-Purpose Input and Output Devices The general-purpose input and output (GPIO) input output bidirectional Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-28
29 General-Purpose Input and Output Devices An example of 8-bit GPIO Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-29
30 Design Issues of GPIO Devices Readback capability of PORT register Group or individual bit control Selection the value of DDR Handshaking control Readback capability of DDR Input latch Input/Output pull-up Drive capability Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-30
31 General-Purpose Input and Output Devices The ith-bit of two GPIO examples Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-31
32 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Interface Basic operation modes Advanced operation modes Universal asynchronous receiver and transmitter A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-32
33 Timers Important applications time-delay creation event counting time measurement period measurement pulse-width measurement time-of-day tracking waveform generation periodic interrupt generation Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-33
34 Timers Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-34
35 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Interface Basic operation modes Universal asynchronous receiver and transmitter A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-35
36 Basic Timer Operations Timers What is a timer? What is a counter? What is a programmable counter? What is a programmable timer? Basic operation modes terminal count (binary/bcd event counter) rate generation (digital) monostable (or called one-shot) square-wave generation Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-36
37 Terminal Count Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-37
38 Rate Generation Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-38
39 Retriggerable Monostable (One-Shot) Operation Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-39
40 Square-Wave Generation clk (4) (4) out Latch register = 4 (a) A waveform example of square-wave mode wr latch_load Data bus Latch rd clk gate timer_load generator timer_load Shift plus LSB timer_enable timer timer is 1 D Q CK out logic out (b) Block diagram of square-wave mode Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-40
41 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter Interface Basic transmitter structure Basic receiver structure Baud-rate generators A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-41
42 UARTs Hardware model the CPU interface the I/O interface Software model receiver data register (RDR) transmitter data register (TDR) status register (SR) control register (CR) Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-42
43 UARTs Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-43
44 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter Interface Basic transmitter structure Basic receiver structure Baud-rate generators A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-44
45 Design Issues of UARTs Baud rate Sampling clock frequency Stop bits Parity check Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-45
46 A Transmitter of UARTs The transmitter a transmitter shift data register (TSDR) a TDR empty flag (TE) a transmitter control circuit a TDR parity generator Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-46
47 A Transmitter of UARTs Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-47
48 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter Interface Basic transmitter structure Basic receiver structure Baud-rate generators A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-48
49 A Receiver of UARTs The receiver a RDR a receiver shift data register (RSDR) a status register a receiver control circuit Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-49
50 A Receiver of UARTs Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-50
51 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter Interface Basic transmitter structure Basic receiver structure Baud-rate generators A simple CPU design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-51
52 Baud-Rate Generators The baud-rate generator provides TxC and RxC Design approaches Multiplexer-based approach Timer-based approach Others Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-52
53 Baud-Rate Generators Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-53
54 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter A simple CPU design Programming model Datapath design Control unit design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-54
55 CPU Basic Operations Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-55
56 The Software Model of CPU The programming model Instruction formats Addressing modes Instruction set Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-56
57 The Programming Mode Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-57
58 Instruction Formats Two major parts Opcode Operand Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-58
59 Addressing Modes The ways that operands are fetched register indexed register indirect immediate Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-59
60 The Instruction Set Double-operand instruction set Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-60
61 The Instruction Set Single-operand instruction set Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-61
62 The Instruction Set Jump instruction set Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-62
63 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter A simple CPU design Programming model Datapath design Control unit design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-63
64 A Datapath Design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-64
65 ALU Functions Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-65
66 Syllabus Objectives Bus Data transfer General-purpose input and output Timers Universal asynchronous receiver and transmitter A simple CPU design Programming model Datapath design Control unit design Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-66
67 A Control Unit The decoder-based approach Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-67
68 A Control Unit A better approach Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-68
69 A Control Unit The operations of T3 and T4 are determined separately by each instruction Digital System Designs and Practices Using Verilog HDL and , John Wiley 15-69
PART B QUESTIONS AND ANSWERS UNIT I
PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional
More informationSerial Communications
Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation
More informationCOMPUTER HARDWARE. Input- Output and Communication Memory Systems
COMPUTER HARDWARE Input- Output and Communication Memory Systems Computer I/O I/O devices commonly found in Computer systems Keyboards Displays Printers Magnetic Drives Compact disk read only memory (CD-ROM)
More information8254 PROGRAMMABLE INTERVAL TIMER
PROGRAMMABLE INTERVAL TIMER Y Y Y Compatible with All Intel and Most Other Microprocessors Handles Inputs from DC to 10 MHz 8 MHz 8254 10 MHz 8254-2 Status Read-Back Command Y Y Y Y Y Six Programmable
More information150127-Microprocessor & Assembly Language
Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an
More information(Refer Slide Time: 00:01:16 min)
Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control
More informationUsing The PIC I/O Ports
EE2801 -- Lecture 22 Using The PIC I/O Ports EE2801-L22P01 The Variety Of Available IO Ports The PIC 16F874 microcontroller has five different IO ports, accounting for thirty three of the processors forty
More informationChapter 2 Logic Gates and Introduction to Computer Architecture
Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are
More informationModeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw. Sequential Circuit
Modeling Sequential Elements with Verilog Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw 4-1 Sequential Circuit Outputs are functions of inputs and present states of storage elements
More informationObjectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring 2007-08) Serial Interfacing. By Dr.
CMPE328 Microprocessors (Spring 27-8) Serial Interfacing By Dr. Mehmet Bodur Objectives Upon completion of this chapter, you will be able to: List the advantages of serial communication over parallel communication
More informationMICROPROCESSOR AND MICROCOMPUTER BASICS
Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit
More informationExperiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa
Experiment # 9 Clock generator circuits & Counters Eng. Waleed Y. Mousa 1. Objectives: 1. Understanding the principles and construction of Clock generator. 2. To be familiar with clock pulse generation
More informationUsing Altera MAX Series as Microcontroller I/O Expanders
2014.09.22 Using Altera MAX Series as Microcontroller I/O Expanders AN-265 Subscribe Many microcontroller and microprocessor chips limit the available I/O ports and pins to conserve pin counts and reduce
More informationChapter 9 Latches, Flip-Flops, and Timers
ETEC 23 Programmable Logic Devices Chapter 9 Latches, Flip-Flops, and Timers Shawnee State University Department of Industrial and Engineering Technologies Copyright 27 by Janna B. Gallaher Latches A temporary
More informationDEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV UNIT I THE 8086 MICROPROCESSOR 1. What is the purpose of segment registers
More informationMICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1
MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable
More informationChapter 7: Advanced Modeling Techniques
Chapter 7: Advanced Modeling Techniques Prof. Ming-Bo Lin Department of Electronic Engineering National Taiwan University of Science and Technology Digital System Designs and Practices Using Verilog HDL
More informationIntroduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide
Introduction the Serial Communications Huang Sections 9.2, 10.2 SCI Block User Guide SPI Block User Guide Parallel Data Transfer Suppose you need to transfer data from one HCS12 to another. How can you
More informationCHAPTER 7: The CPU and Memory
CHAPTER 7: The CPU and Memory The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint slides
More informationStandart TTL, Serie 74... Art.Gruppe 13.15. 1...
Standart TTL, Serie 74... Art.Gruppe 13.15. 1... Standart TTL, Serie 74... 7400 Quad 2-Input Nand Gate (TP) DIL14 7402 Quad 2 Input Nor Gate (TP) DIL14 7403 Quad 2 Input Nand Gate (OC) DIL14 7404 Hex Inverter
More informationNTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential
More information8051 Serial Port. Crystal TXD. I/O Device RXD. Embedded Systems 1 5-1 8051 Peripherals
8051 Serial Port The 8051 contains a UART Universal Asynchronous Receiver Transmitter The serial port is full-duplex It can transmit and receive simultaneously 2 Port 3 pins are used to provide the serial
More informationComputer organization
Computer organization Computer design an application of digital logic design procedures Computer = processing unit + memory system Processing unit = control + datapath Control = finite state machine inputs
More informationCentral Processing Unit
Chapter 4 Central Processing Unit 1. CPU organization and operation flowchart 1.1. General concepts The primary function of the Central Processing Unit is to execute sequences of instructions representing
More informationDS1104 R&D Controller Board
DS1104 R&D Controller Board Cost-effective system for controller development Highlights Single-board system with real-time hardware and comprehensive I/O Cost-effective PCI hardware for use in PCs Application
More informationUSB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung
USB2.0 I2C V4.4 Konverter Kabel und Box mit Galvanischetrennung USB 2.0 I2C Konverter Kabel V4.4 (Prod. Nr. #210) USB Modul: Nach USB Spezifikation 2.0 & 1.1 Unterstützt automatisch "handshake
More informationa8251 Features General Description Programmable Communications Interface
a8251 Programmable Communications Interface June 1997, ver. 2 Data Sheet Features a8251 MegaCore function that provides an interface between a microprocessor and a serial communication channel Optimized
More informationDigitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai 2007. Jens Onno Krah
(DSF) Soft Core Prozessor NIOS II Stand Mai 2007 Jens Onno Krah Cologne University of Applied Sciences www.fh-koeln.de jens_onno.krah@fh-koeln.de NIOS II 1 1 What is Nios II? Altera s Second Generation
More informationModeling Registers and Counters
Lab Workbook Introduction When several flip-flops are grouped together, with a common clock, to hold related information the resulting circuit is called a register. Just like flip-flops, registers may
More informationLAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters
LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters LAB OBJECTIVES 1. Introduction to latches and the D type flip-flop 2. Use of actual flip-flops to help you understand sequential
More informationLet s put together a Manual Processor
Lecture 14 Let s put together a Manual Processor Hardware Lecture 14 Slide 1 The processor Inside every computer there is at least one processor which can take an instruction, some operands and produce
More informationCENTRONICS interface and Parallel Printer Port LPT
Course on BASCOM 8051 - (37) Theoretic/Practical course on BASCOM 8051 Programming. Author: DAMINO Salvatore. CENTRONICS interface and Parallel Printer Port LPT The Parallel Port, well known as LPT from
More informationBuilding a computer. Electronic Numerical Integrator and Computer (ENIAC)
Building a computer Electronic Numerical Integrator and Computer (ENIAC) CSCI 255: Introduc/on to Embedded Systems Keith Vertanen Copyright 2011 Layers of abstrac
More informationLearning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design
Learning Outcomes Simple CPU Operation and Buses Dr Eddie Edwards eddie.edwards@imperial.ac.uk At the end of this lecture you will Understand how a CPU might be put together Be able to name the basic components
More information8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA
Features Compatible with MCS-51 products On-chip Flash Program Memory Endurance: 1,000 Write/Erase Cycles On-chip EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 512 x 8-bit RAM ISO 7816 I/O Port
More informationA New Paradigm for Synchronous State Machine Design in Verilog
A New Paradigm for Synchronous State Machine Design in Verilog Randy Nuss Copyright 1999 Idea Consulting Introduction Synchronous State Machines are one of the most common building blocks in modern digital
More informationAdvanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2
Lecture Handout Computer Architecture Lecture No. 2 Reading Material Vincent P. Heuring&Harry F. Jordan Chapter 2,Chapter3 Computer Systems Design and Architecture 2.1, 2.2, 3.2 Summary 1) A taxonomy of
More informationMACHINE ARCHITECTURE & LANGUAGE
in the name of God the compassionate, the merciful notes on MACHINE ARCHITECTURE & LANGUAGE compiled by Jumong Chap. 9 Microprocessor Fundamentals A system designer should consider a microprocessor-based
More informationMemory Elements. Combinational logic cannot remember
Memory Elements Combinational logic cannot remember Output logic values are function of inputs only Feedback is needed to be able to remember a logic value Memory elements are needed in most digital logic
More informationSDLC Controller. Documentation. Design File Formats. Verification
January 15, 2004 Product Specification 11 Stonewall Court Woodcliff Lake, NJ 07677 USA Phone: +1-201-391-8300 Fax: +1-201-391-8694 E-mail: info@cast-inc.com URL: www.cast-inc.com Features AllianceCORE
More information8086 Microprocessor (cont..)
8086 Microprocessor (cont..) It is a 16 bit µp. 8086 has a 20 bit address bus can access upto 2 20 memory locations ( 1 MB). It can support upto 64K I/O ports. It provides 14, 16-bit registers. It has
More informationEliminate Risk of Contention and Data Corruption in RS-485 Communications
I. Background and Objective Eliminate Risk of Contention and Data Corruption in RS-485 Communications Earle Foster, Jeff Hunter Sealevel Systems The RS-485 communications standard was introduced in 1983
More informationETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies
ETEC 2301 Programmable Logic Devices Chapter 10 Counters Shawnee State University Department of Industrial and Engineering Technologies Copyright 2007 by Janna B. Gallaher Asynchronous Counter Operation
More informationMicrocontrollers in Practice
M. Mitescu I. Susnea Microcontrollers in Practice With 117 Figures, 34 Tables and CD-Rom 4y Springer Contents Resources of Microcontrollers, 1 1.1 In this Chapter 1 1.2 Microcontroller Architectures 1
More informationUsing the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication
Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication D/N: HA0150E Introduction This application explains how to use two I/O lines on the HT46R46 to implement half-duplex SPI communication.
More informationUART IP Core Specification. Author: Jacob Gorban gorban@opencores.org
UART IP Core Specification Author: Jacob Gorban gorban@opencores.org Rev. 0.6 August 11, 2002 This page has been intentionally left blank Revision History Rev. Date Author Description 0.1 Jacob Gorban
More informationRegisters & Counters
Objectives This section deals with some simple and useful sequential circuits. Its objectives are to: Introduce registers as multi-bit storage devices. Introduce counters by adding logic to registers implementing
More informationComputer Organization and Components
Computer Organization and Components IS1500, fall 2015 Lecture 5: I/O Systems, part I Associate Professor, KTH Royal Institute of Technology Assistant Research Engineer, University of California, Berkeley
More informationGUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: COMPUTER ORGANIZATION AND ARCHITECTURE (Code: 3340705)
GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT COURSE CURRICULUM COURSE TITLE: COMPUTER ORGANIZATION AND ARCHITECTURE (Code: 3340705) Diploma Programmes in which this course is offered Computer Engineering
More informationArbitration and Switching Between Bus Masters
February 2010 Introduction Reference Design RD1067 Since the development of the system bus that allows multiple devices to communicate with one another through a common channel, bus arbitration has been
More informationComputer Organization. and Instruction Execution. August 22
Computer Organization and Instruction Execution August 22 CSC201 Section 002 Fall, 2000 The Main Parts of a Computer CSC201 Section Copyright 2000, Douglas Reeves 2 I/O and Storage Devices (lots of devices,
More information路 論 Chapter 15 System-Level Physical Design
Introduction to VLSI Circuits and Systems 路 論 Chapter 15 System-Level Physical Design Dept. of Electronic Engineering National Chin-Yi University of Technology Fall 2007 Outline Clocked Flip-flops CMOS
More informationManchester Encoder-Decoder for Xilinx CPLDs
Application Note: CoolRunner CPLDs R XAPP339 (v.3) October, 22 Manchester Encoder-Decoder for Xilinx CPLDs Summary This application note provides a functional description of VHDL and Verilog source code
More informationVon der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor
Von der Hardware zur Software in FPGAs mit Embedded Prozessoren Alexander Hahn Senior Field Application Engineer Lattice Semiconductor AGENDA Overview Mico32 Embedded Processor Development Tool Chain HW/SW
More informationA low-cost, connection aware, load-balancing solution for distributing Gigabit Ethernet traffic between two intrusion detection systems
Iowa State University Digital Repository @ Iowa State University Graduate Theses and Dissertations Graduate College 2010 A low-cost, connection aware, load-balancing solution for distributing Gigabit Ethernet
More informationDesign of a High Speed Communications Link Using Field Programmable Gate Arrays
Customer-Authored Application Note AC103 Design of a High Speed Communications Link Using Field Programmable Gate Arrays Amy Lovelace, Technical Staff Engineer Alcatel Network Systems Introduction A communication
More informationARM Thumb Microcontrollers. Application Note. Software ISO 7816 I/O Line Implementation. Features. Introduction
Software ISO 7816 I/O Line Implementation Features ISO 7816-3 compliant (direct convention) Byte reception and transmission with parity check Retransmission on error detection Automatic reception at the
More informationAVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example
More informationTERMINAL Debug Console Instrument
Summary This document describes how to place and use the TERMINAL virtual instrument in an FPGA design. Core Reference CR0180 (v2.0) March 06, 2008 The TERMINAL device is a debug console instrument for
More informationDevelop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,
More informationApplication Note 132. Introduction. Voice Video and Data Communications using a 2-Port Switch and Generic Bus Interface KSZ8842-16MQL/MVL
Application Note 132 Voice Video and Data Communications using a 2-Port Switch and Generic Bus Interface KSZ42-16MQL/MVL Introduction The IP-Telephony market is booming, due to the ease of use of the technology
More informationProgramming A PLC. Standard Instructions
Programming A PLC STEP 7-Micro/WIN32 is the program software used with the S7-2 PLC to create the PLC operating program. STEP 7 consists of a number of instructions that must be arranged in a logical order
More informationDIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.
DIGITAL COUNTERS http://www.tutorialspoint.com/computer_logical_organization/digital_counters.htm Copyright tutorialspoint.com Counter is a sequential circuit. A digital circuit which is used for a counting
More informationAN141 SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES. 1. Introduction. 2. Overview of the SMBus Specification. 2.1.
SMBUS COMMUNICATION FOR SMALL FORM FACTOR DEVICE FAMILIES 1. Introduction C8051F3xx and C8051F41x devices are equipped with an SMBus serial I/O peripheral that is compliant with both the System Management
More informationBelow is a diagram explaining the data packet and the timing related to the mouse clock while receiving a byte from the PS-2 mouse:
PS-2 Mouse: The Protocol: For out mini project we designed a serial port transmitter receiver, which uses the Baud rate protocol. The PS-2 port is similar to the serial port (performs the function of transmitting
More informationParallel IO. Serial IO. Parallel vs. Serial IO. simplex vs half-duplex vs full-duplex. Wires: Full Duplex. Wires: Simplex, Half-duplex.
Parallel IO Parallel IO data sent over a group of parallel wires. Typically, a clock is used for synchronization. D[15:0] clk Serial IO Serial IO data sent one bit at a time, over a single wire. A clock
More informationChapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann
Chapter 7 Registers & Register Transfers J. J. Shann J.J. Shann Chapter Overview 7- Registers and Load Enable 7-2 Register Transfers 7-3 Register Transfer Operations 7-4 A Note for VHDL and Verilog Users
More informationLizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin
BUS ARCHITECTURES Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin Keywords: Bus standards, PCI bus, ISA bus, Bus protocols, Serial Buses, USB, IEEE 1394
More informationIntroduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems
Harris Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems David Harris Harvey Mudd College David_Harris@hmc.edu Based on EE271 developed by Mark Horowitz, Stanford University MAH
More informationMeasurement and Analysis Introduction of ISO7816 (Smart Card)
Measurement and Analysis Introduction of ISO7816 (Smart Card) ISO 7816 is an international standard related to electronic identification cards with contacts, especially smart cards, managed jointly by
More informationChapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language
Chapter 4 Register Transfer and Microoperations Section 4.1 Register Transfer Language Digital systems are composed of modules that are constructed from digital components, such as registers, decoders,
More informationZ80 Microprocessors Z80 CPU. User Manual UM008006-0714. Copyright 2014 Zilog, Inc. All rights reserved. www.zilog.com
Z80 Microprocessors Z80 CPU UM008006-0714 Copyright 2014 Zilog, Inc. All rights reserved. www.zilog.com ii Warning: DO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS. LIFE SUPPORT POLICY ZILOG S PRODUCTS
More informationUSER GUIDE EDBG. Description
USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel
More informationTechnical Training Module ( 30 Days)
Annexure - I Technical Training Module ( 30 Days) Section 1 : Programmable Logic Controller (PLC) 1. Introduction to Programmable Logic Controller - A Brief History, Need and advantages of PLC, PLC configuration,
More informationCentral Processing Unit (CPU)
Central Processing Unit (CPU) CPU is the heart and brain It interprets and executes machine level instructions Controls data transfer from/to Main Memory (MM) and CPU Detects any errors In the following
More informationSerial Communications
April 2014 7 Serial Communications Objectives - To be familiar with the USART (RS-232) protocol. - To be able to transfer data from PIC-PC, PC-PIC and PIC-PIC. - To test serial communications with virtual
More informationUSB 3.0 Connectivity using the Cypress EZ-USB FX3 Controller
USB 3.0 Connectivity using the Cypress EZ-USB FX3 Controller PLC2 FPGA Days June 20, 2012 Stuttgart Martin Heimlicher FPGA Solution Center Content Enclustra Company Profile USB 3.0 Overview What is new?
More informationAutomating with STEP7 in LAD and FBD
bisk Automating with STEP7 in LAD and FBD Programmable Controllers SIMATIC S7-300/400 by Hans Berger Publicis MCD Verlag Contents Indroduction 19 1 SIMATIC S7-300/400 Programmable Controller... 20 1.1
More informationThe I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual. 14.10.2010 HAW - Arduino 1
The I2C Bus Introduction The I2C-bus is a de facto world standard that is now implemented in over 1000 different ICs manufactured by more than 50 companies. Additionally, the versatile I2C-bus is used
More informationSpacecraft Computer Systems. Colonel John E. Keesee
Spacecraft Computer Systems Colonel John E. Keesee Overview Spacecraft data processing requires microcomputers and interfaces that are functionally similar to desktop systems However, space systems require:
More informationTechnical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview
Technical Note TN-29-06: NAND Flash Controller on Spartan-3 Overview Micron NAND Flash Controller via Xilinx Spartan -3 FPGA Overview As mobile product capabilities continue to expand, so does the demand
More informationSystem on Chip Platform Based on OpenCores for Telecommunication Applications
System on Chip Platform Based on OpenCores for Telecommunication Applications N. Izeboudjen, K. Kaci, S. Titri, L. Sahli, D. Lazib, F. Louiz, M. Bengherabi, *N. Idirene Centre de Développement des Technologies
More informationRAPID PROTOTYPING OF DIGITAL SYSTEMS Second Edition
RAPID PROTOTYPING OF DIGITAL SYSTEMS Second Edition A Tutorial Approach James O. Hamblen Georgia Institute of Technology Michael D. Furman Georgia Institute of Technology KLUWER ACADEMIC PUBLISHERS Boston
More informationECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path
ECE410 Design Project Spring 2008 Design and Characterization of a CMOS 8-bit Microprocessor Data Path Project Summary This project involves the schematic and layout design of an 8-bit microprocessor data
More informationOpenSPARC T1 Processor
OpenSPARC T1 Processor The OpenSPARC T1 processor is the first chip multiprocessor that fully implements the Sun Throughput Computing Initiative. Each of the eight SPARC processor cores has full hardware
More informationInstruction Set Architecture. Datapath & Control. Instruction. LC-3 Overview: Memory and Registers. CIT 595 Spring 2010
Instruction Set Architecture Micro-architecture Datapath & Control CIT 595 Spring 2010 ISA =Programmer-visible components & operations Memory organization Address space -- how may locations can be addressed?
More informationMemory unit. 2 k words. n bits per word
9- k address lines Read n data input lines Memory unit 2 k words n bits per word n data output lines 24 Pearson Education, Inc M Morris Mano & Charles R Kime 9-2 Memory address Binary Decimal Memory contents
More informationDesign and Implementation of an On-Chip timing based Permutation Network for Multiprocessor system on Chip
Design and Implementation of an On-Chip timing based Permutation Network for Multiprocessor system on Chip Ms Lavanya Thunuguntla 1, Saritha Sapa 2 1 Associate Professor, Department of ECE, HITAM, Telangana
More informationPmod peripheral modules are powered by the host via the interface s power and ground pins.
Digilent Pmod Interface Specification Revision: November 20, 2011 1300 NE Henley Court, Suite 3 Pullman, WA 99163 (509) 334 6306 Voice (509) 334 6300 Fax Introduction The Digilent Pmod interface is used
More informationChapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan
Chapter 2 Basic Structure of Computers Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Functional Units Basic Operational Concepts Bus Structures Software
More informationMicrocomputer Components SAB 80515/SAB 80C515 8-Bit Single-Chip Microcontroller Family
Microcomputer Components SAB 80515/SAB 80C515 8-Bit Single-Chip Microcontroller Family User's Manual 08.95 SAB 80515 / SAB 80C515 Family Revision History: 8.95 Previous Releases: 12.90/10.92 Page Subjects
More informationUNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering. EEC180B Lab 7: MISP Processor Design Spring 1995
UNIVERSITY OF CALIFORNIA, DAVIS Department of Electrical and Computer Engineering EEC180B Lab 7: MISP Processor Design Spring 1995 Objective: In this lab, you will complete the design of the MISP processor,
More informationCPU Organisation and Operation
CPU Organisation and Operation The Fetch-Execute Cycle The operation of the CPU 1 is usually described in terms of the Fetch-Execute cycle. 2 Fetch-Execute Cycle Fetch the Instruction Increment the Program
More informationThe Secrets of RS-485 Half-duplex Communication
Communication Casper Yang, Senior Product Manager support@moxa.com RS-485 is a good choice for long distance serial communication since using differential transmission cancels out the vast majority of
More informationSequential Logic Design Principles.Latches and Flip-Flops
Sequential Logic Design Principles.Latches and Flip-Flops Doru Todinca Department of Computers Politehnica University of Timisoara Outline Introduction Bistable Elements Latches and Flip-Flops S-R Latch
More informationECE380 Digital Logic
ECE38 igital Logic Flip-Flops, Registers and Counters: Flip-Flops r.. J. Jackson Lecture 25- Flip-flops The gated latch circuits presented are level sensitive and can change states more than once during
More informationOpen Flow Controller and Switch Datasheet
Open Flow Controller and Switch Datasheet California State University Chico Alan Braithwaite Spring 2013 Block Diagram Figure 1. High Level Block Diagram The project will consist of a network development
More informationDP8570A DP8570A Timer Clock Peripheral (TCP)
DP8570A DP8570A Timer Clock Peripheral (TCP) Literature Number: SNAS557 DP8570A Timer Clock Peripheral (TCP) General Description The DP8570A is intended for use in microprocessor based systems where information
More informationCHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS
CHAPTER IX-1 CHAPTER IX CHAPTER IX COUNTERS, SHIFT, AN ROTATE REGISTERS REA PAGES 249-275 FROM MANO AN KIME CHAPTER IX-2 INTROUCTION -INTROUCTION Like combinational building blocks, we can also develop
More informationEE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad
A. M. Niknejad University of California, Berkeley EE 100 / 42 Lecture 24 p. 1/20 EE 42/100 Lecture 24: Latches and Flip Flops ELECTRONICS Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad University of California,
More information