SlideShare a Scribd company logo
Digital Logic Circuits, Digital
Component and Data
Representation
Course: B.Sc-CS-II
Subject: Computer Organization
And Architecture
Unit-1
1
What is Computer Organization?[1]
… a very wide semantic gap between the intended behavior and the workings of
the underlying electronic devices that will actually do all the work.
The forerunners to modern computers attempted to assemble the raw devices
(mechanical, electrical, or electronic) into a separate purpose-built machine for
each desired behavior.
Electronic
Devices
Desired
Behavior
Role of General Purpose Computers[1]
A general purpose computer is like an island that helps
span the gap between the desired behavior (application)
and the basic building blocks (electronic devices).
Electronic
Devices
Desired
Behavior
General
Purpose
Computer
computer
organization
software
Computer Architecture - Definition
• Computer Architecture = ISA + MO
• Instruction Set Architecture
– What the executable can “see” as underlying hardware
– Logical View
• Machine Organization
– How the hardware implements ISA ?
– Physical View
Impact of changing ISA
• Early 1990’s Apple switched instruction set
architecture of the Macintosh
– From Motorola 68000-based machines
– To PowerPC architecture
• Intel 80x86 Family: many implementations of
same architecture
– program written in 1978 for 8086 can be run on
latest Pentium chip
Factors affecting ISA ???
Computer
Architecture
Technology Programming
Languages
Operating
Systems
History
Applications
ISA: Critical Interface
instruction set
software
hardware
Examples: 80x86 50,000,000 vs. MIPS 5500,000 ???
Designing Computers
• All computers more or less based on the same
basic design, the Von Neumann Architecture!
The Von Neumann Architecture
• Model for designing and building computers,
based on the following three characteristics:
1) The computer consists of four main sub-systems:
• Memory
• ALU (Arithmetic/Logic Unit)
• Control Unit
• Input / Output System (I/O)
2) Program is stored in memory during execution.
3) Program instructions are executed sequentially.
The Von Neumann
Architecture[1]
Memory
Processor (CPU)
Input-Output
Control Unit
ALU
Store data and program
Execute program
Do arithmetic/logic operations
requested by program
Communicate with
"outside world", e.g.
• Screen
• Keyboard
• Storage devices
• ...
Bus
Simplified Architecture[1]
Memory Subsystem
• Memory, also called RAM (Random Access
Memory),
– Consists of many memory cells (storage units) of a fixed
size.
Each cell has an address associated with it: 0, 1, …
– All accesses to memory are to a specified address.
A cell is the minimum unit of access (fetch/store a complete
cell).
– The time it takes to fetch/store a cell is the same for all cells.
• When the computer is running, both
– Program
– Data (variables)
are stored in the memory.
14
RAM[1]
• Need to distinguish between
– the address of a memory cell and
the content of a memory cell
• Memory width (W):
– How many bits is each memory
cell, typically one byte (=8 bits)
• Address width (N):
– How many bits used to represent
each address, determines the
maximum memory size = address
space
– If address width is N-bits, then
address space is 2N (0,1,...,2N-1)
...
0
1
2
2N-1
1 bit
W
0000000000000001
N
2N
Memory Size / Speed
• Typical memory in a personal computer (PC):
– 64MB - 256MB
• Memory sizes:
– Kilobyte (KB) = 210 = 1,024 bytes ~ 1
thousand
– Megabyte(MB) = 220 = 1,048,576 bytes ~ 1
million
– Gigabyte (GB) = 230 = 1,073,741,824
bytes ~ 1 billion
• Memory Access Time (read from/ write to memory)
– 50-75 nanoseconds (1 nsec. = 0.000000001 sec.)
• RAM is
– volatile (can only store when power is on)
– relatively expensive
Operations on Memory
• Fetch (address):
– Fetch a copy of the content of memory cell with the specified
address.
– Non-destructive, copies value in memory cell.
• Store (address, value):
– Store the specified value into the memory cell specified by
address.
– Destructive, overwrites the previous value of the memory cell.
• The memory system is interfaced via:
– Memory Address Register (MAR)
– Memory Data Register (MDR)
– Fetch/Store signal
Structure of the Memory
Subsystem[2]
• Fetch(address)
– Load address into MAR.
– Decode the address in MAR.
– Copy the content of memory cell
with specified address into MDR.
• Store(address, value)
– Load the address into MAR.
– Load the value into MDR.
– Decode the address in MAR
– Copy the content of MDR into
memory cell with the specified
address.
Input / Output Subsystem
• Handles devices that allow the computer system
to:
– Communicate and interact with the outside world
•Screen, keyboard, printer, ...
– Store information (mass-storage)
•Hard-drives, floppies, CD, tapes, …
• Mass-Storage Device Access Methods:
– Direct Access Storage Devices (DASDs)
•Hard-drives, floppy-disks, CD-ROMs, ...
– Sequential Access Storage Devices (SASDs)
•Tapes (for example, used as backup devices)
I/O Controllers
• Speed of I/O devices is slow compared to
RAM
– RAM ~ 50 nsec.
– Hard-Drive ~ 10msec. = (10,000,000 nsec)
• Solution:
– I/O Controller, a special purpose processor:
•Has a small memory buffer, and a control logic to control
I/O device (e.g. move disk arm).
•Sends an interrupt signal to CPU when done read/write.
– Data transferred between RAM and memory buffer.
– Processor free to do something else while I/O
controller reads/writes data from/to device into I/O
buffer.
Structure of the I/O Subsystem[2]
The ALU Subsystem
• The ALU (Arithmetic/Logic Unit) performs
– mathematical operations (+, -, x, /, …)
– logic operations (=, <, >, and, or, not, ...)
• In today's computers integrated into the CPU
• Consists of:
– Circuits to do the arithmetic/logic operations.
– Registers (fast storage units) to store intermediate
computational results.
– Bus that connects the two.
Structure of the ALU[2]
• Registers:
– Very fast local memory cells, that
store operands of operations and
intermediate results.
– CCR (condition code register), a
special purpose register that stores
the result of <, = , > operations
• ALU circuitry:
– Contains an array of circuits to do
mathematical/logic operations.
• Bus:
– Data path interconnecting the
registers to the ALU circuitry.
The Control Unit
• Program is stored in memory
– as machine language instructions, in binary
• The task of the control unit is to execute
programs by repeatedly:
– Fetch from memory the next instruction to be
executed.
– Decode it, that is, determine what is to be done.
– Execute it by issuing the appropriate signals to
the ALU, memory, and I/O subsystems.
– Continues until the HALT instruction
Machine Language Instructions
• A machine language instruction consists of:
– Operation code, telling which operation to
perform
– Address field(s), telling the memory addresses
of the values on which the operation works.
• Example: ADD X, Y (Add content of memory
locations X and Y, and store back in memory location Y).
• Assume: opcode for ADD is 9, and addresses X=99,
Y=100
00001001 0000000001100011 0000000001100100
Opcode (8 bits) Address 1 (16 bits) Address 2 (16 bits)
Instruction Set Design
• Two different approaches:
– Reduced Instruction Set Computers (RISC)
•Instruction set as small and simple as possible.
•Minimizes amount of circuitry --> faster computers
– Complex Instruction Set Computers (CISC)
•More instructions, many very complex
•Each instruction can do more work, but require more
circuitry.
Typical Machine Instructions
• Notation:
– We use X, Y, Z to denote RAM cells
– Assume only one register R (for simplicity)
– Use English-like descriptions (should be binary)
• Data Transfer Instructions
– LOAD X Load content of memory location X to R
– STORE X Load content of R to memory location X
– MOVE X, Y Copy content of memory location
X to loc. Y (not absolutely necessary)
Machine Instructions (cont.)
• Arithmetic
– ADD X, Y, Z CON(Z) = CON(X) + CON(Y)
– ADD X, Y CON(Y) = CON(X) + CON(Y)
– ADD X R = CON(X) + R
– similar instructions for other operators, e.g. SUBTR,OR,
...
• Compare
– COMPARE X, Y
Compare the content of memory cell X to the content of
memory cell Y and set the condition codes (CCR)
accordingly.
– E.g. If CON(X) = R then set EQ=1, GT=0, LT=0
Machine Instructions (cont.)
• Branch
– JUMP X Load next instruction from memory loc. X
– JUMPGT X Load next instruction from memory loc. X
only if GT flag in CCR is set, otherwise
load statement from next sequence loc.
as usual.
•JUMPEQ, JUMPLT, JUMPGE, JUMPLE,JUMPNEQ
• Control
– HALT Stop program execution.
Example
• Pseudo-code: Set A to B + C
• Assuming variable:
– A stored in memory cell 100, B stored in
memory cell 150, C stored in memory cell 151
• Machine language (really in binary)
– LOAD 150
– ADD 151
– STORE 100
– or
– (ADD 150, 151, 100)
Structure of the Control Unit[3]
• PC (Program Counter):
– stores the address of next instruction to fetch
• IR (Instruction Register):
– stores the instruction fetched from memory
• Instruction Decoder:
– Decodes instruction and activates necessary circuitry
Instruction
Decoder
IR
+1
PC
von Neumann
Architecture
How does this all work together?
• Program Execution:
– PC is set to the address where the first program
instruction is stored in memory.
– Repeat until HALT instruction or fatal error
Fetch instruction
Decode instruction
Execute instruction
End of loop
Program Execution (cont.)
• Fetch phase
– PC --> MAR (put address in PC into MAR)
– Fetch signal (signal memory to fetch value into
MDR)
– MDR --> IR (move value to Instruction Register)
– PC + 1 --> PC (Increase address in program counter)
• Decode Phase
– IR -> Instruction decoder (decode instruction in IR)
– Instruction decoder will then generate the signals to
activate the circuitry to carry out the instruction
Program Execution (cont.)
• Execute Phase
– Differs from one instruction to the next.
• Example:
– LOAD X (load value in addr. X into register)
•IR_address -> MAR
•Fetch signal
•MDR --> R
– ADD X
•left as an exercise
Instruction Set for Our Von Neumann Machine
Opcode Operation Meaning
0000 LOAD X CON(X) --> R
0001 STORE X R --> CON(X)
0010 CLEAR X 0 --> CON(X)
0011 ADD X R + CON(X) --> R
0100 INCREMENT X CON(X) + 1 --> CON(X)
0101 SUBTRACT X R - CON(X) --> R
0101 DECREMENT X CON(X) - 1 --> CON(X)
0111 COMPARE X If CON(X) > R then GT = 1 else 0
If CON(X) = R then EQ = 1 else 0
If CON(X) < R then LT = 1 else 0
1000 JUMP X Get next instruction from memory location X
1001 JUMPGT X Get next instruction from memory loc. X if GT=1
... JUMPxx X xx = LT / EQ / NEQ
1101 IN X Input an integer value and store in X
1110 OUT X Output, in decimal notation, content of mem. loc. X
1111 HALT Stop program execution
Fundamental Components of
Computer[3]
• The CPU (ALU, Control Unit, Registers)
• The Memory Subsystem (Stored Data)
• The I/O subsystem (I/O devices)
I/O Device
Subsystem
Address Bus
Data Bus
Control Bus
CPU
Memory
Subsystem
Each of these Components are
connected through Buses.
• BUS - Physically a set of wires. The
components of the Computer are connected to
these buses.
• Address Bus
• Data Bus
• Control Bus
Address Bus
• Used to specify the address of the memory
location to access.
• Each I/O devices has a unique address.
(monitor, mouse, cd-rom)
• CPU reads data or instructions from other
locations by specifying the address of its
location.
• CPU always outputs to the address bus and
never reads from it.
Data Bus
• Actual data is transferred via the data bus.
• When the cpu sends an address to memory, the
memory will send data via the data bus in
return to the cpu.
Control Bus
• Collection of individual control signals.
• Whether the cpu will read or write data.
• CPU is accessing memory or an I/O device
• Memory or I/O is ready to transfer data
I/O Bus or Local Bus
• In today’s computers the the I/O controller will
have an extra bus called the I/O bus.
• The I/O bus will be used to access all other I/O
devices connected to the system.
• Example: PCI bus
Bus Organisation[3]
Processor
Control
Datapath
Memory Devices
Input
Output
Cache
Registers
Bus
Fundamental Concepts
 Processor (CPU): the active part of the computer,
which does all the work (data manipulation and
decision-making).
 Datapath: portion of the processor which contains
hardware necessary to perform all operations
required by the computer (the brawn).
 Control: portion of the processor (also in
hardware) which tells the datapath what needs to
be done (the brain).
Fundamental Concepts (2)
 Instruction execution
cycle: fetch, decode,
execute.
 Fetch: fetch next instruction
(using PC) from memory
into IR.
 Decode: decode the
instruction.
 Execute: execute
instruction.
Instruction
Fetch
Instruction
Decode
Operand
Fetch
Execute
Result
Store
Next
Instruction
Fundamental Concepts (3)
 Fetch: Fetch next instruction into IR (Instruction
Register).
 Assume each word is 4 bytes and each instruction is
stored in a word, and that the memory is byte
addressable.
 PC (Program Counter) contains address of next
instruction.
IR  [[PC]]
PC [PC] + 4
Single Bus Organization[4]
Data line
Address line
PC
MAR
MDR
Y
Internal
processor bus
Z
MUX
A
ALU
B
Constant 4
Select
Add
Sub
XOR
:
ALU
control
lines Carry-in
IR
RO
R(n–1)
:
:
TEMP
Instruction
decoder and
control logic
. . .
Control signals
Instruction Cycles
• Procedure the CPU goes through to process an
instruction.
• 1. Fetch - get instruction
• 2. Decode - interperate the instruction
• 3. Execute - run the instruction.
Timing Diagram:
Memory Read [4]
• Address is placed at beginning of clock
• after one clock cycle the CPU asserts the read.
• Causes the memory to place its data onto the data bus.
• CLK : System Clock used to synchronize
CLK
AddressBus
Bus
Read
Data
Timing Diagram :
Memory Write [4]
• CPU places the Address and data on the first clock cycle.
• At the start of the second clock the CPU will assert the
write control signal.
• This will then start memory to store data.
• After some time the write is then deasserted by the CPU
after removing the address and data from the subsystem.
CLK
AddressAddress Bus
Data Bus
Read
Data
I/O read and Write Cycles
• The I/O read and Write cycles are similar to
the memory read and write.
• Memory mapped I/O : Same sequences as
input output to read and write.
• The processor treats an I/O port as a memory
location.
• This results in the same treatment as a memory
access.
Technology Trends
• Processor
– logic capacity: about 30% per year
– clock rate: about 20% per year
• Memory
– DRAM capacity: about 60% per year (4x every 3 years)
– Memory speed: about 10% per year
– Cost per bit: improves about 25% per year
• Disk
– capacity: about 60% per year
– Total use of data: 100% per 9 months!
• Network Bandwidth
– Bandwidth increasing more than 100% per year!
i4004
i8086
i80386
Pentium
i80486
i80286
SU MIPS
R3010
R4400
R10000
1000
10000
100000
1000000
10000000
100000000
1965 1970 1975 1980 1985 1990 1995 2000 2005
Transistors
i80x86
M68K
MIPS
Alpha
° In ~1985 the single-chip processor (32-bit) and the single-board computer
emerged
° In the 2002+ timeframe, these may well look like mainframes compared
single-chip computer (maybe 2 chips)
DRAM
Year Size
1980 64 Kb
1983 256 Kb
1986 1 Mb
1989 4 Mb
1992 16 Mb
1996 64 Mb
1999 256 Mb
2002 1 Gb
uP-Name
Microprocessor Logic Density
DRAM chip capacity
Technology Trends[4]
Technology Trends
Smaller feature sizes – higher speed, density
Technology Trends
Number of transistors doubles every 18 months
(amended to 24 months)
References
1. Computer Organization and Architecture, Designing
for performance by William Stallings, Prentice Hall
of India.
2. Modern Computer Architecture, by Morris Mano,
Prentice Hall of India.
3. Computer Architecture and Organization by John P.
Hayes, McGraw Hill Publishing Company.
4. Computer Organization by V. Carl Hamacher,
Zvonko G. Vranesic, Safwat G. Zaky, McGraw Hill
Publishing Company.

More Related Content

What's hot

Programmable Timer 8253/8254
Programmable Timer 8253/8254Programmable Timer 8253/8254
Programmable Timer 8253/8254
Muhammed Afsal Villan
 
The BCD to excess-3 converter
The BCD to excess-3 converterThe BCD to excess-3 converter
The BCD to excess-3 converter
Mahady Hasan
 
8155 PPI
8155 PPI8155 PPI
8155 PPI
ShivamSood22
 
Direct memory access (dma) with 8257 DMA Controller
Direct memory access (dma) with 8257 DMA ControllerDirect memory access (dma) with 8257 DMA Controller
Direct memory access (dma) with 8257 DMA Controller
Muhammed Afsal Villan
 
Computer organization and architecture
Computer organization and architectureComputer organization and architecture
Computer organization and architectureSubesh Kumar Yadav
 
Microprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 FeaturesMicroprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 Features
Srikrishna Thota
 
Computer organisation Module 1.ppt
Computer organisation Module 1.pptComputer organisation Module 1.ppt
Computer organisation Module 1.ppt
SoulReaper21
 
Parallel Adder
Parallel Adder Parallel Adder
Parallel Adder
Soudip Sinha Roy
 
Code conversion using verilog code VHDL
Code conversion using verilog code VHDL Code conversion using verilog code VHDL
Code conversion using verilog code VHDL
Bharti Airtel Ltd.
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
Jismy .K.Jose
 
05 instruction set design and architecture
05 instruction set design and architecture05 instruction set design and architecture
05 instruction set design and architectureWaqar Jamil
 
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Project Student
 
8086
80868086
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
Vikas Gupta
 
8155 Basic Concepts
8155 Basic Concepts8155 Basic Concepts
8155 Basic Concepts
Srinath Kalikivayi
 
ARM Exception and interrupts
ARM Exception and interrupts ARM Exception and interrupts
ARM Exception and interrupts
NishmaNJ
 
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE UNIT III PROGRAMMABLE PERIPHERAL INTERFACE
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE
ravis205084
 

What's hot (20)

Programmable Timer 8253/8254
Programmable Timer 8253/8254Programmable Timer 8253/8254
Programmable Timer 8253/8254
 
Even odd parity
Even odd parityEven odd parity
Even odd parity
 
The BCD to excess-3 converter
The BCD to excess-3 converterThe BCD to excess-3 converter
The BCD to excess-3 converter
 
8155 PPI
8155 PPI8155 PPI
8155 PPI
 
Parallel adder
Parallel adderParallel adder
Parallel adder
 
Direct memory access (dma) with 8257 DMA Controller
Direct memory access (dma) with 8257 DMA ControllerDirect memory access (dma) with 8257 DMA Controller
Direct memory access (dma) with 8257 DMA Controller
 
Computer organization and architecture
Computer organization and architectureComputer organization and architecture
Computer organization and architecture
 
Microprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 FeaturesMicroprocessor Interfacing and 8155 Features
Microprocessor Interfacing and 8155 Features
 
Computer organisation Module 1.ppt
Computer organisation Module 1.pptComputer organisation Module 1.ppt
Computer organisation Module 1.ppt
 
Parallel Adder
Parallel Adder Parallel Adder
Parallel Adder
 
Code conversion using verilog code VHDL
Code conversion using verilog code VHDL Code conversion using verilog code VHDL
Code conversion using verilog code VHDL
 
8085 lab
8085 lab8085 lab
8085 lab
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
05 instruction set design and architecture
05 instruction set design and architecture05 instruction set design and architecture
05 instruction set design and architecture
 
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
Error Checking and Correction (Parity Bit, Majority Voting, Check Digit)
 
8086
80868086
8086
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
8155 Basic Concepts
8155 Basic Concepts8155 Basic Concepts
8155 Basic Concepts
 
ARM Exception and interrupts
ARM Exception and interrupts ARM Exception and interrupts
ARM Exception and interrupts
 
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE UNIT III PROGRAMMABLE PERIPHERAL INTERFACE
UNIT III PROGRAMMABLE PERIPHERAL INTERFACE
 

Viewers also liked

Bsc cs 1 fit u-4 data communication and networks
Bsc cs 1 fit u-4 data communication and networksBsc cs 1 fit u-4 data communication and networks
Bsc cs 1 fit u-4 data communication and networks
Rai University
 
Bjmc i, igp, unit-ii, Working of parliamentary system
Bjmc i, igp, unit-ii, Working of parliamentary systemBjmc i, igp, unit-ii, Working of parliamentary system
Bjmc i, igp, unit-ii, Working of parliamentary system
Rai University
 
B.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer softwareB.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer software
Rai University
 
Mca i-u-2-overview of register transfer, micro operations and basic computer ...
Mca i-u-2-overview of register transfer, micro operations and basic computer ...Mca i-u-2-overview of register transfer, micro operations and basic computer ...
Mca i-u-2-overview of register transfer, micro operations and basic computer ...
Rai University
 
B.sc i agri u 5 data communication and network
B.sc i agri u 5 data communication and networkB.sc i agri u 5 data communication and network
B.sc i agri u 5 data communication and network
Rai University
 
B.sc i cs u 5 data communication and network
B.sc i cs u 5 data communication and networkB.sc i cs u 5 data communication and network
B.sc i cs u 5 data communication and network
Rai University
 
B.sc i micro bio u 2 computer software
B.sc i micro bio u 2 computer softwareB.sc i micro bio u 2 computer software
B.sc i micro bio u 2 computer software
Rai University
 
B.sc i bio tech u 3introduction to multimedia
B.sc i bio tech u 3introduction to multimediaB.sc i bio tech u 3introduction to multimedia
B.sc i bio tech u 3introduction to multimedia
Rai University
 
B.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineB.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipeline
Rai University
 
Mba ii pmom_unit-2.1 capacity a
Mba ii pmom_unit-2.1 capacity aMba ii pmom_unit-2.1 capacity a
Mba ii pmom_unit-2.1 capacity a
Rai University
 
Diploma Sem II Unit V Dress for Success
Diploma Sem II Unit V Dress for SuccessDiploma Sem II Unit V Dress for Success
Diploma Sem II Unit V Dress for Success
Rai University
 
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentB.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital component
Rai University
 
Mca 1 pic u-5 pointer, structure ,union and intro to file handling
Mca 1 pic u-5 pointer, structure ,union and intro to file handlingMca 1 pic u-5 pointer, structure ,union and intro to file handling
Mca 1 pic u-5 pointer, structure ,union and intro to file handling
Rai University
 
Bsc cs i pic u-4 function, storage class and array and strings
Bsc cs i pic u-4 function, storage class and array and stringsBsc cs i pic u-4 function, storage class and array and strings
Bsc cs i pic u-4 function, storage class and array and strings
Rai University
 
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architectureBsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Rai University
 
B.tech. ii engineering chemistry unit 3 A lubricants
B.tech. ii engineering chemistry unit 3 A lubricantsB.tech. ii engineering chemistry unit 3 A lubricants
B.tech. ii engineering chemistry unit 3 A lubricants
Rai University
 
Bsc cs ii-dbms-u-iv-normalization
Bsc cs ii-dbms-u-iv-normalizationBsc cs ii-dbms-u-iv-normalization
Bsc cs ii-dbms-u-iv-normalization
Rai University
 
Conférence Social Media
Conférence Social MediaConférence Social Media
Conférence Social Media
Rouyer Guillaume
 

Viewers also liked (20)

Bsc cs 1 fit u-4 data communication and networks
Bsc cs 1 fit u-4 data communication and networksBsc cs 1 fit u-4 data communication and networks
Bsc cs 1 fit u-4 data communication and networks
 
Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
 
Bjmc i, igp, unit-ii, Working of parliamentary system
Bjmc i, igp, unit-ii, Working of parliamentary systemBjmc i, igp, unit-ii, Working of parliamentary system
Bjmc i, igp, unit-ii, Working of parliamentary system
 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
 
B.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer softwareB.sc i bio tech u 2 computer software
B.sc i bio tech u 2 computer software
 
Mca i-u-2-overview of register transfer, micro operations and basic computer ...
Mca i-u-2-overview of register transfer, micro operations and basic computer ...Mca i-u-2-overview of register transfer, micro operations and basic computer ...
Mca i-u-2-overview of register transfer, micro operations and basic computer ...
 
B.sc i agri u 5 data communication and network
B.sc i agri u 5 data communication and networkB.sc i agri u 5 data communication and network
B.sc i agri u 5 data communication and network
 
B.sc i cs u 5 data communication and network
B.sc i cs u 5 data communication and networkB.sc i cs u 5 data communication and network
B.sc i cs u 5 data communication and network
 
B.sc i micro bio u 2 computer software
B.sc i micro bio u 2 computer softwareB.sc i micro bio u 2 computer software
B.sc i micro bio u 2 computer software
 
B.sc i bio tech u 3introduction to multimedia
B.sc i bio tech u 3introduction to multimediaB.sc i bio tech u 3introduction to multimedia
B.sc i bio tech u 3introduction to multimedia
 
B.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineB.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipeline
 
Mba ii pmom_unit-2.1 capacity a
Mba ii pmom_unit-2.1 capacity aMba ii pmom_unit-2.1 capacity a
Mba ii pmom_unit-2.1 capacity a
 
Diploma Sem II Unit V Dress for Success
Diploma Sem II Unit V Dress for SuccessDiploma Sem II Unit V Dress for Success
Diploma Sem II Unit V Dress for Success
 
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentB.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital component
 
Mca 1 pic u-5 pointer, structure ,union and intro to file handling
Mca 1 pic u-5 pointer, structure ,union and intro to file handlingMca 1 pic u-5 pointer, structure ,union and intro to file handling
Mca 1 pic u-5 pointer, structure ,union and intro to file handling
 
Bsc cs i pic u-4 function, storage class and array and strings
Bsc cs i pic u-4 function, storage class and array and stringsBsc cs i pic u-4 function, storage class and array and strings
Bsc cs i pic u-4 function, storage class and array and strings
 
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architectureBsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architecture
 
B.tech. ii engineering chemistry unit 3 A lubricants
B.tech. ii engineering chemistry unit 3 A lubricantsB.tech. ii engineering chemistry unit 3 A lubricants
B.tech. ii engineering chemistry unit 3 A lubricants
 
Bsc cs ii-dbms-u-iv-normalization
Bsc cs ii-dbms-u-iv-normalizationBsc cs ii-dbms-u-iv-normalization
Bsc cs ii-dbms-u-iv-normalization
 
Conférence Social Media
Conférence Social MediaConférence Social Media
Conférence Social Media
 

Similar to B.sc cs-ii -u-1.2 digital logic circuits, digital component

digital logic circuits, digital component
digital logic circuits, digital componentdigital logic circuits, digital component
digital logic circuits, digital component
Rai University
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
oudesign
 
02.hdwr soft
02.hdwr soft02.hdwr soft
02.hdwr softSCHOOL
 
Hardware and Software
Hardware and SoftwareHardware and Software
Hardware and Software
Pratik Vipul
 
W4647 _ JVNArchitecture.ppt
W4647 _ JVNArchitecture.pptW4647 _ JVNArchitecture.ppt
W4647 _ JVNArchitecture.ppt
TrungNguynTin5
 
coa-module1-170527034116.pdf
coa-module1-170527034116.pdfcoa-module1-170527034116.pdf
coa-module1-170527034116.pdf
SnehithaKurimelli
 
Coa module1
Coa module1Coa module1
Coa module1
cs19club
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
Operating systems and technologies
Operating systems and technologiesOperating systems and technologies
Operating systems and technologiesPhannida Panyasit
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
Zakaria Gomaa
 
CAO.pptx
CAO.pptxCAO.pptx
CAO.pptx
FarhanaMariyam1
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
 
Unit-1_Digital Computers, number systemCOA[1].pptx
Unit-1_Digital Computers, number systemCOA[1].pptxUnit-1_Digital Computers, number systemCOA[1].pptx
Unit-1_Digital Computers, number systemCOA[1].pptx
VanshJain322212
 
WEEK6_COMPUTER_ORGANIZATION.pptx
WEEK6_COMPUTER_ORGANIZATION.pptxWEEK6_COMPUTER_ORGANIZATION.pptx
WEEK6_COMPUTER_ORGANIZATION.pptx
EmmanueljohnBarretto
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organizationBadrinath Kadam
 
Cmput101.ch5.1
Cmput101.ch5.1Cmput101.ch5.1
Cmput101.ch5.1
akhil_krishna
 
Ch01 .pptssysueueueueu65egegeg3f3geye6d6yeueu
Ch01 .pptssysueueueueu65egegeg3f3geye6d6yeueuCh01 .pptssysueueueueu65egegeg3f3geye6d6yeueu
Ch01 .pptssysueueueueu65egegeg3f3geye6d6yeueu
tasheebedane
 

Similar to B.sc cs-ii -u-1.2 digital logic circuits, digital component (20)

digital logic circuits, digital component
digital logic circuits, digital componentdigital logic circuits, digital component
digital logic circuits, digital component
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
 
Computer hardware
Computer hardwareComputer hardware
Computer hardware
 
02.hdwr soft
02.hdwr soft02.hdwr soft
02.hdwr soft
 
Hardware and Software
Hardware and SoftwareHardware and Software
Hardware and Software
 
W4647 _ JVNArchitecture.ppt
W4647 _ JVNArchitecture.pptW4647 _ JVNArchitecture.ppt
W4647 _ JVNArchitecture.ppt
 
coa-module1-170527034116.pdf
coa-module1-170527034116.pdfcoa-module1-170527034116.pdf
coa-module1-170527034116.pdf
 
Coa module1
Coa module1Coa module1
Coa module1
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Operating systems and technologies
Operating systems and technologiesOperating systems and technologies
Operating systems and technologies
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
 
CAO.pptx
CAO.pptxCAO.pptx
CAO.pptx
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
abc
abcabc
abc
 
Unit-1_Digital Computers, number systemCOA[1].pptx
Unit-1_Digital Computers, number systemCOA[1].pptxUnit-1_Digital Computers, number systemCOA[1].pptx
Unit-1_Digital Computers, number systemCOA[1].pptx
 
WEEK6_COMPUTER_ORGANIZATION.pptx
WEEK6_COMPUTER_ORGANIZATION.pptxWEEK6_COMPUTER_ORGANIZATION.pptx
WEEK6_COMPUTER_ORGANIZATION.pptx
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organization
 
Cmput101.ch5.1
Cmput101.ch5.1Cmput101.ch5.1
Cmput101.ch5.1
 
CSC204PPTNOTES
CSC204PPTNOTESCSC204PPTNOTES
CSC204PPTNOTES
 
Ch01 .pptssysueueueueu65egegeg3f3geye6d6yeueu
Ch01 .pptssysueueueueu65egegeg3f3geye6d6yeueuCh01 .pptssysueueueueu65egegeg3f3geye6d6yeueu
Ch01 .pptssysueueueueu65egegeg3f3geye6d6yeueu
 

More from Rai University

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University
Rai University
 
Mm unit 4point2
Mm unit 4point2Mm unit 4point2
Mm unit 4point2
Rai University
 
Mm unit 4point1
Mm unit 4point1Mm unit 4point1
Mm unit 4point1
Rai University
 
Mm unit 4point3
Mm unit 4point3Mm unit 4point3
Mm unit 4point3
Rai University
 
Mm unit 3point2
Mm unit 3point2Mm unit 3point2
Mm unit 3point2
Rai University
 
Mm unit 3point1
Mm unit 3point1Mm unit 3point1
Mm unit 3point1
Rai University
 
Mm unit 2point2
Mm unit 2point2Mm unit 2point2
Mm unit 2point2
Rai University
 
Mm unit 2 point 1
Mm unit 2 point 1Mm unit 2 point 1
Mm unit 2 point 1
Rai University
 
Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
Rai University
 
Mm unit 1point2
Mm unit 1point2Mm unit 1point2
Mm unit 1point2
Rai University
 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
Rai University
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Rai University
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Rai University
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditure
Rai University
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public finance
Rai University
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introduction
Rai University
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflation
Rai University
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economics
Rai University
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructure
Rai University
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competition
Rai University
 

More from Rai University (20)

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University
 
Mm unit 4point2
Mm unit 4point2Mm unit 4point2
Mm unit 4point2
 
Mm unit 4point1
Mm unit 4point1Mm unit 4point1
Mm unit 4point1
 
Mm unit 4point3
Mm unit 4point3Mm unit 4point3
Mm unit 4point3
 
Mm unit 3point2
Mm unit 3point2Mm unit 3point2
Mm unit 3point2
 
Mm unit 3point1
Mm unit 3point1Mm unit 3point1
Mm unit 3point1
 
Mm unit 2point2
Mm unit 2point2Mm unit 2point2
Mm unit 2point2
 
Mm unit 2 point 1
Mm unit 2 point 1Mm unit 2 point 1
Mm unit 2 point 1
 
Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
 
Mm unit 1point2
Mm unit 1point2Mm unit 1point2
Mm unit 1point2
 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditure
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public finance
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introduction
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflation
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economics
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructure
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competition
 

Recently uploaded

Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 

Recently uploaded (20)

Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 

B.sc cs-ii -u-1.2 digital logic circuits, digital component

  • 1. Digital Logic Circuits, Digital Component and Data Representation Course: B.Sc-CS-II Subject: Computer Organization And Architecture Unit-1 1
  • 2. What is Computer Organization?[1] … a very wide semantic gap between the intended behavior and the workings of the underlying electronic devices that will actually do all the work. The forerunners to modern computers attempted to assemble the raw devices (mechanical, electrical, or electronic) into a separate purpose-built machine for each desired behavior. Electronic Devices Desired Behavior
  • 3. Role of General Purpose Computers[1] A general purpose computer is like an island that helps span the gap between the desired behavior (application) and the basic building blocks (electronic devices). Electronic Devices Desired Behavior General Purpose Computer computer organization software
  • 4. Computer Architecture - Definition • Computer Architecture = ISA + MO • Instruction Set Architecture – What the executable can “see” as underlying hardware – Logical View • Machine Organization – How the hardware implements ISA ? – Physical View
  • 5. Impact of changing ISA • Early 1990’s Apple switched instruction set architecture of the Macintosh – From Motorola 68000-based machines – To PowerPC architecture • Intel 80x86 Family: many implementations of same architecture – program written in 1978 for 8086 can be run on latest Pentium chip
  • 6. Factors affecting ISA ??? Computer Architecture Technology Programming Languages Operating Systems History Applications
  • 7. ISA: Critical Interface instruction set software hardware Examples: 80x86 50,000,000 vs. MIPS 5500,000 ???
  • 8. Designing Computers • All computers more or less based on the same basic design, the Von Neumann Architecture!
  • 9. The Von Neumann Architecture • Model for designing and building computers, based on the following three characteristics: 1) The computer consists of four main sub-systems: • Memory • ALU (Arithmetic/Logic Unit) • Control Unit • Input / Output System (I/O) 2) Program is stored in memory during execution. 3) Program instructions are executed sequentially.
  • 10. The Von Neumann Architecture[1] Memory Processor (CPU) Input-Output Control Unit ALU Store data and program Execute program Do arithmetic/logic operations requested by program Communicate with "outside world", e.g. • Screen • Keyboard • Storage devices • ... Bus
  • 12.
  • 13. Memory Subsystem • Memory, also called RAM (Random Access Memory), – Consists of many memory cells (storage units) of a fixed size. Each cell has an address associated with it: 0, 1, … – All accesses to memory are to a specified address. A cell is the minimum unit of access (fetch/store a complete cell). – The time it takes to fetch/store a cell is the same for all cells. • When the computer is running, both – Program – Data (variables) are stored in the memory.
  • 14. 14 RAM[1] • Need to distinguish between – the address of a memory cell and the content of a memory cell • Memory width (W): – How many bits is each memory cell, typically one byte (=8 bits) • Address width (N): – How many bits used to represent each address, determines the maximum memory size = address space – If address width is N-bits, then address space is 2N (0,1,...,2N-1) ... 0 1 2 2N-1 1 bit W 0000000000000001 N 2N
  • 15. Memory Size / Speed • Typical memory in a personal computer (PC): – 64MB - 256MB • Memory sizes: – Kilobyte (KB) = 210 = 1,024 bytes ~ 1 thousand – Megabyte(MB) = 220 = 1,048,576 bytes ~ 1 million – Gigabyte (GB) = 230 = 1,073,741,824 bytes ~ 1 billion • Memory Access Time (read from/ write to memory) – 50-75 nanoseconds (1 nsec. = 0.000000001 sec.) • RAM is – volatile (can only store when power is on) – relatively expensive
  • 16. Operations on Memory • Fetch (address): – Fetch a copy of the content of memory cell with the specified address. – Non-destructive, copies value in memory cell. • Store (address, value): – Store the specified value into the memory cell specified by address. – Destructive, overwrites the previous value of the memory cell. • The memory system is interfaced via: – Memory Address Register (MAR) – Memory Data Register (MDR) – Fetch/Store signal
  • 17. Structure of the Memory Subsystem[2] • Fetch(address) – Load address into MAR. – Decode the address in MAR. – Copy the content of memory cell with specified address into MDR. • Store(address, value) – Load the address into MAR. – Load the value into MDR. – Decode the address in MAR – Copy the content of MDR into memory cell with the specified address.
  • 18. Input / Output Subsystem • Handles devices that allow the computer system to: – Communicate and interact with the outside world •Screen, keyboard, printer, ... – Store information (mass-storage) •Hard-drives, floppies, CD, tapes, … • Mass-Storage Device Access Methods: – Direct Access Storage Devices (DASDs) •Hard-drives, floppy-disks, CD-ROMs, ... – Sequential Access Storage Devices (SASDs) •Tapes (for example, used as backup devices)
  • 19. I/O Controllers • Speed of I/O devices is slow compared to RAM – RAM ~ 50 nsec. – Hard-Drive ~ 10msec. = (10,000,000 nsec) • Solution: – I/O Controller, a special purpose processor: •Has a small memory buffer, and a control logic to control I/O device (e.g. move disk arm). •Sends an interrupt signal to CPU when done read/write. – Data transferred between RAM and memory buffer. – Processor free to do something else while I/O controller reads/writes data from/to device into I/O buffer.
  • 20. Structure of the I/O Subsystem[2]
  • 21. The ALU Subsystem • The ALU (Arithmetic/Logic Unit) performs – mathematical operations (+, -, x, /, …) – logic operations (=, <, >, and, or, not, ...) • In today's computers integrated into the CPU • Consists of: – Circuits to do the arithmetic/logic operations. – Registers (fast storage units) to store intermediate computational results. – Bus that connects the two.
  • 22. Structure of the ALU[2] • Registers: – Very fast local memory cells, that store operands of operations and intermediate results. – CCR (condition code register), a special purpose register that stores the result of <, = , > operations • ALU circuitry: – Contains an array of circuits to do mathematical/logic operations. • Bus: – Data path interconnecting the registers to the ALU circuitry.
  • 23. The Control Unit • Program is stored in memory – as machine language instructions, in binary • The task of the control unit is to execute programs by repeatedly: – Fetch from memory the next instruction to be executed. – Decode it, that is, determine what is to be done. – Execute it by issuing the appropriate signals to the ALU, memory, and I/O subsystems. – Continues until the HALT instruction
  • 24. Machine Language Instructions • A machine language instruction consists of: – Operation code, telling which operation to perform – Address field(s), telling the memory addresses of the values on which the operation works. • Example: ADD X, Y (Add content of memory locations X and Y, and store back in memory location Y). • Assume: opcode for ADD is 9, and addresses X=99, Y=100 00001001 0000000001100011 0000000001100100 Opcode (8 bits) Address 1 (16 bits) Address 2 (16 bits)
  • 25. Instruction Set Design • Two different approaches: – Reduced Instruction Set Computers (RISC) •Instruction set as small and simple as possible. •Minimizes amount of circuitry --> faster computers – Complex Instruction Set Computers (CISC) •More instructions, many very complex •Each instruction can do more work, but require more circuitry.
  • 26. Typical Machine Instructions • Notation: – We use X, Y, Z to denote RAM cells – Assume only one register R (for simplicity) – Use English-like descriptions (should be binary) • Data Transfer Instructions – LOAD X Load content of memory location X to R – STORE X Load content of R to memory location X – MOVE X, Y Copy content of memory location X to loc. Y (not absolutely necessary)
  • 27. Machine Instructions (cont.) • Arithmetic – ADD X, Y, Z CON(Z) = CON(X) + CON(Y) – ADD X, Y CON(Y) = CON(X) + CON(Y) – ADD X R = CON(X) + R – similar instructions for other operators, e.g. SUBTR,OR, ... • Compare – COMPARE X, Y Compare the content of memory cell X to the content of memory cell Y and set the condition codes (CCR) accordingly. – E.g. If CON(X) = R then set EQ=1, GT=0, LT=0
  • 28. Machine Instructions (cont.) • Branch – JUMP X Load next instruction from memory loc. X – JUMPGT X Load next instruction from memory loc. X only if GT flag in CCR is set, otherwise load statement from next sequence loc. as usual. •JUMPEQ, JUMPLT, JUMPGE, JUMPLE,JUMPNEQ • Control – HALT Stop program execution.
  • 29. Example • Pseudo-code: Set A to B + C • Assuming variable: – A stored in memory cell 100, B stored in memory cell 150, C stored in memory cell 151 • Machine language (really in binary) – LOAD 150 – ADD 151 – STORE 100 – or – (ADD 150, 151, 100)
  • 30. Structure of the Control Unit[3] • PC (Program Counter): – stores the address of next instruction to fetch • IR (Instruction Register): – stores the instruction fetched from memory • Instruction Decoder: – Decodes instruction and activates necessary circuitry Instruction Decoder IR +1 PC
  • 32. How does this all work together? • Program Execution: – PC is set to the address where the first program instruction is stored in memory. – Repeat until HALT instruction or fatal error Fetch instruction Decode instruction Execute instruction End of loop
  • 33. Program Execution (cont.) • Fetch phase – PC --> MAR (put address in PC into MAR) – Fetch signal (signal memory to fetch value into MDR) – MDR --> IR (move value to Instruction Register) – PC + 1 --> PC (Increase address in program counter) • Decode Phase – IR -> Instruction decoder (decode instruction in IR) – Instruction decoder will then generate the signals to activate the circuitry to carry out the instruction
  • 34. Program Execution (cont.) • Execute Phase – Differs from one instruction to the next. • Example: – LOAD X (load value in addr. X into register) •IR_address -> MAR •Fetch signal •MDR --> R – ADD X •left as an exercise
  • 35. Instruction Set for Our Von Neumann Machine Opcode Operation Meaning 0000 LOAD X CON(X) --> R 0001 STORE X R --> CON(X) 0010 CLEAR X 0 --> CON(X) 0011 ADD X R + CON(X) --> R 0100 INCREMENT X CON(X) + 1 --> CON(X) 0101 SUBTRACT X R - CON(X) --> R 0101 DECREMENT X CON(X) - 1 --> CON(X) 0111 COMPARE X If CON(X) > R then GT = 1 else 0 If CON(X) = R then EQ = 1 else 0 If CON(X) < R then LT = 1 else 0 1000 JUMP X Get next instruction from memory location X 1001 JUMPGT X Get next instruction from memory loc. X if GT=1 ... JUMPxx X xx = LT / EQ / NEQ 1101 IN X Input an integer value and store in X 1110 OUT X Output, in decimal notation, content of mem. loc. X 1111 HALT Stop program execution
  • 36. Fundamental Components of Computer[3] • The CPU (ALU, Control Unit, Registers) • The Memory Subsystem (Stored Data) • The I/O subsystem (I/O devices) I/O Device Subsystem Address Bus Data Bus Control Bus CPU Memory Subsystem
  • 37. Each of these Components are connected through Buses. • BUS - Physically a set of wires. The components of the Computer are connected to these buses. • Address Bus • Data Bus • Control Bus
  • 38. Address Bus • Used to specify the address of the memory location to access. • Each I/O devices has a unique address. (monitor, mouse, cd-rom) • CPU reads data or instructions from other locations by specifying the address of its location. • CPU always outputs to the address bus and never reads from it.
  • 39. Data Bus • Actual data is transferred via the data bus. • When the cpu sends an address to memory, the memory will send data via the data bus in return to the cpu.
  • 40. Control Bus • Collection of individual control signals. • Whether the cpu will read or write data. • CPU is accessing memory or an I/O device • Memory or I/O is ready to transfer data
  • 41. I/O Bus or Local Bus • In today’s computers the the I/O controller will have an extra bus called the I/O bus. • The I/O bus will be used to access all other I/O devices connected to the system. • Example: PCI bus
  • 43. Fundamental Concepts  Processor (CPU): the active part of the computer, which does all the work (data manipulation and decision-making).  Datapath: portion of the processor which contains hardware necessary to perform all operations required by the computer (the brawn).  Control: portion of the processor (also in hardware) which tells the datapath what needs to be done (the brain).
  • 44. Fundamental Concepts (2)  Instruction execution cycle: fetch, decode, execute.  Fetch: fetch next instruction (using PC) from memory into IR.  Decode: decode the instruction.  Execute: execute instruction. Instruction Fetch Instruction Decode Operand Fetch Execute Result Store Next Instruction
  • 45. Fundamental Concepts (3)  Fetch: Fetch next instruction into IR (Instruction Register).  Assume each word is 4 bytes and each instruction is stored in a word, and that the memory is byte addressable.  PC (Program Counter) contains address of next instruction. IR  [[PC]] PC [PC] + 4
  • 46. Single Bus Organization[4] Data line Address line PC MAR MDR Y Internal processor bus Z MUX A ALU B Constant 4 Select Add Sub XOR : ALU control lines Carry-in IR RO R(n–1) : : TEMP Instruction decoder and control logic . . . Control signals
  • 47. Instruction Cycles • Procedure the CPU goes through to process an instruction. • 1. Fetch - get instruction • 2. Decode - interperate the instruction • 3. Execute - run the instruction.
  • 48. Timing Diagram: Memory Read [4] • Address is placed at beginning of clock • after one clock cycle the CPU asserts the read. • Causes the memory to place its data onto the data bus. • CLK : System Clock used to synchronize CLK AddressBus Bus Read Data
  • 49. Timing Diagram : Memory Write [4] • CPU places the Address and data on the first clock cycle. • At the start of the second clock the CPU will assert the write control signal. • This will then start memory to store data. • After some time the write is then deasserted by the CPU after removing the address and data from the subsystem. CLK AddressAddress Bus Data Bus Read Data
  • 50. I/O read and Write Cycles • The I/O read and Write cycles are similar to the memory read and write. • Memory mapped I/O : Same sequences as input output to read and write. • The processor treats an I/O port as a memory location. • This results in the same treatment as a memory access.
  • 51. Technology Trends • Processor – logic capacity: about 30% per year – clock rate: about 20% per year • Memory – DRAM capacity: about 60% per year (4x every 3 years) – Memory speed: about 10% per year – Cost per bit: improves about 25% per year • Disk – capacity: about 60% per year – Total use of data: 100% per 9 months! • Network Bandwidth – Bandwidth increasing more than 100% per year!
  • 52. i4004 i8086 i80386 Pentium i80486 i80286 SU MIPS R3010 R4400 R10000 1000 10000 100000 1000000 10000000 100000000 1965 1970 1975 1980 1985 1990 1995 2000 2005 Transistors i80x86 M68K MIPS Alpha ° In ~1985 the single-chip processor (32-bit) and the single-board computer emerged ° In the 2002+ timeframe, these may well look like mainframes compared single-chip computer (maybe 2 chips) DRAM Year Size 1980 64 Kb 1983 256 Kb 1986 1 Mb 1989 4 Mb 1992 16 Mb 1996 64 Mb 1999 256 Mb 2002 1 Gb uP-Name Microprocessor Logic Density DRAM chip capacity Technology Trends[4]
  • 53. Technology Trends Smaller feature sizes – higher speed, density
  • 54. Technology Trends Number of transistors doubles every 18 months (amended to 24 months)
  • 55. References 1. Computer Organization and Architecture, Designing for performance by William Stallings, Prentice Hall of India. 2. Modern Computer Architecture, by Morris Mano, Prentice Hall of India. 3. Computer Architecture and Organization by John P. Hayes, McGraw Hill Publishing Company. 4. Computer Organization by V. Carl Hamacher, Zvonko G. Vranesic, Safwat G. Zaky, McGraw Hill Publishing Company.