5.1 Documentation Standards

advertisement
5.1 Documentation Standards
1. Introduction
Most real combinational logic design problems
are very large. By structured thinking, a complex
circuit or system can be conceived by any human
being, because such a circuit or system is built on
a collection of subsystems, each of which has a
simple description.
 In combinational logic design, there are several
straightforward structures — decoders,
multiplexers, comparators.
 Before launching into these combinational
building blocks, we’ll discuss the documentation
standards, circuit timing, etc.

Return
Next
5.1 Documentation Standards
2. Documentation Standards
Good documentation is essential for correct
design and efficient maintenance of digital systems.
A documentation package should generally contain
at least the following six items:
 A circuit specification describes exactly what the
circuit or system is supposed to do, including a
description of all inputs and outputs(“interfaces”)
and the functions that are to be performed.

A block diagram is an informal pictorial description
of the system’s major functional modules and their
basic interconnections.
Return
Back
Next
5.1 Documentation Standards

A schematic diagram is a formal specification of
the electrical components of the system.

A timing diagram shows the values of various
logic signals as a function of time.

A structured logic device description describes
the internal function of a programmable logic
device(PLD), FPGA, ASIC.

A circuit description is a narrative text document
that, in conjunction with the other documentation,
explains how the circuit works internally.
Return
Back
Next
1) Block Diagrams
RESET
LOAD
RUN
DISPLAY
CONTROL
INBUS
32
2
32-BIT REGISTER
R/W
IN
ADDR
16-word32-bit
BYTE EN
RAM
OUT
32
32
32
32
direct
left right
SEL MULTIPLEXER
4 TO 1
32
32
32-BIT REGISTER
474LS377
32
32
A REGISTER
32
B REGISTER
32
CARRY LOOKAHEAD ADDER
32
5.1 Documentation Standards
A block diagrams shows the inputs, outputs, functional
modules, internal data paths, and important control
signals of a system. In general, it should not be so
detailed that it occupies more than one page, yet it must
not be too vague.

Each block should be labeled with the function of the
block, not the individual chips that comprise it.

The flow of control and data in a block diagram should
be clearly indicated.

Bus is a collection of two or more related signal lines.
In a block diagram, buses are drawn with a double or
heavy line. A slash and a number may indicate how
many individual signal lines are contained in a bus.

Return
Back
Next
5.1 Documentation Standards
2) Gate Symbols (See P316-317)
3) Signal Names and Active Levels
In a real system, well-chosen signal names
convey information to someone reading the logic
diagram the same way that variable names in a
software program do.
e.g. GO, PAUSE, READY, ERROR, INBUS[31:0])
 Active level
A signal is active high (low) if it performs the
named action or denotes the named condition
when it is HIGH or 1 (LOW or 0) (positive-logic).

Return
Back
Next
5.1 Documentation Standards
4) Active Levels for Pins (P319-320)
1
2
3
6
4
5
A
B
C
G1
G2A
G2B
74LS138
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
15
14
13
12
11
10
9
7
1
2
3
6
4
5
A
B
C
G1
G2A
G2B
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
15
14
13
12
11
10
9
7
74LS138
Return
Back
Next
5.1 Documentation Standards
5) Bubble-to-Bubble Logic Design
The signal name on a device’s output should
have the same active level as the device’s output
pin — that is, active-low if the device symbol has
an inversion bubble on the output pin, activehigh if not.

If the active level of an input signal is the same
as that of the input pin to which it is connected,
then the logic function inside the symbolic outline
is activated when the signal is asserted.

Return
Back
Next
5.1 Documentation Standards
If the active level of an input signal is the opposite of
that of the input pin to which it is connected, then the
logic function inside the symbolic outline is activated
when the signal is negated. This case should be avoided
whenever possible because it forces us keep track
mentally of a logical negation to understand the circuit.

A
A 2-input multiplexer SEL
ADATA_L
A
ASEL
BSEL
B
DATA
B
DATA
=ASEL·A+ASEL ·B
BDATA_L
Return
Back
Next
5.1 Documentation Standards
6) Drawing Layout


Flat schematic structure (p324 Figure 5-14)
Hierachical schematic structure(p325 Figure 5-15)
7) Buses (p327 Figure 5-16)
8) Additional Schematic Information

(p328 Figure 5-17)

(p329 Figure 5-18)
Return
Back
Download