computer architecture and microprocessors
DESCRIPTION
Computer Architecture and Microprocessors. By Navdeep Goyal. Purpose of Talk. What are the advantages of teaching these topics to physics students To discuss the curriculum for teaching microprocessors to physics students Introduction to SAP-1 8085 microprocessor. Importance. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/1.jpg)
Computer Architecture and Microprocessors
ByNavdeep Goyal
![Page 2: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/2.jpg)
Purpose of Talk
• What are the advantages of teaching these topics to physics students
• To discuss the curriculum for teaching microprocessors to physics students
• Introduction to SAP-1• 8085 microprocessor
![Page 3: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/3.jpg)
Importance
. Learning about the design considerations of microprocessors is important
. Students opting for further studies in microelectronics are benefitted
. Knowledge of working of a processors is important
. Starting with working of simplest computer system is always helpful
. Better to start with few basic principles of working of computer systems
![Page 4: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/4.jpg)
Proposed Sequence
• Which device was designed first• Computer or microprocessor?• Bus organised computer systems
– Data Bus – Address Bus – Control Bus– Tri-state Devices– Buffer Registers– SAP-1, SAP-2 etc– 8085 microprocessor– 8086 and other advanced microprocessors
![Page 5: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/5.jpg)
BUS SYSTEM
• In all computer system, the data is transferred from one place to other through common DATA BUS
• The selection of device is from the address, which is sent through common address bus
• Depending upon control signals data is written onto or read from a particular register
![Page 6: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/6.jpg)
TRI STATE DEVICES
• TRI-STATE Devices play important role when we are dealing with bus organized computer systems
• Three terminal device:– Input, output, control– Available in high active or low active mode– Used at the output of registers, which are
connected with common data bus
![Page 7: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/7.jpg)
Buffer Registers
• The loading of data and reading data from buffer register is with the help of control signals
• For loading data onto register a Load (L) signal is used
• For receiving data from buffer register an Enable (E) signal is used
• For different registers loading or enabling may be high or low active
![Page 8: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/8.jpg)
Introduction to Sap-1
• SAP-1 stands for simple as possible computer• SAP-1 is a computer made from discrete IC’s• Its an 8 bit computer with 4 address lines• Can handle max. of 16 address locations• Instruction set includes instructions• LDA, ADD, SUB, OUT, HLT
![Page 9: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/9.jpg)
OPCODES
• LDA 0000• ADD 0001• SUB 0010• OUT 1100• HLT 1111
![Page 10: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/10.jpg)
OPCODES AND OPERAND
Complete code includes opcode and operand
Like LDA 04H0000 0100
One instruction is executed in one instruction cycle
![Page 11: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/11.jpg)
Machine Cycle/Instruction Cycle
• Instruction cycle may consist of many machine cycles
• For SAP-1, Instruction cycle= machine cycle• Instruction cycle=Fetch cycle+Execution Cycle• Fetch cycle is generally same for all
instructions
![Page 12: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/12.jpg)
Ring Counter
![Page 13: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/13.jpg)
SAP-1
![Page 14: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/14.jpg)
How to fabricate various units• Program Counter: 4 bit counter-made from J-K flip-flops-
74 LS107 with 74LS126• Input/MAR: includes address/data switch registers
includes buffer register and 2-1 multiplexer• 16X8 RAM• Instruction Register: 8 bit buffer register , 2 nos 74 LS173• Controller Sequencer: to generate control signals• Accumulator: Buffer register to store intermediate results• Adder Subtracter: Arithmatic unit• B: buffer register
![Page 15: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/15.jpg)
Control Signals
Fetch T1 0 1 0 1 1 1 1 0 0 0 1 1 T2 1 0 1 1 1 1 1 0 0 0 1 1T3 0 0 1 1 0 1 1 0 0 0 1 1
![Page 16: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/16.jpg)
Control Words for various instructions
![Page 17: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/17.jpg)
Control Unit of SAP-1
![Page 18: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/18.jpg)
Microprogrammed Control Unit
• Easier to fabricate• Slower-not useful for commercial
microprocessors• Can be used for testing various instructions
![Page 19: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/19.jpg)
Variable Machine Cycle
• Fixed machine cycle may give many unwanted time states
• Execution is going to take longer time• Better to opt for variable machine cycle
![Page 20: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/20.jpg)
8085 Pin Diagram
![Page 21: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/21.jpg)
Architecture of 8085
![Page 22: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/22.jpg)
![Page 23: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/23.jpg)
![Page 24: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/24.jpg)
![Page 25: Computer Architecture and Microprocessors](https://reader036.vdocument.in/reader036/viewer/2022062305/56815e01550346895dcc4635/html5/thumbnails/25.jpg)
Thanks