KSR College of engineering
Name :S.Hari Prasanth
Reg no :7448959023
Sub name :Digital principal and
computer design
Sub code :20EE231
COMPUTER DESIGN
BASICS :
• COMPUTER DESIGN BASICS The specification for a
computer consists of to a programmer at the lowest
level, its instruction set architecture (ISA). From the
ISA, a high-level description of the hardware to
implement the computer, called the computer
architecture, is formulated. This architecture, for a
simple computer, is typically divided into a datapath
and a control. The datapath is defined by three basic
components: 1. a set of registers, 2. the
microoperations performed on data stored in the
registers, and 3. the control interface.
DATAPATHS or
PROCESSOR
ORGANIZATION
Sometimes processor organization is also
called DATAPATH To perform its micro
operations directly, computer systems often
employ a number of storage registers in
conjunction with a shared operation unit
called an arithmetic/logic unit, ALU. To
perform a micro operation, the contents of
specified source registers are applied to the
inputs of the shared ALU. The ALU
performs an operation, and the result of this
operation is transferred to a destination
register
The data path and the control unit are
the two parts of the processor, or CPU,
of a computer. In addition to the
registers, the datapath contains the
digital logic that implements the various
microoperations. This digital logic
consists of buses,multiplexers, decoders,
and processing circuits. When a large
number of registers is included in a
datapath, the registers are most
conveniently connected through one or
more buses. Registers in a datapath
interact by the direct transfer of data, as
well as in the performance of the various
types of microoperations
CONTROL
UNIT
• For example, to perform the microoperation
R1 <-R2+R3
the control unit must provide binary selection values to the
following sets of control inputs:
1. A select, to place the contents of R2 onto A data and, hence,
Bus A. 2. B select, to place the contents of R3 onto the 0 input of
MUX B; and MB select, to put the 0 input of MUX B onto Bus B.
3. G select, to provide the arithmetic operation A plus B.
4. MF select, to place the ALU output on the MUX F output.
5. MD select, to place the MUX F output onto Bus D.
6. Destination select, to select R1 as the destination of the data
on Bus D.
7. Load enable, to enable a register—in this case, R1—to be
loaded.
• The sets of values must be generated and must become available on the corresponding
control lines early in the clock cycle. The binary data from the two source registers
must propagate through the multiplexers and the ALU and on into the inputs of the
destination register, all during the remainder of the same clock cycle. Then, when the
next positive clock edge arrives, the binary data on Bus D is loaded into the destination
register. To achieve fast operation, the ALU and shifter are constructed with
combinational logic having a limited number of levels
ARITHMETIC/LOGIC UNIT
The ALU is a combinational circuit that performs a
set of basic arithmetic and logic microoperations.
It has a number of selection lines used to
determine the operation to be performed.The
selection lines are decoded within the ALU, so that
k selection lines can specify up to 2k distinct
operations. Figure shows the symbol for a typical
n-bit ALU. The n data inputs from A are combined
with the n inputs from B to generate the result of
an operation at the G outputs. The mode-select
input S2 distinguishes between arithmetic and logic
operations. The two Operation select inputs S1
and S0 and the Carry input Cin specify the eight
arithmetic operations with S2 at 0. Operand select
input S0 and Cin specify the four logic operations
with S2 at 1.
ARITHMETIC CIRCUIT
The basic component of an arithmetic circuit is a parallel adder, which
is constructed with a number of full-adder circuits connected in
cascade. By controlling the data inputs to the parallel adder, it is
possible to obtain different types of arithmetic operations. The block
diagram demonstrates a configuration in which one set of inputs to the
parallel adder is controlled by the select lines S1 and S0.
arithmetic circuit can be constructed with n full adders and n 4-to-1
multiplexers. The number of gates in the B input logic can be reduced
if, instead of using 4-to-1 multiplexers, we go through the logic design
of one stage (one bit) of the B input logic. The truth table for one
typical stage i of the logic is given in
Yi = BiS0+𝐵̅iS1
B Input Logic for One Stage of Arithmetic
Circuit
Logic Diagram for
4 bit arithmatic circuit

More Related Content

DOCX
4th sem,(cs is),computer org unit-7
PPT
Coa module2
PPT
CO By Rakesh Roshan
PDF
UNIT-1 Computer Orgainzation and Architeccture
PPT
LEC 2-register transfer and register transfer language.ppt
PPT
LCDF3_Chap_10_P1.ppt
PPT
Computer Organization Unit 4 Processor &Control Unit
PPTX
Register reference
4th sem,(cs is),computer org unit-7
Coa module2
CO By Rakesh Roshan
UNIT-1 Computer Orgainzation and Architeccture
LEC 2-register transfer and register transfer language.ppt
LCDF3_Chap_10_P1.ppt
Computer Organization Unit 4 Processor &Control Unit
Register reference

Similar to Presentation 4.pptx (20)

PDF
Unit 2 - Digital Component Macrooperations.pdf
PDF
Lect11 organization
PDF
REGISTER TRANSFER AND MICRO OPERATIONS
PDF
COMPUTER ORGANIZATION NOTES Unit 7
PDF
310471266 chapter-7-notes-computer-organization
PDF
IRJET- To Design 16 bit Synchronous Microprocessor using VHDL on FPGA
PDF
jekdndnenejidjrjenenjejejejjejriririiriri
PPT
Chapter 4 the processor
DOC
Design of chip controller
PPT
unit_6-basic-processing-unit.pptt engineering
PPTX
THE PROCESSOR
PPTX
unit 2 microprocesor8085 for advantages disadvatage gtu syllabus.pptx
PDF
Unit 3 The processor
PPT
Computer Organization & Architecture.ppt
PPTX
Understanding Single-Cycle Datapath Architecture in Computer Systems.pptx
PPT
Computer Organization for third semester Vtu SyllabusModule 4.ppt
PPT
basic-processing-unit computer organ.ppt
PPTX
Computer Architecture and Organization- THE PROCESSOR DESIGN
PPTX
CO UNIT 4 pptx in computer organizations
PPTX
CS304PC:Computer Organization and Architecture Session 2 Registers .pptx
Unit 2 - Digital Component Macrooperations.pdf
Lect11 organization
REGISTER TRANSFER AND MICRO OPERATIONS
COMPUTER ORGANIZATION NOTES Unit 7
310471266 chapter-7-notes-computer-organization
IRJET- To Design 16 bit Synchronous Microprocessor using VHDL on FPGA
jekdndnenejidjrjenenjejejejjejriririiriri
Chapter 4 the processor
Design of chip controller
unit_6-basic-processing-unit.pptt engineering
THE PROCESSOR
unit 2 microprocesor8085 for advantages disadvatage gtu syllabus.pptx
Unit 3 The processor
Computer Organization & Architecture.ppt
Understanding Single-Cycle Datapath Architecture in Computer Systems.pptx
Computer Organization for third semester Vtu SyllabusModule 4.ppt
basic-processing-unit computer organ.ppt
Computer Architecture and Organization- THE PROCESSOR DESIGN
CO UNIT 4 pptx in computer organizations
CS304PC:Computer Organization and Architecture Session 2 Registers .pptx

Recently uploaded (20)

PPT
COA______________₹₹_₹₹33₹₹₹33₹₹₹3UNIT1V8.ppt
PDF
Topic-1-Main-Features-of-Data-Processing.pdf
PDF
20A LG INR18650HJ2 3.6V 2900mAh Battery cells for Power Tools Vacuum Cleaner
PPTX
dDifference Beetween Saving slides And Investment Slides.pptx
PPTX
Pin configuration and project related to
PPTX
Presentation societal project DEEPIKA T.pptx
PPTX
Growth Capital Investment - Espresso Capital.pptx
PPTX
Clauses_Part1.hshshpjzjxnznxnxnndndndndndndndnndptx
PPTX
Chapter no 8 output devices dpart 2.pptx
PPTX
AIR BAG SYStYEM mechanical enginweering.pptx
PPTX
最新版新加坡英华美学院毕业证(Informatics毕业证书)原版定制硕士文凭
PPTX
Unit-1.pptxgeyeuueueu7r7r7r77r7r7r7uriruru
PPTX
RTS MASTER DECK_Household Convergence Scorecards. Use this file copy.pptx
PPTX
Subordinate_Clauses_BlueGradient_Optimized.pptx
PDF
2- Physical Layer (06).pdfgshshshbsbshshshhs
PPTX
Operating_Systems_Presentation_With_Icons (1).pptx
PDF
GENERATOR AND IMPROVED COIL THEREFOR HAVINGELECTRODYNAMIC PROPERTIES
PDF
script scriptscriptscriptscriptscriptscript
PPT
The process of making an electrical connection by melting low-temperature met...
PDF
CAB UNIT 1 with computer details details
COA______________₹₹_₹₹33₹₹₹33₹₹₹3UNIT1V8.ppt
Topic-1-Main-Features-of-Data-Processing.pdf
20A LG INR18650HJ2 3.6V 2900mAh Battery cells for Power Tools Vacuum Cleaner
dDifference Beetween Saving slides And Investment Slides.pptx
Pin configuration and project related to
Presentation societal project DEEPIKA T.pptx
Growth Capital Investment - Espresso Capital.pptx
Clauses_Part1.hshshpjzjxnznxnxnndndndndndndndnndptx
Chapter no 8 output devices dpart 2.pptx
AIR BAG SYStYEM mechanical enginweering.pptx
最新版新加坡英华美学院毕业证(Informatics毕业证书)原版定制硕士文凭
Unit-1.pptxgeyeuueueu7r7r7r77r7r7r7uriruru
RTS MASTER DECK_Household Convergence Scorecards. Use this file copy.pptx
Subordinate_Clauses_BlueGradient_Optimized.pptx
2- Physical Layer (06).pdfgshshshbsbshshshhs
Operating_Systems_Presentation_With_Icons (1).pptx
GENERATOR AND IMPROVED COIL THEREFOR HAVINGELECTRODYNAMIC PROPERTIES
script scriptscriptscriptscriptscriptscript
The process of making an electrical connection by melting low-temperature met...
CAB UNIT 1 with computer details details

Presentation 4.pptx

  • 1. KSR College of engineering Name :S.Hari Prasanth Reg no :7448959023 Sub name :Digital principal and computer design Sub code :20EE231
  • 2. COMPUTER DESIGN BASICS : • COMPUTER DESIGN BASICS The specification for a computer consists of to a programmer at the lowest level, its instruction set architecture (ISA). From the ISA, a high-level description of the hardware to implement the computer, called the computer architecture, is formulated. This architecture, for a simple computer, is typically divided into a datapath and a control. The datapath is defined by three basic components: 1. a set of registers, 2. the microoperations performed on data stored in the registers, and 3. the control interface.
  • 3. DATAPATHS or PROCESSOR ORGANIZATION Sometimes processor organization is also called DATAPATH To perform its micro operations directly, computer systems often employ a number of storage registers in conjunction with a shared operation unit called an arithmetic/logic unit, ALU. To perform a micro operation, the contents of specified source registers are applied to the inputs of the shared ALU. The ALU performs an operation, and the result of this operation is transferred to a destination register
  • 4. The data path and the control unit are the two parts of the processor, or CPU, of a computer. In addition to the registers, the datapath contains the digital logic that implements the various microoperations. This digital logic consists of buses,multiplexers, decoders, and processing circuits. When a large number of registers is included in a datapath, the registers are most conveniently connected through one or more buses. Registers in a datapath interact by the direct transfer of data, as well as in the performance of the various types of microoperations
  • 5. CONTROL UNIT • For example, to perform the microoperation R1 <-R2+R3 the control unit must provide binary selection values to the following sets of control inputs: 1. A select, to place the contents of R2 onto A data and, hence, Bus A. 2. B select, to place the contents of R3 onto the 0 input of MUX B; and MB select, to put the 0 input of MUX B onto Bus B. 3. G select, to provide the arithmetic operation A plus B. 4. MF select, to place the ALU output on the MUX F output. 5. MD select, to place the MUX F output onto Bus D. 6. Destination select, to select R1 as the destination of the data on Bus D. 7. Load enable, to enable a register—in this case, R1—to be loaded.
  • 6. • The sets of values must be generated and must become available on the corresponding control lines early in the clock cycle. The binary data from the two source registers must propagate through the multiplexers and the ALU and on into the inputs of the destination register, all during the remainder of the same clock cycle. Then, when the next positive clock edge arrives, the binary data on Bus D is loaded into the destination register. To achieve fast operation, the ALU and shifter are constructed with combinational logic having a limited number of levels
  • 7. ARITHMETIC/LOGIC UNIT The ALU is a combinational circuit that performs a set of basic arithmetic and logic microoperations. It has a number of selection lines used to determine the operation to be performed.The selection lines are decoded within the ALU, so that k selection lines can specify up to 2k distinct operations. Figure shows the symbol for a typical n-bit ALU. The n data inputs from A are combined with the n inputs from B to generate the result of an operation at the G outputs. The mode-select input S2 distinguishes between arithmetic and logic operations. The two Operation select inputs S1 and S0 and the Carry input Cin specify the eight arithmetic operations with S2 at 0. Operand select input S0 and Cin specify the four logic operations with S2 at 1.
  • 8. ARITHMETIC CIRCUIT The basic component of an arithmetic circuit is a parallel adder, which is constructed with a number of full-adder circuits connected in cascade. By controlling the data inputs to the parallel adder, it is possible to obtain different types of arithmetic operations. The block diagram demonstrates a configuration in which one set of inputs to the parallel adder is controlled by the select lines S1 and S0.
  • 9. arithmetic circuit can be constructed with n full adders and n 4-to-1 multiplexers. The number of gates in the B input logic can be reduced if, instead of using 4-to-1 multiplexers, we go through the logic design of one stage (one bit) of the B input logic. The truth table for one typical stage i of the logic is given in Yi = BiS0+𝐵̅iS1
  • 10. B Input Logic for One Stage of Arithmetic Circuit
  • 11. Logic Diagram for 4 bit arithmatic circuit