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 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
Block Diagrams CONTROL R/W IN ADDR 16-word32-bit BYTE EN RAM OUT direct left right SEL MULTIPLEXER 4 TO 1 A REGISTER B REGISTER CARRY LOOKAHEAD ADDER 2 INBUS 32 RESET LOAD RUN DISPLAY 32-BIT REGISTER 32 32-BIT REGISTER 474LS377 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) A 1 B 2 C 3 Y7 7 Y6 9 Y5 10 Y4 11 Y3 12 Y2 13 Y1 14 15 74LS138 G2A 6 4 G2B 5 G1 Y0 A 1 B 2 C 3 Y7 7 Y6 9 Y5 10 Y4 11 Y3 12 Y2 13 Y1 14 15 74LS138 G2A 6 4 G2B 5 G1 Y0 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, active-high 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 SEL B DATA A 2-input multiplexer ADATA_L BDATA_L A ASEL BSEL DATA B =ASEL·A+ASEL ·B 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