• No results found

w5_top_level_view_interrupts_amp_internal_memory_2.pdf

N/A
N/A
Protected

Academic year: 2020

Share "w5_top_level_view_interrupts_amp_internal_memory_2.pdf"

Copied!
23
0
0

Loading.... (view fulltext now)

Full text

(1)

TOP LEVEL VIEW OF COMPUTERS

Chapter 3

2/40

(2)

3/40

I

NTER

-C

ONNECTIONS

 All the units must be connected

 Different type of connection for different type of unit

 Memory  Input/Output  CPU

(3)

5/40

M

EMORY

C

ONNECTION

 Receives and sends data

 Receives addresses (of locations)

 Receives control signals

 Read  Write  Timing

6/40

I

NPUT

/O

UTPUT

C

ONNECTION

(1)

 Similar to memory from computer’s viewpoint

 Output

 Receive data from computer  Send data to peripheral

 Input

(4)

7/40

I

NPUT

/O

UTPUT

C

ONNECTION

(2)

 Receive control signals from computer

 Send control signals to peripherals

 e.g. spin disk

 Receive addresses from computer

 e.g. port number to identify peripheral

 Send interrupt signals (control)

CPU C

ONNECTION

 Reads instruction and data

 Writes out data (after processing)

 Sends control signals to other units

(5)

9/40

B

USES

 There are a number of possible interconnection systems

 Single and multiple BUS structures are most common

 e.g. Control/Address/Data bus (PC)

 e.g. Unibus (DEC-PDP)

10/40

W

HAT IS A

B

US

?

 A communication pathway connecting two or more devices

 Usually broadcast

 Often grouped

 A number of channels in one bus

 e.g. 32 bit data bus is 32 separate single bit channels

(6)

11/40

D

ATA

B

US

 Carries data

 Remember that there is no difference between “data”

and “instruction” at this level

 Width is a key determinant of performance

 8, 16, 32, 64 bit

A

DDRESS BUS

 Identify the source or destination of data

 e.g. CPU needs to read an instruction (data) from a given location in memory

 Bus width determines maximum memory capacity of system

 e.g. 8080 has 16 bit address bus giving 64k address

(7)

13/40

C

ONTROL

B

US

 Control and timing information

 Memory read/write signal  Interrupt request

 Clock signals

14/40

(8)

15/40

B

IG AND

Y

ELLOW

?

 What do buses look like?

 Parallel lines on circuit boards  Ribbon cables

 Strip connectors on mother boards

e.g. PCI

 Sets of wires

(9)

17/40

S

INGLE

B

US

P

ROBLEMS

 Lots of devices on one bus leads to:

 Propagation delays

Long data paths mean that co-ordination of bus use can

adversely affect performance

If aggregate data transfer approaches bus capacity

 Most systems use multiple buses to overcome these problems

T

RADITIONAL

(ISA)

(10)

H

IGH

P

ERFORMANCE

B

US

B

US

T

YPES

 Dedicated

 Separate data & address lines

 Multiplexed

 Shared lines

 Address valid or data valid control line  Advantage - fewer lines

 Disadvantages

(11)

21/40

B

US

A

RBITRATION

 More than one module controlling the bus

 e.g. CPU and DMA controller

 Only one module may control bus at one time

 Arbitration may be centralised or distributed

22/40

C

ENTRALISED OR

D

ISTRIBUTED

A

RBITRATION

 Centralised

 Single hardware device controlling bus access

Bus Controller Arbiter

 May be part of CPU or separate

 Distributed

(12)

23/40

T

IMING

 Co-ordination of events on bus

 Synchronous

 Events determined by clock signals  Control Bus includes clock line  A single 1-0 is a bus cycle  All devices can read clock line  Usually sync on leading edge  Usually a single cycle for an event

(13)

A

SYNCHRONOUS

T

IMING

– R

EAD

D

IAGRAM

A

SYNCHRONOUS

T

IMING

– W

RITE
(14)

27/40

PCI B

US

 Peripheral Component Interconnection

 Intel released to public domain

 32 or 64 bit

 50 lines

(15)

INTERNAL MEMORY

Chapter 5

30/40

(16)

31/40

F

ERROMAGNETIC

M

EMORIES
(17)

33/40

T

HREADED

ROM

34/40

(18)

35/40

S

EMICONDUCTOR

M

EMORY

T

YPES

Memory Type Category Erasure Write Mechanism Volatility

Random-access

memory (RAM) Read-write memory

Electrically,

byte-level Electrically Volatile

Read-only memory (ROM)

Read-only memory Not possible

Masks Nonvolatile Programmable ROM (PROM) Electrically Erasable PROM (EPROM) Read-mostly memory

UV light, chip-level

Electrically Erasable PROM (EEPROM)

Electrically, byte-level

Flash memory Electrically, block-level

S

EMICONDUCTOR

M

EMORY

 RAM

 Misnamed as all semiconductor memory is random

access

 Read/Write  Volatile

(19)

37/40

P

ROPERTIES OF A

C

ELL

 Basic element of semiconductor memory is a cell.

 They exhibit two states, represent binary 0 and 1

 They are capable of being written into to set the state

 They are capable of being read to sense the state

38/40

(20)

39/40

D

YNAMIC

RAM

 Bits stored as charge in capacitors  Charges leak

 Need refreshing even when powered  Simpler construction

 Smaller per bit  Less expensive  Need refresh circuits  Slower

 Main memory  Essentially analogue

 Level of charge determines value

(21)

41/40

D

YNAMIC

RAM S

TRUCTURE

42/40

DRAM O

PERATION

 Address line active when bit read or written

 Transistor switch closed (current flows)  Transistor switch open (no current flows)

 Write

 Voltage to bit line

High for 1 low for 0

 Then signal address line

Transfers charge to capacitor

 Read

 Address line selected

transistor turns on

 Charge from capacitor fed via bit line to sense amplifier

Compares with reference value to determine 0 or 1

(22)

43/40

S

TATIC

RAM

 Bits stored as on/off switches  No charges to leak

 No refreshing needed when powered  More complex construction

 Larger per bit  More expensive

 Does not need refresh circuits  Faster

 Cache  Digital

 Uses flip-flops

(23)

45/40

S

TATIC

RAM O

PERATION

 Transistor arrangement gives stable logic state

 State 1

 C1 high, C2 low  T1 T4 off, T2 T3 on

 State 0

 C2 high, C1 low  T2 T3 off, T1 T4 on

 Address line transistors T5 T6 is switch  Write – apply value to B & compliment to B

 Read – value is on line B

46/40

SRAM

V

DRAM

 Both volatile

 Power needed to preserve data

 Dynamic cell

 Simpler to build, smaller  More dense

 Less expensive  Needs refresh  Larger memory units

 Static

References

Related documents

Para dicho fin las secuelas torácicas se clasifican en: secuelas de la vía aérea, secuelas parenquimatosas, secuelas pleurales, secuelas mediastinales, secuelas

Participant Age Disability Terms Intervention Terms elderly old age aged aging geriatric senior adult* senior citizen* hearing disorder(s) hearing impairment

10) The external system bus architecture is created using from ______ architecture: a. Programmable read write memory c. Programmer read and write memory d. Erasable

A microcontroller is a highly integrated single chip, which consists of on chip CPU (Central Processing Unit), RAM (Random Access Memory), EPROM/PROM/ROM (Erasable

37% 37% 31% 31% 27% 27% 26% 26% 25% 19% 9% 1% 4% 4% Don't know We have no data management projects planned Other Governance Single customer view Analytics Master data

Remote alarm indicator lights and test switches must be provided and located in the nearest corridor or a public area and adequately labeled with the location and type of

The following examples from psychological tests suggest, in a manner that can be di- rectly experienced, certain active opera- tions that occur in visual

Cloud DC DU DC Internet DU Net Firewall Prod LDAP Prod CAS Backup CAS CAS Failover HTTP/HTTPS Backup LDAP HTTP/HTTPS Internet-based User Internal User.. Route Advertisements