Question: Design a 8086 based system
2

### • One 8255 PPI for keyboard interface Design system with absolute decoding. Clearly show memory address map and I/O address map. Draw a neat schematic for chip selection logic.

Mumbai University > Electronics and Telecommunication > Sem 4 > Microprocessor and peripherals

Marks: 20M

Year: Dec 2014, May 2015

 modified 3.0 years ago  • written 3.0 years ago by Juilee • 2.3k
2

Step 1: Total EPROM required = 64 KB

Chip size available = 16 KB

$∴ \text{Number of chips required} = \frac{64 KB}{16 KB} = 4$

$∴ \text{Number of sets required} = \frac{Number of chips}{Number of banks} = \frac{4}{2} = 2$

SET 1: Ending address of SET 1 = FFFFFH

SET size = Chip size x 2 = 16 KB x 2 = 32 KB

i.e. $\frac{0000}{0} \frac{0111}{7} \frac{1111}{F} \frac{1111}{F} \frac{1111}{F}$

$\text{Starting address = Ending address – SET size} \\ \hspace{2.8cm} = FFFFFH – 07FFFH \\ \hspace{2.8cm} = F8000H$

SET 2: Ending address of SET 2 = F7FFFH (previous ending - 1)

SET size = Chip size x 2 = 16 KB x 2 = 32 KB

i.e. $\frac{0000}{0} \frac{0111}{7} \frac{1111}{F} \frac{1111}{F} \frac{1111}{F}$

$\text{Starting address = Ending address – SET size} \\ \hspace{2.8cm} = F7FFFH – 07FFFH \\ \hspace{2.8cm} = F0000H$ Step 2: Total RAM required = 32 KB

Chip size available = 8 KB

$∴ \text{Number of chips required} = \frac{32 KB}{8 KB} = 4$

$∴ \text{Number of sets required} = \frac{Number of chips}{Number of banks} = \frac{4}{2} = 2$

SET 1: Starting address = 00000H

SET size = Chip size x 2 = 8 KB x 2 = 32 KB

i.e. $\frac{0000}{0} \frac{0011}{3} \frac{1111}{F} \frac{1111}{F} \frac{1111}{F}$

$\text{Ending address = Starting address – SET size} \\ \hspace{2.8cm} = 04000H + 03FFFH \\ \hspace{2.8cm} = 07FFFH$

SET 2: Starting address = 04000H (previous ending - 1)

SET size = Chip size x 2 = 8 KB x 2 = 32 KB

i.e. $\frac{0000}{0} \frac{0011}{3} \frac{1111}{F} \frac{1111}{F} \frac{1111}{F}$

$\text{Ending address = Starting address – SET size} \\ \hspace{2.8cm} = 04000H – 03FFFH \\ \hspace{2.8cm} = 07FFFH$  Step 4: Final Implementation: written 3.0 years ago by Juilee • 2.3k
 written 2.6 years ago by hambardepurushottam • 0