Computer Structures

8,092 views

Published on

Published in: Technology, Business
1 Comment
1 Like
Statistics
Notes
  • These notes in form of presentation were really good and helped me in preparing my class more effectively and efficiently.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
8,092
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
212
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide
  • digital logic circuits in the ALU are built up of gates - these gates are specific electronic circuits that produce an output signal that depends upon their input. e.g the OR logic gate if either a or b inputs are positive, then the output will be positive. with the AND gate, both a and b must be positive for the output to be positive Refer to Stallings, electrical engineering Control unit : sends signals to the ALU, registers and buses to direct their operation. Uses the system clock to keep time, coordinate functions. Generates signals to move data between registers, increment the program counter etc.
  • A register may have a specific purpose or it may be general purpose. The number and type of registers varies from cpu to cpu. clock - clock ticks for each step within the cycle
  • Computer Structures

    1. 1. Components of a computer system <ul><li>Hardware </li></ul><ul><ul><li>Central Processing Unit (CPU) </li></ul></ul><ul><ul><li>Memory </li></ul></ul><ul><ul><li>Input and Output Devices </li></ul></ul><ul><li>Software </li></ul><ul><li>Data </li></ul>
    2. 2. Components of a computer system <ul><li>Computer hardware provides the physical mechanisms to store, manipulate and input /output data. </li></ul><ul><li>Software provides instructions to tell the hardware what tasks to perform </li></ul><ul><li>Data in the computer may be representing numbers, characters, graphics etc but is always kept in a form that the hardware and software can manipulate. </li></ul>
    3. 3. Basic concepts - Hardware <ul><li>CPU performs actual processing of data. </li></ul><ul><li>Data and programs are stored in memory, and moved to and from CPU as required. </li></ul><ul><li>Data travels between system components along electronic pathways, (sets of wires), called buses. </li></ul>
    4. 4. <ul><li>We will look at: </li></ul><ul><ul><li>Four Box diagram </li></ul></ul><ul><ul><li>CPU </li></ul></ul><ul><ul><li>Memory </li></ul></ul><ul><ul><li>Registers and their role </li></ul></ul><ul><ul><li>Processing speed </li></ul></ul>
    5. 5. <ul><li>Three major components of the CPU : ALU , Control unit and Registers . </li></ul><ul><li>The Arithmetic Logic Unit (ALU) operates on binary data to perform all arithmetic and logical functions. </li></ul><ul><ul><li>+ - * / </li></ul></ul><ul><ul><li>< > = <> </li></ul></ul><ul><ul><li>AND OR NOT </li></ul></ul><ul><ul><li>Rotate Shift </li></ul></ul><ul><li>Control unit fetches and interprets instructions in memory and generates signals to control all other system components. </li></ul>
    6. 6. Four Box Diagram Input Output Backing Store Processor Memory (RAM and ROM) CPU
    7. 7. Memory <ul><li>Purpose of memory is data storage. A hierarchy of memory exists . </li></ul><ul><ul><li>data required for immediate manipulation by CPU is stored in small areas of fast access memory within CPU called registers . </li></ul></ul><ul><ul><li>data required for active program is generally stored in primary memory, commonly called RAM. </li></ul></ul><ul><ul><li>data which may be required at later time generally stored in secondary storage e.g. on disk, tape, or CD-Rom. </li></ul></ul>
    8. 8. Memory: characteristics <ul><ul><li>Capacity : no of bits, bytes or words in module. Addressable unit - 1 word . Word size may be 8, 16, 32 bits ; (1 byte = 8 bits) </li></ul></ul><ul><ul><li>Unit of transfer : RAM = 1 word ; Disk = 1 block </li></ul></ul><ul><ul><li>access time or speed - time required to read from memory location. Tradeoff between quantity, cost and speed . As speed increases so does cost. </li></ul></ul><ul><ul><li>Also know as Primary Storage </li></ul></ul>
    9. 9. <ul><li>Registers : very fast memory internal to CPU providing temporary storage places for data being manipulated. </li></ul><ul><li>System clock generates regular pulses to synchronize all system events and determine the speed at which processing can occur. </li></ul><ul><li>Basic measure of system performance is clock speed, measured in megahertz (millions of cycles per second) </li></ul>
    10. 10. Semiconductor main memory <ul><li>Primary memory is made up of RAM and ROM </li></ul><ul><li>Types include: </li></ul><ul><ul><li>RAM (Random Access Memory) </li></ul></ul><ul><ul><li>ROM (Read Only Memory) </li></ul></ul>
    11. 11. ROM- SECONDARY STORAGE <ul><li>Read Only Memory </li></ul><ul><li>Permanent non-volatile </li></ul><ul><li>Software and data fixed during chip manufacture </li></ul><ul><li>Cannot be written to </li></ul><ul><li>All computers have some ROM to load the Operating System into RAM (bootstrap loader) </li></ul>
    12. 12. Control Unit CPU Primary Memory <ul><ul><li>CPU exchanges data with memory via </li></ul></ul><ul><ul><li>the registers such as IR and PC. </li></ul></ul>Registers Secondary Memory i.e. hard drive CD R/W Floppy How the components interact ALU
    13. 13. Inputs <ul><li>Input Devices include: </li></ul><ul><li>Keyboards </li></ul><ul><li>Mouse (Mice) </li></ul><ul><li>Microphones </li></ul><ul><li>Webcams </li></ul><ul><li>Graphics Tablet </li></ul>
    14. 14. Output <ul><li>Printers </li></ul><ul><li>Monitor </li></ul><ul><li>Speakers </li></ul>

    ×