SlideShare a Scribd company logo
MICROPROCESSOR 8085
LECTURE 19
MEMORY INTERFACING-II
PROF. SANDIP DAS
TO WRITE INTO OR READ FROM ANY ONE OF THE
REGISTERS: SPECIFIC REGISTER SHOULD BE
ENABLED
Register 3
Register 2
Register 1
Register 0
Output Buffer
Input Buffer
2-t0-4
Decoder𝑊𝑅
𝑅𝐷
A1
A0
• Thus, 2-to-4 decoder can
perform the required function
with the use of two input lines A0
and A1.
• These two input lines can have
four different bit combinations
(00,01,10,11) and each
combination can enable one of
the registers namely Register 0 to
Register 3.
• Thus, the Enable signal of the
flip-flops is replaced by two
address lines.
outputs
inputs
4X8 BIT REGISTER
Register 3
Register 2
Register 1
Register 0
Output Buffer
Input Buffer
2-t0-4
Decoder𝑊𝑅
𝑅𝐷
A1
A0
outputs
inputs
4x4 4x4
A1
A0
𝑊𝑅
𝑅𝐷
A1
A0
inputs inputs
outputs outputs
HOW TO SELECT BETWEEN TWO CHIPS
111 Register 7
110 Register 6
101 Register 5
100 Register 4
011 Register 3
010 Register 2
001 Register 1
000 Register 0
A1
A0
A2
𝑊𝑅𝑅𝐷
𝑊𝑅𝑅𝐷
Register 3
Register 2
Register 1
Register 0
Register 7
Register 6
Register 5
Register 4
011
010
001
000
11
1
11
0
10
1
10
0
A1
A0
A1
A0
𝑅𝐷 𝑊𝑅𝐶𝑆 𝑅𝐷 𝑊𝑅𝐶𝑆
A2
I/O lines I/O lines
I/O lines
Suppose, we have four address lines and two memory chips with four registers
each. How to design?
Register 3
Register 2
Register 1
Register 0
0011
0010
0001
0000
A1
A0
𝑅𝐷 𝑊𝑅𝐶𝑆
I/O lines
A3
A2
Register 11
Register 10
Register 9
Register 8
1011
1010
1001
1000
A1
A0
𝑅𝐷 𝑊𝑅𝐶𝑆
I/O lines
A3
A2
SUMMARY
• A memory chip requires address lines to identify a memory register. The
number of address lines required is determined by the number of registers
in a chip (2 𝑛=Number of registers, n is the number of address lines).
• A memory chip requires a chip select 𝐶𝑆 signal to enable the chip. The
remaining address lines of the microprocessor can be connected to the 𝐶𝑆
signal through an interfacing logic.
• The address lines connected to 𝐶𝑆 select the chip and the address lines
connected to the address lines of the memory chip select the register. Thus
the memory address of a register is determined by the logic levels (0/1) of
all the address lines)
• The control signal read 𝑅𝐷 enables the output buffer and data from the
selected register are made available on the output lines. Similarly, the
control signal 𝑊𝑅 enables the input buffer and data on the input lines are
written into the memory cells.
TYPICAL MEMORY MODEL
R/W
memory
Or
RAM
An
A0
Data
lines
𝑅𝐷 𝑊𝑅𝐶𝑆
Address
lines
ROM
A0
Data
lines
Address
lines
An
𝐶𝑆 𝑅𝐷

More Related Content

What's hot

19. io interfacing i
19. io interfacing i19. io interfacing i
19. io interfacing i
sandip das
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
Kumar Anand Singh
 
Timing Diagram.pptx
Timing Diagram.pptxTiming Diagram.pptx
Timing Diagram.pptx
ISMT College
 
SHLD and LHLD instruction
SHLD and LHLD instructionSHLD and LHLD instruction
SHLD and LHLD instruction
Romilkumar Siddhapura
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
deval patel
 
microprocessor 8085
microprocessor 8085microprocessor 8085
microprocessor 8085
Shivanshu Purwar
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1
techbed
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
8085 Microprocessor
Manish TaYlor
 
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 Microprocessor
Muthusamy Arumugam
 
advancsed microprocessor and interfacing
advancsed microprocessor and interfacingadvancsed microprocessor and interfacing
advancsed microprocessor and interfacing
@zenafaris91
 
8051 memory
8051 memory8051 memory
8051 memory
Mayank Garg
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .
Siraj Ahmed
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
Sumit Swain
 
8086 module 1 & 2 work
8086 module 1 & 2   work8086 module 1 & 2   work
8086 module 1 & 2 work
Suhail Km
 
8086 modes
8086 modes8086 modes
8086 modes
PDFSHARE
 
Detailed Explanation of Pin Description of 8085 microprocessor
Detailed Explanation of Pin Description of  8085 microprocessorDetailed Explanation of Pin Description of  8085 microprocessor
Detailed Explanation of Pin Description of 8085 microprocessor
Ramesh Dabhole
 
31. 8086 addressing modes
31. 8086 addressing modes31. 8086 addressing modes
31. 8086 addressing modes
sandip das
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
kunwer brijendra shanker
 

What's hot (20)

19. io interfacing i
19. io interfacing i19. io interfacing i
19. io interfacing i
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Timing Diagram.pptx
Timing Diagram.pptxTiming Diagram.pptx
Timing Diagram.pptx
 
SHLD and LHLD instruction
SHLD and LHLD instructionSHLD and LHLD instruction
SHLD and LHLD instruction
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
microprocessor 8085
microprocessor 8085microprocessor 8085
microprocessor 8085
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
8085 Microprocessor
 
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 Microprocessor
 
advancsed microprocessor and interfacing
advancsed microprocessor and interfacingadvancsed microprocessor and interfacing
advancsed microprocessor and interfacing
 
8051 memory
8051 memory8051 memory
8051 memory
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .
 
Architecture of 8085
Architecture of 8085Architecture of 8085
Architecture of 8085
 
8086 module 1 & 2 work
8086 module 1 & 2   work8086 module 1 & 2   work
8086 module 1 & 2 work
 
8086 modes
8086 modes8086 modes
8086 modes
 
Detailed Explanation of Pin Description of 8085 microprocessor
Detailed Explanation of Pin Description of  8085 microprocessorDetailed Explanation of Pin Description of  8085 microprocessor
Detailed Explanation of Pin Description of 8085 microprocessor
 
Lecture3
Lecture3Lecture3
Lecture3
 
31. 8086 addressing modes
31. 8086 addressing modes31. 8086 addressing modes
31. 8086 addressing modes
 
Input Output
Input OutputInput Output
Input Output
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 

Similar to 16. memory interfacing ii

I Ointerface in mp
I Ointerface in mpI Ointerface in mp
I Ointerface in mpAisu
 
UNIT 3 mp (1).ppt
UNIT 3 mp (1).pptUNIT 3 mp (1).ppt
UNIT 3 mp (1).ppt
BalasubramanianGurun1
 
8279_full.ppt
8279_full.ppt8279_full.ppt
8279_full.ppt
parul757596
 
8279_fullaanananannananansnsnnsnsnsnsn.ppt
8279_fullaanananannananansnsnnsnsnsnsn.ppt8279_fullaanananannananansnsnnsnsnsnsn.ppt
8279_fullaanananannananansnsnnsnsnsnsn.ppt
AnuragGautam79
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
HarshitParkar6677
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
HarshitParkar6677
 
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
sangeeta jogade
 
lecture 18PART 1 Memory Interfacing.pptx
lecture 18PART 1  Memory Interfacing.pptxlecture 18PART 1  Memory Interfacing.pptx
lecture 18PART 1 Memory Interfacing.pptx
0901ET211047ROHITSIN
 
8051 Architecture and PIN Configuration.pdf
8051 Architecture and PIN Configuration.pdf8051 Architecture and PIN Configuration.pdf
8051 Architecture and PIN Configuration.pdf
Srikrishna Thota
 
UNIT 4.pptx
UNIT 4.pptxUNIT 4.pptx
UNIT 4.pptx
BASKARS53
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 MicrocontrollersSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
Arti Parab Academics
 
Ch3 ppt
Ch3 pptCh3 ppt
Ch3 ppt
wasz123
 
12906245.ppt
12906245.ppt12906245.ppt
12906245.ppt
DhilibanSwaminathan
 
8051 architecture
8051 architecture8051 architecture
8051 architecture
sb108ec
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
Gowrishankar C
 
Unit 4.pptx
Unit 4.pptxUnit 4.pptx
Unit 4.pptx
BLACKSPAROW
 
UNIT 4 8051Microcontroller.pptx
UNIT 4 8051Microcontroller.pptxUNIT 4 8051Microcontroller.pptx
UNIT 4 8051Microcontroller.pptx
Gowrishankar C
 

Similar to 16. memory interfacing ii (20)

I Ointerface in mp
I Ointerface in mpI Ointerface in mp
I Ointerface in mp
 
UNIT 3 mp (1).ppt
UNIT 3 mp (1).pptUNIT 3 mp (1).ppt
UNIT 3 mp (1).ppt
 
8279_full.ppt
8279_full.ppt8279_full.ppt
8279_full.ppt
 
8279_fullaanananannananansnsnnsnsnsnsn.ppt
8279_fullaanananannananansnsnnsnsnsnsn.ppt8279_fullaanananannananansnsnnsnsnsnsn.ppt
8279_fullaanananannananansnsnnsnsnsnsn.ppt
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
 
Interfacing address
Interfacing addressInterfacing address
Interfacing address
 
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
Fundamentals of Microcontroller 8051 by Dr. Jogade S M, Assistant Professor, ...
 
lecture 18PART 1 Memory Interfacing.pptx
lecture 18PART 1  Memory Interfacing.pptxlecture 18PART 1  Memory Interfacing.pptx
lecture 18PART 1 Memory Interfacing.pptx
 
8051 Architecture and PIN Configuration.pdf
8051 Architecture and PIN Configuration.pdf8051 Architecture and PIN Configuration.pdf
8051 Architecture and PIN Configuration.pdf
 
UNIT 4.pptx
UNIT 4.pptxUNIT 4.pptx
UNIT 4.pptx
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 MicrocontrollersSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
 
Ch3 ppt
Ch3 pptCh3 ppt
Ch3 ppt
 
8051.pptx
8051.pptx8051.pptx
8051.pptx
 
12906245.ppt
12906245.ppt12906245.ppt
12906245.ppt
 
8051 architecture
8051 architecture8051 architecture
8051 architecture
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
Unit 4.pptx
Unit 4.pptxUnit 4.pptx
Unit 4.pptx
 
UNIT 4 8051Microcontroller.pptx
UNIT 4 8051Microcontroller.pptxUNIT 4 8051Microcontroller.pptx
UNIT 4 8051Microcontroller.pptx
 
Introduction to 80386
Introduction to 80386Introduction to 80386
Introduction to 80386
 

More from sandip das

30. 8086 microprocessor pipelined architecture
30. 8086 microprocessor pipelined architecture30. 8086 microprocessor pipelined architecture
30. 8086 microprocessor pipelined architecture
sandip das
 
29. 8086 microprocessor pin diagram
29. 8086 microprocessor pin diagram29. 8086 microprocessor pin diagram
29. 8086 microprocessor pin diagram
sandip das
 
28. 8251 programmable communication interface
28. 8251 programmable communication interface28. 8251 programmable communication interface
28. 8251 programmable communication interface
sandip das
 
27. 8259 programmable interrupt controller
27. 8259 programmable interrupt controller27. 8259 programmable interrupt controller
27. 8259 programmable interrupt controller
sandip das
 
26. 8255 control word programming
26. 8255 control word programming26. 8255 control word programming
26. 8255 control word programming
sandip das
 
25. 8255 programmable peripheral interface
25. 8255 programmable peripheral interface25. 8255 programmable peripheral interface
25. 8255 programmable peripheral interface
sandip das
 
24. direct memory access
24. direct memory access24. direct memory access
24. direct memory access
sandip das
 
22. interrupts ii
22. interrupts ii22. interrupts ii
22. interrupts ii
sandip das
 
21. interrupts
21. interrupts21. interrupts
21. interrupts
sandip das
 
20. io interfacing ii
20. io interfacing ii20. io interfacing ii
20. io interfacing ii
sandip das
 
18. memory interfacing iv
18. memory interfacing iv18. memory interfacing iv
18. memory interfacing iv
sandip das
 
14. 8085 programming example vi
14. 8085 programming example vi14. 8085 programming example vi
14. 8085 programming example vi
sandip das
 
13. 8085 programming example v
13. 8085 programming example v13. 8085 programming example v
13. 8085 programming example v
sandip das
 
12. 8085 programming example iv
12. 8085 programming example iv12. 8085 programming example iv
12. 8085 programming example iv
sandip das
 
11. 8085 programming example iii
11. 8085 programming example iii11. 8085 programming example iii
11. 8085 programming example iii
sandip das
 
10. 8085 programming example ii
10. 8085 programming example ii10. 8085 programming example ii
10. 8085 programming example ii
sandip das
 
9. 8085 instruction set v
9. 8085 instruction set v9. 8085 instruction set v
9. 8085 instruction set v
sandip das
 
8. 8085 programming example
8. 8085 programming example8. 8085 programming example
8. 8085 programming example
sandip das
 
7. 8085 instruction set iv
7. 8085 instruction set iv7. 8085 instruction set iv
7. 8085 instruction set iv
sandip das
 
6. 8085 instruction set iii
6. 8085 instruction set iii6. 8085 instruction set iii
6. 8085 instruction set iii
sandip das
 

More from sandip das (20)

30. 8086 microprocessor pipelined architecture
30. 8086 microprocessor pipelined architecture30. 8086 microprocessor pipelined architecture
30. 8086 microprocessor pipelined architecture
 
29. 8086 microprocessor pin diagram
29. 8086 microprocessor pin diagram29. 8086 microprocessor pin diagram
29. 8086 microprocessor pin diagram
 
28. 8251 programmable communication interface
28. 8251 programmable communication interface28. 8251 programmable communication interface
28. 8251 programmable communication interface
 
27. 8259 programmable interrupt controller
27. 8259 programmable interrupt controller27. 8259 programmable interrupt controller
27. 8259 programmable interrupt controller
 
26. 8255 control word programming
26. 8255 control word programming26. 8255 control word programming
26. 8255 control word programming
 
25. 8255 programmable peripheral interface
25. 8255 programmable peripheral interface25. 8255 programmable peripheral interface
25. 8255 programmable peripheral interface
 
24. direct memory access
24. direct memory access24. direct memory access
24. direct memory access
 
22. interrupts ii
22. interrupts ii22. interrupts ii
22. interrupts ii
 
21. interrupts
21. interrupts21. interrupts
21. interrupts
 
20. io interfacing ii
20. io interfacing ii20. io interfacing ii
20. io interfacing ii
 
18. memory interfacing iv
18. memory interfacing iv18. memory interfacing iv
18. memory interfacing iv
 
14. 8085 programming example vi
14. 8085 programming example vi14. 8085 programming example vi
14. 8085 programming example vi
 
13. 8085 programming example v
13. 8085 programming example v13. 8085 programming example v
13. 8085 programming example v
 
12. 8085 programming example iv
12. 8085 programming example iv12. 8085 programming example iv
12. 8085 programming example iv
 
11. 8085 programming example iii
11. 8085 programming example iii11. 8085 programming example iii
11. 8085 programming example iii
 
10. 8085 programming example ii
10. 8085 programming example ii10. 8085 programming example ii
10. 8085 programming example ii
 
9. 8085 instruction set v
9. 8085 instruction set v9. 8085 instruction set v
9. 8085 instruction set v
 
8. 8085 programming example
8. 8085 programming example8. 8085 programming example
8. 8085 programming example
 
7. 8085 instruction set iv
7. 8085 instruction set iv7. 8085 instruction set iv
7. 8085 instruction set iv
 
6. 8085 instruction set iii
6. 8085 instruction set iii6. 8085 instruction set iii
6. 8085 instruction set iii
 

Recently uploaded

RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
manasideore6
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 

Recently uploaded (20)

RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 

16. memory interfacing ii

  • 1. MICROPROCESSOR 8085 LECTURE 19 MEMORY INTERFACING-II PROF. SANDIP DAS
  • 2. TO WRITE INTO OR READ FROM ANY ONE OF THE REGISTERS: SPECIFIC REGISTER SHOULD BE ENABLED Register 3 Register 2 Register 1 Register 0 Output Buffer Input Buffer 2-t0-4 Decoder𝑊𝑅 𝑅𝐷 A1 A0 • Thus, 2-to-4 decoder can perform the required function with the use of two input lines A0 and A1. • These two input lines can have four different bit combinations (00,01,10,11) and each combination can enable one of the registers namely Register 0 to Register 3. • Thus, the Enable signal of the flip-flops is replaced by two address lines. outputs inputs
  • 3. 4X8 BIT REGISTER Register 3 Register 2 Register 1 Register 0 Output Buffer Input Buffer 2-t0-4 Decoder𝑊𝑅 𝑅𝐷 A1 A0 outputs inputs 4x4 4x4 A1 A0 𝑊𝑅 𝑅𝐷 A1 A0 inputs inputs outputs outputs
  • 4. HOW TO SELECT BETWEEN TWO CHIPS 111 Register 7 110 Register 6 101 Register 5 100 Register 4 011 Register 3 010 Register 2 001 Register 1 000 Register 0 A1 A0 A2 𝑊𝑅𝑅𝐷 𝑊𝑅𝑅𝐷 Register 3 Register 2 Register 1 Register 0 Register 7 Register 6 Register 5 Register 4 011 010 001 000 11 1 11 0 10 1 10 0 A1 A0 A1 A0 𝑅𝐷 𝑊𝑅𝐶𝑆 𝑅𝐷 𝑊𝑅𝐶𝑆 A2 I/O lines I/O lines I/O lines
  • 5. Suppose, we have four address lines and two memory chips with four registers each. How to design? Register 3 Register 2 Register 1 Register 0 0011 0010 0001 0000 A1 A0 𝑅𝐷 𝑊𝑅𝐶𝑆 I/O lines A3 A2 Register 11 Register 10 Register 9 Register 8 1011 1010 1001 1000 A1 A0 𝑅𝐷 𝑊𝑅𝐶𝑆 I/O lines A3 A2
  • 6. SUMMARY • A memory chip requires address lines to identify a memory register. The number of address lines required is determined by the number of registers in a chip (2 𝑛=Number of registers, n is the number of address lines). • A memory chip requires a chip select 𝐶𝑆 signal to enable the chip. The remaining address lines of the microprocessor can be connected to the 𝐶𝑆 signal through an interfacing logic. • The address lines connected to 𝐶𝑆 select the chip and the address lines connected to the address lines of the memory chip select the register. Thus the memory address of a register is determined by the logic levels (0/1) of all the address lines) • The control signal read 𝑅𝐷 enables the output buffer and data from the selected register are made available on the output lines. Similarly, the control signal 𝑊𝑅 enables the input buffer and data on the input lines are written into the memory cells.
  • 7. TYPICAL MEMORY MODEL R/W memory Or RAM An A0 Data lines 𝑅𝐷 𝑊𝑅𝐶𝑆 Address lines ROM A0 Data lines Address lines An 𝐶𝑆 𝑅𝐷