Docsity

Computer Integrated Manufacturing, Lecture notes of Computer Integrated Manufacturing

Partial preview of the text

Download Computer Integrated Manufacturing and more Lecture notes Computer Integrated Manufacturing in PDF only on Docsity!

Lecture Slides on SOC 2060 COMPUTER ARCHITECTURE SPRING Semester 2019 @ Dr A R Naseer 1

INHA UNIVERSITY TASHKENT

SPRING SEMESTER 2019

SOC 2060

COMPUTER ARCHITECTURE

CREDITS/HOURS PER WEEK : 3/

COURSE TYPE : TECHNICAL CORE SEQUENCE

INSTRUCTOR

DR. A. R. NASEER

PROFESSOR OF COMPUTER SCIENCE & ENGG

28 February 2019

Lecture Slides on SOC 2060 COMPUTER ARCHITECTURE SPRING Semester 2019 @ Dr A R Naseer 2

INHA UNIVERSITY TASHKENT

SPRING SEMESTER 2019

SOC 2060

COMPUTER ARCHITECTURE

SECTION ICE 15-1/2/3/4/

CLASS SCHEDULE

MON 10.30 - 12 Noon Room No. 605

TUE 1.30 – 3.00 PM Room No. 202

28 February 2019

BUS STRUCTURE

 The operation of the bus is as follows.

 If one module wishes to send data to another, it

must do two things:

( 1 ) obtain the use of the bus, and

( 2 ) transfer data via the bus.

 If one module wishes to request data from

another module, it must

(1) obtain the use of the bus, and

(2) transfer a request to the other module over the

appropriate control and address lines. It must then

wait for that second module to send the data.

Multiple-Bus Hierarchies

 If a great number of devices are connected to the bus,

performance will suffer.

 There are two main causes:
1. In general, the more devices attached to the bus, the greater the bus
length and hence the greater the propagation delay. This delay
determines the time it takes for devices to coordinate the use of the
bus. When control of the bus passes from one device to another
frequently, these propagation delays can noticeably affect
performance.
2. The bus may become a bottleneck as the aggregate data transfer
demand approaches the capacity of the bus. This problem can be
countered to some extent by increasing the data rate that the bus can
carry and by using wider buses (e.g., increasing the data bus from 32
to 64 bits). However, because the data rates generated by attached
devices (e.g., graphics and video controllers, network interfaces) are
growing rapidly, this is a race that a single bus is ultimately destined
to lose.

Accordingly, most bus-based computer systems use

multiple buses, generally laid out in a hierarchy.

Multiple-Bus Hierarchies

 A typical traditional structure is shown in Figure 3. 17 a.  There is a local bus that connects the processor to a cache memory and that may support one or more local devices. The cache memory controller connects the cache not only to this local bus, but to a system bus to which are attached all of the main memory modules.  It is possible to connect I/O controllers directly onto the system bus.  A more efficient solution is to make use of one or more expansion buses for this purpose.  An expansion bus interface buffers data transfers between the system bus and the I/O controllers on the expansion bus.  This arrangement allows the system to support a wide variety of I/O devices and at the same time insulate memory-to-processor traffic from I/O traffic.  Figure 3. 17 a shows some typical examples of I/O devices that might be attached to the expansion bus.  Network connections include local area networks (LANs) such as a 10 - Mbps Ethernet and connections to wide area networks (WANs) such as a packet- switching network. SCSI (small computer system interface) is itself a type of bus used to support local disk drives and other peripherals.  A serial port could be used to support a printer or scanner.  This traditional bus architecture is reasonably efficient but begins to break down as higher and higher performance is seen in the I/O devices.

Multiple-Bus Hierarchies

 In response to these growing demands, a common approach taken by industry is to build a highspeed bus that is closely integrated with the rest of the system, requiring only a bridge between the processor’s bus and the high- speed bus. This arrangement is sometimes known as a mezzanine architecture.  Figure 3. 17 b shows a typical realization of this approach. Again, there is a local bus that connects the processor to a cache controller, which is in turn connected to a system bus that supports main memory.  The cache controller is integrated into a bridge, or buffering device, that connects to the high-speed bus.  This bus supports connections to high-speed LANs, such as Fast Ethernet at 100 Mbps, video and graphics workstation controllers, as well as interface controllers to local peripheral buses, including SCSI and FireWire.  The latter is a high-speed bus arrangement specifically designed to support high-capacity I/O devices. Lower-speed devices are still supported off an expansion bus, with an interface buffering traffic between the expansion bus and the high-speed bus.  The advantage of this arrangement is that the high-speed bus brings high demand devices into closer integration with the processor and at the same time is independent of the processor. Thus, differences in processor and high- speed bus speeds and signal line definitions are tolerated. Changes in processor architecture do not affect the high-speed bus, and vice versa.

Elements of Bus Design

Elements of Bus Design

 BUS TYPES

Bus lines can be separated into two generic types:

Dedicated BUS and

Multiplexed BUS

 DEDICATED BUS

 A dedicated bus line is permanently assigned either to one

function or to a physical subset of computer components.

 An example of functional dedication is the use of separate dedicated
address and data lines, which is common on many buses. However, it
is not essential.
 Physical dedication refers to the use of multiple buses, each of which
connects only a subset of modules.
 A typical example is the use of an I/O bus to interconnect all I/O
modules; this bus is then connected to the main bus through some
type of I/O adapter module. The potential advantage of physical
dedication is high throughput, because there is less bus contention. A
disadvantage is the increased size and cost of the system.

28 February 2019 Lecture Slides on SOC 2060 COMPUTER ARCHITECTURE SPRING Semester 2019 @ Dr A R Naseer 13

Elements of Bus Design

METHOD OF ARBITRATION

In all but the simplest systems, more than one module may

need control of the bus.

For example, an I/O module may need to read or write

directly to memory, without sending the data to the

processor.

Because only one unit at a time can successfully transmit

over the bus, some method of arbitration is needed.

The various methods can be roughly classified as being

either

 Centralized arbitration or

 Distributed arbitration.

TIMING

Timing refers to the way in which events are coordinated on the bus. Buses use either  synchronous timing or  Asynchronous timing

SYNCHRONOUS TIMING

 With synchronous timing, the occurrence of

events on the bus is determined by a clock.

 The bus includes a clock line upon which a clock

transmits a regular sequence of alternating 1 s

and 0 s of equal duration.

 A single 1 – 0 transmission is referred to as a

clock cycle or bus cycle and defines a time slot.

 All other devices on the bus can read the clock

line, and all events start at the beginning of a

clock cycle.

28 February 2019 Lecture Slides on SOC 2060 COMPUTER ARCHITECTURE SPRING Semester 2019 @ Dr A R Naseer 19

SYNCHRONOUS TIMING

Q) For a synchronous read operation (see Figure 3. 18 in Chapter 3 ), the

memory module must place the data on the bus sufficiently ahead of the
falling edge of the Read signal to allow for signal settling. Assume a
microprocessor bus is clocked at 10 MHz and that the Read signal
begins to fall in the middle of the second half of T 3.
a) Determine the length of the memory read instruction cycle.
b) When, at the latest, should memory data be placed on the bus?
Allow 20 ns for the settling of data lines.
c) Assume that after some analysis, a designer determines that the
memory falls short of providing read data on time by about 180 ns.
How many wait states (clock cycles) need to be inserted for proper
system operation?
d) To enforce the wait states, a Ready status line is employed. Once the
processor has issued a Read command, it must wait until the Ready
line is asserted before attempting to read data. At what time interval
must we keep the Ready line low in order to force the processor to
insert the required number of wait states?