Presentation is loading. Please wait.

Presentation is loading. Please wait.

نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Main Memory Read Only Memory (ROM)

Similar presentations


Presentation on theme: "نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Main Memory Read Only Memory (ROM)"— Presentation transcript:

1 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Main Memory Read Only Memory (ROM)

2 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Overview Read-only memory can normally only be read Internal organization similar to SRAM ROMs are effective at implementing truth tables Any logic function can be implemented using ROMs Multiple single-bit functions embedded in a single ROM Also used in computer systems for initialization ROM doesn’t lose storage value when power is removed Very useful for implementing FSMs

3 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Read-Only Memory (ROM) An array of semiconductor devices diodes transistors field effect transistors 2 N words by M bits Data can be read but not changed (normal operating conditions)

4 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني N input bits 2 N words by M bits Implement M arbitrary functions of N variables Example 8 words by 5 bits: Read-Only Memory (ROM) 3 Input Lines ABCABC F 0 F 1 F 2 F 3 F 4 5 Output Lines ROM 8 words x 5 bits

5 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني ROM = "Read Only Memory" values of memory locations are fixed ahead of time A ROM can be used to implement a truth table if the address is m-bits, we can address 2 m entries in the ROM. our outputs are the bits of data that the address points to. m is the "height", and n is the "width" ROM Implementation mn 0 0 0 0 0 1 1 0 0 1 1 1 0 0 0 1 0 1 1 0 0 0 1 1 1 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 1 1 1 0 0 1 1 0 1 1 1 0 1 1 1

6 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Each minterm of each function can be specified Read-Only Memory (ROM) 3 Inputs Lines ABCABC F 0 F 1 F 2 F 3 F 4 5 Outputs Lines ROM 8 words x 5 bits

7 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني ROM Internal Structure...... n Inputs Lines n bit decoder... m Outputs Lines...... Memory Array 2 n words x m bits

8 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني ROM Memory Array 3 to 8 decoder ABCABC m 0 =A’B’C’ m 1 =A’B’C m 2 =A’BC’ m 3 =A’BC m 4 =AB’C’ m 5 =AB’C m 6 =ABC’ m 7 =ABC F 0 F 1 F 2 F 3 F 4

9 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Inside the ROM Alternate view Each possible horizontal/vertical intersection indicates a possible connection Or gates at bottom output the word selected by the decoder (32 x 8)

10 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني ROM Example Specify a truth table for a ROM which implements: F = AB + A’BC’ G = A’B’C + C’ H = AB’C’ + ABC’ + A’B’C

11 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني ROM Example Specify a truth table for a ROM which implements: F = AB + A’BC’ G = A’B’C + C’ H = AB’C’ + ABC’ + A’B’C

12 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني ROM Example Specify a truth table for a ROM which implements: F = AB + A’BC’ G = A’B’C + C’ H = AB’C’ + ABC’ + A’B’C

13 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Function Implementation 3 to 8 decoder ABCABC m 0 =A’B’C’ m 1 =A’B’C m 2 =A’BC’ m 3 =A’BC m 4 =AB’C’ m 5 =AB’C m 6 =ABC’ m 7 =ABC F G H Each column is a new function Note: two outputs unused!

14 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Summary ROMs provide stable storage for data ROMs have address inputs and data outputs ROMs directly implement truth tables ROMs can be used effectively in Mealy and Moore machines to implement combinational logic In normal use ROMs are read-only They are only read, not written ROMs are often used by computers to store critical information Unlike SRAM, they maintain their storage after the power is turned off

15 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Secondary Memory

16 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Secondary memory It is the amount of data that can be stored in the storage unit. A large capacity is desired. As compared to secondary storage units, primary storage units have less storage capacity. Any storage unit of a computer system is characterized and evaluated based on following properties – storage capacity, access time, cost per bit of storage, volatile and random access.

17 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Types of storage device Optical storage device- CD Optical storage device- DVD Optical storage device- Blu-Ray Magnetic storage device- Floppy disk Magnetic storage device- Hard disk Solid state device- Flash memory & Memory stick

18 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Optical storage device- CD CD-ROM : CD Read only memory. When you buy a CD from a store, you can read it, but you can’t save any thing on it. CD-RW : CD Read Write. You can save your data over and over again, like a floppy disk. Advantages : Small and portable Very cheap to produce Most computers can read CDs. If there is no CD drive, a DVD drive can usually read them Disadvantages :  Fairly fragile, easy to snap or scratch  Smaller storage capacity than a hard drive or DVD  Slower to access than the hard disk.

19 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Optical storage device- DVD DVD-ROM : A new type of read only compact disc that can hold a minimum of 4.7GB. DVD-RW : The data on a DVD-RW disc can be erased and recorded over numerous times without damaging the medium. Advantages : Very large storage capacity DVD players can read CDs DVDs are now mass produced so they are relatively cheap Disadvantages :  DVDs do not work in CD drives  There is no single standard of DVD  They can be easily damaged by breaking or scratching

20 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Optical storage device- Blu-Ray Blu-ray : medium designed to supersede the standard DDVD format. Its main uses are for storing high-definition video, PlayStation 3 video games, and other data, with up to 25 GB per single layered, and 50 GB per dual layered disc. The disc has the same physical dimensions as standard DVDs and CDs. Advantage : Huge storage capacity Mandatory Managed Copy Backwards compatibility Disadvantage :  Very expensive  The cost of film  Presently greater number of movie titles are available on DVD's

21 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Magnetic storage device- Floppy disk Floppy disk : It can only store up 1.44Mb of data. All disks must be formatted before data can be written to the disk. Formatting divides the disk up into sections or sectors onto which data files are stored. Advantage : Small & light – easy to carry Cheap Useful for transferring small files Disadvantage :  Easy to be damage  Small storage capacity  Many new computer don’t have floppy disk drives

22 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Magnetic storage device- Hard disk Hard disk : the main storage device in computer. It is a bit like a filing cabinet: all of your data files and applications software are stored on it. It contains a number of metal platters which have been coated with a special magnetic material. The data is stored in this magnetic material. Fixed hard discs : Used to store operating systems, software and working data. Any application which requires very fast access to data for both reading and writing to. Not for applications which need portability. Used for online and real time processes requiring direct access. Used in file servers for computer networks. Portable hard discs : Any application which requires extremely large storage capacity where speed of access is not an issue. Uses serial access for reading and writing. Used for backups of file servers for computer networks. Used in a variety of batch processing applications such as reading of bank cheques, payroll processing and general stock control.

23 نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Solid state device- Flash memory & Memory stick Flash Memory : Memory sticks are available from 1 Gb up to 8 Gb. They are typically small, lightweight, removable and rewritable. They consist of a small printed circuit board which is encased in plastic or metal casing. They usually have a removable cap which covers and protects the part of the stick which is inserted into a USB port. Advantage : Hold more data than CD More reliable than floppy disk, because they have no moving part More compact and portable than floppy disks or CDs/DVDs. Disadvantage :  Lost easily  The metal part which is inserted into the USB port can be snapped off if they are handled roughly  More expensive than floppy disks, CDs and DVDs


Download ppt "نظام المحاضرات الالكترونينظام المحاضرات الالكتروني Main Memory Read Only Memory (ROM)"

Similar presentations


Ads by Google