09.05.2015 Views

Microcomputer Circuits and Processes

Microcomputer Circuits and Processes

Microcomputer Circuits and Processes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

measurements made from a microprocessor-controlled instrument,<br />

then r<strong>and</strong>om access memory (RAM) is needed. Remember that, as<br />

explained in Chapter 2, RAM is made up of a number of cells. Each<br />

individual cell is selected by row select <strong>and</strong> column select signals,<br />

generated from the address sent to the memory chip. This is shown<br />

again in figure 4.2.<br />

address<br />

data in (0 or 1)--4f" __-:-:-:::-:==::I<br />

data out (0 or 1)<br />

RD WR<br />

control lines<br />

address<br />

Figure 4.2<br />

RAM cells shown with their support circuitry. Selection of each cell is determined by the<br />

address sent to the row <strong>and</strong> column select logic. Input <strong>and</strong> output are done in<br />

conjunction with the column select logic.<br />

Here, we are interested in what actually makes up an individual<br />

memory cell, able to store a binary 0 or 1. The simplest type of RAM to<br />

use is called static RAM, where each cell is a simple flip-flop. This is<br />

shown in figure 4.3.<br />

(b)<br />

(a)<br />

R<br />

R<br />

B<br />

B<br />

0-- - - - to other<br />

cells<br />

data~ J<br />

in<br />

C<br />

C<br />

I<br />

~data<br />

Figure 4.3<br />

Static RAM. (a) The switches C <strong>and</strong> R used to select the column <strong>and</strong> row of a cell are in<br />

reality transistors. (b) The detail shows a single cell flip-flop shown as two cross-coupled<br />

inverters.<br />

The flip-flop is represented here as two cross-coupled<br />

inverters - figure 4.3(b). In commercial chips, like the 2147, four<br />

out<br />

46

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!