CAD Chater 1 Dky
CAD Chater 1 Dky
Unit 1: Introduction
By Er. Dhirendra Kumar Yadav
Department of Computer Engineering
Mid-Western University
Nepal
---------------------------------------------------------------------------------------------------------------------
Introduction:
•The components from which computers are built, i.e., computer organization.
•In contrast, computer architecture is the science of integrating those components to
achieve a level of functionality and performance.
• It is as if computer organization examines the lumber, bricks, nails, and other building
material.
• While computer architecture looks at the design of the house.
Computer Organization and Architecture:
• Computer Architecture refers to those attributes of a system that have a direct impact on
the logical execution of a program. Examples:
o the instruction set
o the number of bits used to represent various data types
o I/O mechanisms
o memory addressing techniques
• Computer Organization refers to the operational units and their interconnections that
realize the architectural specifications. Examples are things that are transparent to the
programmer:
o control signals
o interfaces between computer and peripherals
o the memory technology being used
• A family of computer –same architecture but with differences in organization.
1. SSI and MSI circuits
• 1947: invention of Transistor in bell laboratory this starts the new era in the
electronic industry and start being available in solid state against vacuum tube.
• Soon semiconductor material basically silicon and Germaniums were used to
realized electronic ckt. As it carries current and it’s current can be controlled by
the small amount of impurities.
• 1959- Invention of Integrated circuit by the fair child who developed planner
technology of transistor from where comes IC technology.
Integrated Circuits(ICs)
Integrated ckt is one in which number of transistors or components can be
fabricated on a single chip (silicon chip)”
▪ Different types of IC’s are categorized by the number of gates that are on it.
▪ Examples of IC’s are SSI, MSI, LSI, VLSI, MOS, and CMOS
▪ Some IC’s are categorized based upon the number of gates they contain:
Small-Scale Integration:
1961-1965 SSI era 10 or 10-100 transmitters per IC, logical gates, flip-flop.
Medium-Scale Integration:
1966-1970 MSI era 100-1000 per IC, Multiplexer, decoders adders
Large-Scale Integration:
1971-1979 LSI 1000-20000 per IC, 8bit microprocessor, RAM, ROM
Very large-Scale Integration:
1980-1984 VLSI 20000-50000 per IC, DSPIC, RISC processor, 16/32
processor.
Ultra-Large-Scale Integration:
1985-Beyond ULSI >50000, 64bit microprocessor.
2. Mile stone in computer organization:
• Generation zero: 1623(?)–1945)
- Mechanical computers, Mechanical Devices,
Ex:
▪ Abacus (-300B.C), Napier’s Bones, Logarithm. Charles Babbage-
analytical engine_mathemetical calculation_punch card.
Ex
▪ IBM/370 series (1970)
▪ CDC 7600 (1969)
▪ PDP 11 (16-bit minicomputer, 1970)
Ex:
▪ Intel’s 8088, 80286, 80386 and 80486 based computers
▪ Motorola’s 6800, 68020, 68030 and 68040 based computers
▪ IBM 3090, VAX 9000
▪ Supercomputers-Cray-1, Cray- 2, Cray X-MP, Cray Y-MP,
▪ Hitachi 828/80 etc.
We have Two computer families: The Intel x86 and the ARM architecture.
▪ The Intel x86
o The current x86 is design on complex instruction set computers (CISCs) and found
only on mainframes, supercomputers and serves.
o For non-embedded.
o market share ranked as the number one maker of microprocessors.
o Intel used to develop microprocessors one after another in every four years.
▪ The ARM architecture (Advanced RISC Machines)
o The ARM architecture is used in a wide variety of embedded systems and is one of
the most powerful and best-designed RISC-based systems on the market.
o ARM makes 32-bit and 64-bit RISC multi-core processors.
Example:(intel)
Processor Introduced Clock speeds Bus Number of Addressable Virtual Cache
width transistors memory memory
▪ 8086: 16 bit powerful machine, support instruction cache that pre-fetch few
instructions before they executed.
▪ 8088: has 8 bit external bus, used in first IBM PC
▪ 80286: enabled addressing a 16 MB memory instead of 1MB.
▪ 80386: 32 bit, support for multitasking
▪ Core 2 series: The Core 2 extends the architecture to 64 bits. The Core 2 Quad
processor provides 4 processors on a single chip.
Itanium series:
PowerPC Evolution
POWER architecture.
▪ IBM alliance with Motorola (68000 microprocessors), and Apple, (used 68000 in
Macintosh) and produced PowerPC architecture which was Derived from the
POWER architecture.
▪ Superscalar RISC
▪ PowerPC Family is:
▪ 601: Quickly to market. 32-bit machine.
▪ 603: 32 bit low-end desktop and portable. Lower cost and more efficient
implementation
▪ 604: Desktop and low-end servers, 32-bit machine.Much more advanced superscalar
design. Greater performance
▪ 620: High-end servers, 64-bit architecture.
▪ 740/750: Also known as G3, two levels of cache on chip.
▪ G4: Increases parallelism and internal speed.
▪ G5: Improvements in parallelism and internal speed, 64-bit organization.
6. Designing for performance
Some of the driving factors behind the need to design for performance:
• Microprocessor Speed
- Pipelining
- On board cache, on board L1 & L2 cache
- Branch prediction: The processor looks ahead in the instruction code fetched from
memory and predicts which branches, or group of instructions are likely to be
processed next.
- Data flow analysis: The processor analyzes which instructions are dependent on
each other’s results, or data, to create an optimized schedule of instructions to
prevent delay.
• Performance Mismatch
- Processor speed increased
- Memory capacity increased
- Memory speed lags behind processor speed
Speculative execution: Using branch prediction and data flow analysis, some processors
speculatively execute instructions ahead of their actual appearance in the program execution,
holding the results in temporary locations.
The effects of these trends are shown vividly in figure below. The amount of main
memory needed is going up, but DRAM density is going up faster (number of DRAM per
system is going down).
Unit:2 Central Processing unit
The part of the computer that performs the bulk of data processing operations is called the Central
Processing Unit (CPU) and is the central component of a digital computer. Its purpose is to
interpret instruction cycles received from memory and perform arithmetic, logic and control
operations with data stored in internal register, memory words and I/O interface units. A CPU is
usually divided into two parts namely processor unit (Register Unit and Arithmetic Logic Unit)
and control unit.
Processor Unit:
The processor unit consists of arithmetic unit, logic unit, a number of registers and internal buses
that provides data path for transfer of information between register and arithmetic logic unit. The
block diagram of processor unit is shown in figure below where all registers are connected through
common buses. The registers communicate each other not only for direct data transfer but also
while performing various micro-operations.
Here two sets of multiplexers select register which perform input data for ALU. A decoder selects
destination register by enabling its load input. The function select in ALU determines the particular
operation that to be performed.