58
Documentation Standards Circuit specification. Description of what the system is supposed to do, including a description of all inputs and outputs and the functions that are to be performed (page 312). Block diagram. Informal pictorial description of the system’s major functional modules. Schematic or logic diagram. Formal specification of the electrical components of the system, their interconnections, and all details needed to construct it (IC type, pin numbers, etc.).

Documentation Standards

  • Upload
    elijah

  • View
    30

  • Download
    0

Embed Size (px)

DESCRIPTION

Documentation Standards. Circuit specification. Description of what the system is supposed to do, including a description of all inputs and outputs and the functions that are to be performed (page 312). Block diagram. Informal pictorial description of the system’s major functional modules. - PowerPoint PPT Presentation

Citation preview

Page 1: Documentation Standards

Documentation Standards

• Circuit specification.– Description of what the system

is supposed to do, including a description of all inputs and outputs and the functions that are to be performed (page 312).

• Block diagram.– Informal pictorial description

of the system’s major functional modules.

• Schematic or logic diagram.– Formal specification of the

electrical components of the system, their interconnections, and all details needed to construct it (IC type, pin numbers, etc.).

Page 2: Documentation Standards

Documentation Standards

• Timing diagram.– Shows the values of various

logic signals as a function of time, including cause and effect delays between critical signals.

• Structured logic device description.– Describes the internal function

of a programmable logic device (PLD), a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC).

Page 3: Documentation Standards

Block Diagrams

Page 4: Documentation Standards

Block Diagrams

Page 5: Documentation Standards

Gate Symbols

Page 6: Documentation Standards

SSI

Page 7: Documentation Standards

Active Levels For Pins• Each signal should have an

active level associated with it.• A signal is active high if it

performs the named action or denotes the named condition when it is HIGH or 1.

• A signal is active low if it performs the named action or denotes the named condition when it is LOW or 0.

• A signal is said to be asserted when it is at its active level.

Page 8: Documentation Standards

Active Levels For Pins

Page 9: Documentation Standards

Buses• Collection of two or more

related signal lines.

Page 10: Documentation Standards

Timing Diagrams• Illustrate the logical behavior

of the signals in a digital circuit as a function of time.

• Causality: which input transition causes which output transition.

• Propagation delay: the time it takes for a change at the input to produce a change at the output.– Note that propagation delays

when outputs change from LOW to HIGH may differ from when they change from HIGH to LOW.

Page 11: Documentation Standards

Timing Diagrams

Page 12: Documentation Standards

Decoders• A decoder is a multiple-input

multiple-output logic circuit that converts coded inputs into coded outputs, where the inputs and outputs codes are different.

Page 13: Documentation Standards

Decoders• Generally the input code has

fewer bits than the output codes.

• In a one-to-one mapping each input code word produces a different output code word.

• Most commonly used codes:– For input:

• The n-bit binary code.– For output:

• The 1-out-of-m code.

Page 14: Documentation Standards

Binary Decoder• Binary decoder:

– The most common decoder.– n-to-2n.– The input code is the n-bit

binary code.– The output code is the 1-out-of-

m code.

Page 15: Documentation Standards

Binary Decoder

Page 16: Documentation Standards

Binary Decoder

Page 17: Documentation Standards

Binary Decoder

Page 18: Documentation Standards

Cascading Binary Decoders

Page 19: Documentation Standards

Cascading Binary Decoders

Page 20: Documentation Standards

Seven Segment Decoders

Page 21: Documentation Standards

Seven Segment Decoders

Page 22: Documentation Standards

Encoders• Reverses what a decoder does.• If a device’s output code word

has fewer bits than the input code word then the device is usually called an encoder.

• The simplest encoder is the binary encoder or the 2n-to-n encoder.

Page 23: Documentation Standards

Encoders

I0 I1 I2 I3 I4 I5 I6 I7 Y2 Y1 Y01 0 0 0 0 0 0 0 0 0 00 1 0 0 0 0 0 0 0 0 10 0 1 0 0 0 0 0 0 1 00 0 0 1 0 0 0 0 0 1 10 0 0 0 1 0 0 0 1 0 00 0 0 0 0 1 0 0 1 0 10 0 0 0 0 0 1 0 1 1 00 0 0 0 0 0 0 1 1 1 1

Inputs Outputs

Page 24: Documentation Standards

Priority Encoders• Priority encoders assigns

priority to the input lines, so that when multiple lines are asserted at the same time, the encoder will produce the highest priority requestor.

I0 I1 I2 I3 I4 I5 I6 I7 Y2 Y1 Y01 0 0 0 0 0 0 0 0 0 0X 1 0 0 0 0 0 0 0 0 1X X 1 0 0 0 0 0 0 1 0X X X 1 0 0 0 0 0 1 1X X X X 1 0 0 0 1 0 0X X X X X 1 0 0 1 0 1X X X X X X 1 0 1 1 0X X X X X X X 1 1 1 1

Inputs Outputs

Page 25: Documentation Standards

Priority Encoders

Page 26: Documentation Standards

Cascading Binary Encoders

Page 27: Documentation Standards

Tri-State Devices• Devices whose outputs may be

in one of three states, 0, 1, or Hi-Z (high impedance).

• These devices have an extra input which is used to control if the output is floating (Hi-Z) or if it is behaving normally (page 385).

OutputEN A Y0 0 00 1 11 X Hi-Z

Inputs

Page 28: Documentation Standards

Tri-State Devices

Page 29: Documentation Standards

Tri-State Devices

Page 30: Documentation Standards

Tri-State Devices

Page 31: Documentation Standards

Tri-State Devices

Page 32: Documentation Standards

Multiplexers

• Digital switch (page 398).• A multiplexer with n data

sources requires s = log2 n select lines.

• Commercially available MUX have n= 1, 2, 4, 8 or 16.

• EN enables the output.

Page 33: Documentation Standards

Multiplexers

• Y = EN S’ D0 + EN S D1

OutputEN S D0 D1 Y0 X X X 01 0 0 0 01 0 0 1 01 0 1 0 11 0 1 1 11 1 0 0 01 1 0 1 11 1 1 0 01 1 1 1 1

Inputs

OutputEN S Y0 X 01 0 D01 1 D1

Inputs

Page 34: Documentation Standards

Multiplexers

• General logic equation for a multiplexer is show above.

1

0

iDMENiYn

jjj

Page 35: Documentation Standards

Multiplexers

Page 36: Documentation Standards

Multiplexers

Page 37: Documentation Standards

Multiplexers

Page 38: Documentation Standards

Multiplexers

Page 39: Documentation Standards

Demultiplexers

• Digital switch (page 405).• A demultiplexer with n data

outputs requires s = log2 n select lines.

Page 40: Documentation Standards

Demultiplexers

Page 41: Documentation Standards

Exclusive-Or Gates• An exclusive-or (XOR) gate is

a 2 input device whose output is 1 if exactly one of its inputs is 1 (page 410).

• An exclusive-nor (XNOR) or equivalence is just the opposite.

Page 42: Documentation Standards

Exclusive-Or Gates

Page 43: Documentation Standards

Parity Circuits• Parity detectors are circuits

that detects if the numbers of ones at its input is odd or even.

• Used to detect errors during the transmission of binary information, by using a parity bit.

• Parity bit is an extra bit included with the binary message to make the number of ones in the message either even or odd.

Page 44: Documentation Standards

Parity Circuits

Page 45: Documentation Standards

Parity Circuits

Page 46: Documentation Standards

Parity Circuits

Page 47: Documentation Standards

Comparators

• Comparators are circuits that compare two binary words and indicates whether they are equal or not equal.

Page 48: Documentation Standards

Comparators

Page 49: Documentation Standards

Comparators

Page 50: Documentation Standards

Comparators

Page 51: Documentation Standards

Adders

• Half adder adds two one bit operands and produces a two bit sum (page 431).

• HS = X Y• CO = XY

X Y CO HS0 0 0 00 1 0 11 0 0 11 1 1 0

Page 52: Documentation Standards

Adders• Full adder adds three one bit

operands and produces a two bit sum.

• S = X Y CIN• COUT = XY + X CIN + Y

CIN

CIN X Y COUT S0 0 0 0 00 0 1 0 10 1 0 0 10 1 1 1 01 0 0 0 11 0 1 1 01 1 0 1 01 1 1 1 1

Page 53: Documentation Standards

Adders

Page 54: Documentation Standards

PLDs

Page 55: Documentation Standards

PLDs

Page 56: Documentation Standards

PLDs

Page 57: Documentation Standards

PAL16L8

Page 58: Documentation Standards

GAL16V8C