0% found this document useful (0 votes)
202 views2 pages

Address Decoding

The document discusses address decoding on the 6800 CPU. Address decoding uses part of the address lines to select the correct chip, while the rest of the address selects the location on that chip. Address decoding can be achieved using combinational logic, address decoders, or programmable logic devices. An example is given of using a 2-line to 4-line decoder to fully decode four 4Kx8 EPROM chips from addresses $0000 to $3FFF using some address lines to select the chip and the rest to select the location on that chip.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
202 views2 pages

Address Decoding

The document discusses address decoding on the 6800 CPU. Address decoding uses part of the address lines to select the correct chip, while the rest of the address selects the location on that chip. Address decoding can be achieved using combinational logic, address decoders, or programmable logic devices. An example is given of using a 2-line to 4-line decoder to fully decode four 4Kx8 EPROM chips from addresses $0000 to $3FFF using some address lines to select the chip and the rest to select the location on that chip.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

10/25/2017 Address Decoding

Address Decoding
On the 6800 CPU, the memory space is 64K bytes as there are 16 address lines and the data bus
is 8-bits.

The method that we use to select the correct location on the correct chip is called address
decoding and we use the address bus to accomplish the selection. Notice that it is critical that
each address selects a unique location.

Each chip (whether it is a memory chip or a peripheral device chip) has an input called chip select
or enable. These inputs can be active low or active high. If active low, we must send a logic "0" (0
volts) to this input, to enable it, because it uses negative logic. If there is a logic "1" (+5 volts)
connected to this input, the chip is inactive.

If active high, a logic "1" on this input selects the device and a logic "0" on the input disables it. The
fact that we can activate or deactivate a chip allows us to select the correct chip for a particular
address.

When you specify a particular address, the corresponding location exists only in one of those
chips. Part of the address selects the correct chip (the upper part of the address), while the rest of
the address selects the correct location on that chip. You can look at the low order bits as forming
an offset from the first location on the chip to the correct location on the chip for the address you
are specifying.

Address Decoding can be achieved using:

1) Combinational Logic, (AND, NAND, OR, NOR and INVERTERS)

2) Address Decoders (2 to 4, 3 to 8, etc.),

3) Programmable Logic Device:

bu Programmable Logic Array (PLA),


bu Programmable Array Logic (PAL),
bu Gated Array Logic(GAL).

EXAMPLE 1:

Show how a single 2-line to 4-line decoder whose outputs, and a single gate enable input, are all
active low could be used to fully decode four 4K x 8 EPROMS, having an active low Chip Select
(/CS) line, from address $0000 to $3FFF. Assume that the system has a 16-bit address bus and an
8-bit data bus.

First, we will specify all sixteen addresses in binary, showing which address lines will have high
voltage ("1") and which will have low voltage ("0") for any particular address.

A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0


$0000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BLOCK 0
$0FFF 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1
BLOCK 1 $1000 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
http://www.electronics.dit.ie/staff/tscarff/6800/Address_dec_6800/address_decoding.htm 1/2
10/25/2017 Address Decoding

$1FFF 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1
$2000 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
BLOCK 2
$2FFF 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1
$3000 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0
BLOCK 3
$3FFF 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1

The Truth Table for 2 to 4 Decoder

http://www.electronics.dit.ie/staff/tscarff/6800/Address_dec_6800/address_decoding.htm 2/2

You might also like