Homework 15 – due 6/30
7-15) Given a 32 x 8 ROM chip with an enable input, show the external connections
necessary to construct a 128 x 8 ROM with four chips and a decoder.
a5:a6 2-bit
to
4-line
select
a0:a4 32 x 8 d0:d7
ROM
E
32 x 8
ROM
E
32 x 8
ROM
E
32 x 8
ROM
E
0
7-17) The 32 x 6 ROM together with the 2 lines as shown in Fig P7-17 converts a 6-bit
binary number to its corresponding 2-digit BCD number. For example, binary 100001
converts to BCD 011 0011 (decimal 33). Specify the truth table for the ROM.
20
32 x 6 ROM
1
2 I1 D1
100
22 I2 D2
23 I3 D3
24 I4 D4
25 I5 D5 101
D6
Inputs Outputs
Value I5 I4 I3 I2 I1 D6 D5 D4 D3 D2 D1
00 0 0 0 0 0 0 0 0 0 0 0
02 0 0 0 0 1 0 0 0 0 0 1
04 0 0 0 1 0 0 0 0 0 1 0
06 0 0 0 1 1 0 0 0 0 1 1
08 0 0 1 0 0 0 0 1 1 0 0
10 0 0 1 0 1 0 0 1 0 0 0
12 0 0 1 1 0 0 0 1 0 0 1
14 0 0 1 1 1 0 0 1 0 1 0
16 0 1 0 0 0 0 0 1 0 1 1
18 0 1 0 0 1 0 0 1 1 0 0
20 0 1 0 1 0 0 1 0 0 0 0
22 0 1 0 1 1 0 1 0 0 0 1
24 0 1 1 0 0 0 1 0 0 1 0
26 0 1 1 0 1 0 1 0 0 1 1
28 0 1 1 1 0 0 1 0 1 0 0
30 0 1 1 1 1 0 1 1 0 0 0
32 1 0 0 0 0 0 1 1 0 0 1
34 1 0 0 0 1 0 1 1 0 1 0
36 1 0 0 1 0 0 1 1 0 1 1
38 1 0 0 1 1 0 1 1 1 0 0
40 1 0 1 0 0 1 0 0 0 0 0
42 1 0 1 0 1 1 0 0 0 0 1
44 1 0 1 1 0 1 0 0 0 1 0
46 1 0 1 1 1 1 0 0 0 1 1
48 1 1 0 0 0 1 0 0 1 0 0
50 1 1 0 0 1 1 0 1 0 0 0
52 1 1 0 1 0 1 0 1 0 0 1
54 1 1 0 1 1 1 0 1 0 1 0
56 1 1 1 0 0 1 0 1 0 1 1
58 1 1 1 0 1 1 0 1 1 0 0
60 1 1 1 1 0 1 1 0 0 0 0
62 1 1 1 1 1 1 1 0 0 0 1