CBP 2005-6Comp 1017 Digital Technologies1. CBP 2005-6Comp 1017 Digital Technologies2.

Slides:



Advertisements
Similar presentations
Microcomputer Circuits Prof Jess UEAB 2007 Designing a Microprocessor Chapter 1.
Advertisements

Technology ICT Option: Data Representation. Data Representation In our everyday lives, we communicate with each other using analogue data. This data takes.
IEEE’s Hands on Practical Electronics (HOPE) Lesson 9: CMOS, Digital Logic.
INTRODUCTION OF COMPUTER
Hardware. Basic Computer System Central Processing Unit Input Devices Output Devices Backing Storage Devices.
Chapter 2 Processing Data Peter Norton’s Introduction to Computers
Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates Invitation to Computer Science, C++ Version, Fourth Edition.
Bits and Bytes.
Lecture 8 Topics –Switch –Transistor –CMOS transistor –Logic gates AND, OR, NOT Universal gates: NAND, NOR XOR.
COMPONENTS OF THE SYSTEM UNIT
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Faculty: Anita Kanavalli Department of CSE M S Ramaiah Institute of Technology Bangalore E mail-
©Brooks/Cole, 2003 Chapter 2 Data Representation.
1 Survey of Computer Science CSCI 110, Spring 2011 Lecture 16 Digital Circuits, binary Numbers.
CSCI 1200 Julie Benoit Introduction to Computing.
CSC 101 Introduction to Computing Lecture 9 Dr. Iftikhar Azim Niaz 1.
Computers Organization & Assembly Language
Summer 2014 Chapter 1: Basic Concepts. Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Chapter Overview Welcome to Assembly Language.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
Computer Terminology Chapter 2 CIT History of Computers First known device used to compute was the Abacus 3000 BC 1617 John Napier created a crude.
Chapter 11 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Chapter 2 Computer Hardware
Representing Data. Representing data u The basic unit of memory is the bit  A transistor that can hold either high or low voltage  Conceptually, a tiny.
CBP Comp 3104 The Nature of Computing 1 Nature Inspired Computing Artificial Neural Nets - Symbiosis between computer and cognitive sciences.
Logic Design Dr. Yosry A. Azzam. Binary systems Chapter 1.
Compsci Today’s topics l Binary Numbers  Brookshear l Slides from Prof. Marti Hearst of UC Berkeley SIMS l Upcoming  Networks Interactive.
What is a computer? A computer is a device that:
The Hexadecimal Number System and Memory Addressing ISAT 121.
Compsci Today’s topics l Binary Numbers  Brookshear l Slides from Prof. Marti Hearst of UC Berkeley SIMS l Upcoming  Networks Interactive.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
COMP 1321 Digital Infrastructure Richard Henson University of Worcester October 2015.
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
CBP 2002ITY 270 Computer Architecture1 Digital Logic This Time … Control Path, Arithmetic Ops 12 a U1 34 b Last Time …
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
CBP 2006Comp 4070 Concepts and Philosophy of Computing 1 Wrestling with Complex Stuff. With the Correct Approach, even the smallest guy will succeed!
Computer Science I Storing data. Binary numbers. Classwork/homework: Catch up. Do analysis of image types.
Concepts of Engineering and Technology Copyright © Texas Education Agency, All rights reserved.
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Data Representation. How is data stored on a computer? Registers, main memory, etc. consists of grids of transistors Transistors are in one of two states,
CMOS Logic Gates. NMOS transistor acts as a switch 2 When gate voltage is 0 V No channel is formed current does not flow easily “open switch” When gate.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
CHAPTER 1 COMPUTER SCIENCE II. HISTORY OF COMPUTERS (1.1) Eniac- one of the worlds first computers Used more electricity than an entire city block of.
Data Representation. In our everyday lives, we communicate with each other using analogue data. This data takes the form of: Sound Images Letters Numbers.
DATA Unit 2 Topic 2. Different Types of Data ASCII code: ASCII - The American Standard Code for Information Interchange is a standard seven-bit code that.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Encoding J. Holvikivi 2012.
Computer Graphics HARDWARE. Computers  Computers are automatic, electronic machines that –accept data & instructions from a user (INPUT) –store the data.
Computer Science: An Overview Eleventh Edition
Logic gates.
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
Invitation to Computer Science, C++ Version, Fourth Edition
Chapter 3 - Binary Numbering System
Computer Science II Chapter 1.
Everything is a number Everything in a computer memory and on storages is a number. Number  Number Characters  Number by ASCII code Sounds  Number.
Principles of Information Technology
COMP 1321 Digital Infrastructure
BITS & BYTES.
Chapter 2 – Computer hardware
Digital Signals Digital Signals have two basic states:
Digital Logic Last Time … This Time … Control Path, Arithmetic Ops a
University of Gujrat Department of Computer Science
Ch2: Data Representation
COMP 1321 Digital Infrastructure
Chapter 2 Processing Data Peter Norton’s  Introduction to Computers Data Useful output.
Chapter 4: Hardware for Educators
Option: Data Representation
Option: Data Representation
ENEL 111 Digital Electronics
Presentation transcript:

CBP Comp 1017 Digital Technologies1

CBP Comp 1017 Digital Technologies2

CBP Comp 1017 Digital Technologies3 Patron Saint of England, Moscow, Boy Scouts, the Italian calvary, chivalry, Istanbul, Aragon, Beirut, Portugal, Germany, Genoa, and Venice. In the East, he is the patron of soldiers, and also of husbandmen … Representation Dr.C Comp 1017

CBP Comp 1017 Digital Technologies4 … Representations Images Characters Numbers Music electronics

CBP Comp 1017 Digital Technologies5 Bits and Electronics s 4s 2s 1s = 9 Example Electronics … a wire can be on (“1”) or off (“0”) Electric signals The Magic … numbers are bits are electric signals

CBP Comp 1017 Digital Technologies6 Numbers are Bits x x x x x ? x 16 + ? x 8 + ? x 4 + ? x 2 + ? x 1 example question

CBP Comp 1017 Digital Technologies7 Counting in Binary 1s2s s

CBP Comp 1017 Digital Technologies8 CPU MemI/O Application Functional Blocks Transistors

CBP Comp 1017 Digital Technologies9 N-MOS in P-MOS in CMOS : Complementary Transistors

CBP Comp 1017 Digital Technologies10 N-MOS In = 0 In = 1 P-MOS In = 1 In = 0 Transistors are Switches

CBP Comp 1017 Digital Technologies in out Transistor Symbols Logic Gate Symbol Representing Electronics

CBP Comp 1017 Digital Technologies on offon off

CBP Comp 1017 Digital Technologies B AB A out 1 0 ABO AND gate A B O/P X

CBP Comp 1017 Digital Technologies14 Digital Logic Gates. AND gate A B O/P ABO LOGIC SYMBOL TRUTH TABLE

CBP Comp 1017 Digital Technologies15 Digital Logic Lab ABO input switches A B O OR gate NOT gate NOR gate NAND gate

CBP Comp 1017 Digital Technologies16 Combinations of Gates 34 bU1 Inverter 34 bU1 Inverter Sum is greater than the parts

CBP Comp 1017 Digital Technologies17 Exercise - Find the Truth Table A B C ABCO P P O AND gate

CBP Comp 1017 Digital Technologies18 Investigation of Single Neurons Microelectrode recording of Biological Neuron activation using tungsten electrode Hubel and Weisel. Nobel Prize 1958 Photomicrograph: Height = 1mm.

CBP Comp 1017 Digital Technologies19 Biological AND and NOT Neuron output fires only if both inputs are 1 INHIBITORY synapse : Input high 1 prevents neuron firing Inhibitory synapse

CBP Comp 1017 Digital Technologies20 Two Gate Memory Cell 12 aU1 34 b 34 b Electronic Inverter Two inverters + feedback 12 aU1 34 b Choose input 0 or 1. Follow it through two invertors with feedback. States are consistent. Two possible solutions. These are two memory states.

CBP Comp 1017 Digital Technologies21 SRAM Memory Cell 12 aU1 34 b 12 a 34 b select In/out bit 12 aU1 34 b Two inverters + feedback Neural Circuits SRAM Memory 0 1

CBP Comp 1017 Digital Technologies22 STM and LTM Before Learning After Learning A A B B Short Term Memory : Cycling data between groups of neurons 0 1 Long Term Memory : Change in strength of synapse connexion Random Access Memory (RAM) Hard Disk Drive

CBP Comp 1017 Digital Technologies23 How Many Numbers with N-bits ? from 0 to 3 are 4 numbers What are they ? from 0 to 7 are 8 numbers

CBP Comp 1017 Digital Technologies24 Biggest Number Represented ? = 15 (dec) One less = ? (dec) One less With 4 bits ? With 8 bits ?

CBP Comp 1017 Digital Technologies25 Memory Addressing CPU 2-bit address = 4 memory cells 3-bit address = 8 memory cells

CBP Comp 1017 Digital Technologies26 Questions So what size memory with 8 bits of address ? So what size memory with 16 bits of address ? …

CBP Comp 1017 Digital Technologies27 Data and Address Buses address bus 16 bits ? Max number of memory cells ? Memory 16 bits CPU 8 bits A A D Data bus 8 bits ? Max number which can be stored in each cell ? D

CBP Comp 1017 Digital Technologies28 Representing Characters - ASCII ASCII 8bits 256 characters Unicode 16bits ISO 36bits 17 million ASCII (American National Standards Institute ANSI) American Standard Code for Information Interchange The code for H is , for e is So the message “Hello.” can be coded as

CBP Comp 1017 Digital Technologies29 Unicode HEXAscii A 61a 6Dm 0DCR ASCII UNICODE Babelmap

CBP Comp 1017 Digital Technologies30 Adding Colored Light All colors of light can be made from the addition of RED + GREEN + BLUE e.g. RED + GREEN = YELLOW

CBP Comp 1017 Digital Technologies31 Three Images Make One RGB (Red Green Blue) Red + Green + Blue=

CBP Comp 1017 Digital Technologies32 Images “IView” Applet Zoomed area Zoom here + + = Red, green and Blue PIXELS

CBP Comp 1017 Digital Technologies Video memory “planes” Each PIXEL has 3 SAMPLES R G B + + = = PIXELSAMPLES Cathode Ray Tube (CRT) screen

CBP Comp 1017 Digital Technologies bits per pixel BIU Graphics Processor DAC’s CRT memory planes

CBP Comp 1017 Digital Technologies35 You recognize this guy. But SQUINT while looking. The image appears very much clearer. Yes! Defocussing the image gets more information to your brain. How? By removing distracting info pro- duced by the sharp pixel edges

CBP Comp 1017 Digital Technologies36 Image Processing Applet ImagePixelsConvolution KERNEL

CBP Comp 1017 Digital Technologies37 How convolution works Scan KERNEL OVER whole image, pixel by pixel and at each point do this, e.g, (1 x 4) + (2 x 8) + (1 x 4) = 24, divide by 4 = 6 Divide = 4 input image output image

CBP Comp 1017 Digital Technologies38 Hexadecimal Representation We need a shorthand for representing binary numbers. Divide a byte (8 bits) into two 4-bit nibbles Each nibble can be ABCDEF89ABCDEF … so we have E6 E6

CBP Comp 1017 Digital Technologies39 Use of Hexadecimals 2. Assembler Programming addressesAssembler code Yellow is FFFF00 This means FF 255 FF RGBRGB 1. Web colours in HTML

CBP Comp 1017 Digital Technologies40 Steganography

CBP Comp 1017 Digital Technologies41 Sound Representation - Demo Microcontrollerloudspeaker

CBP Comp 1017 Digital Technologies42 Digital and Analogue Data Digital Loaf of Bread Notes of flute Light On or Off Binary 0 or 1 Analogue Glass of Water Notes of cello Light Dimmer Number

CBP Comp 1017 Digital Technologies43 Sound Representation recording Analogue from instrument Digital Representation Sampled signal playback

CBP Comp 1017 Digital Technologies44 Page 461 MIDI Representation Each track stored as sequence List of instructions to instrument how to play music. Does not contain sounds but instructions how to make them Midi instruments read these instructions and make the sounds represented by the instructions

CBP Comp 1017 Digital Technologies45 The Abundance of Logic Digital logic AND AND in neurons AND in programming if (x == 2 ) && (y == 3 )) gohome AND in language (Holmes was a detective) AND (Holmes was on the case)

CBP Comp 1017 Digital Technologies46 Why have we done all this ? Leibnitz (17 th C) saw the need to make a machine to prove mathematical and logical theorems – that means could “reason” about a problem George Boole (19 th C) produced symbolic logic (AND, NOT, NOR) which could simplify this process and capture most of “everyday reasoning” using only two states 0 and 1. Claude Shannon (20 th C) showed how Boole’s logic could be implemented by electronic Logic GATES which were digital using only 0 or 1 Alan Turing (20 th C) showed how these problems could be solved by a simple “central processor” and a “storage tape”. This is our Computer! Bohme and Jacopini showed that any complex set of instructions to solve these problems could be broken down into simple programming constructs, e.g. “ if (this) then do that”