token name: bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/logic.pdf · cntr-u/d...

74
® Logic A Guide To The Logic Library

Upload: others

Post on 25-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

®

Logi

c

A Guide

To The

Logic Library

Page 2: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

SystemView by ELANIX® Copyright © 1994-2005, Eagleware Corporation All rights reserved. Eagleware-Elanix Corporation 3585 Engineering Drive, Suite 150 Norcross, GA 30092 USA Phone: +1 (678) 291-0995, Fax: +1 (678) 291-0971 Support e-mail: [email protected] Web: www.eagleware.com Unpublished work. All rights reserved under the U.S. Copyright Act. Restricted Rights Apply. This document may not, in whole or in part, be copied, photocopied, reproduced, translated, or reduced to any electronic medium or machine-readable form without the prior written consent of Eagleware Corporation. This document and the associated software are proprietary to Eagleware Corporation. SystemView by ELANIX, and ELANIX are registered trademarks of Eagleware Corporation. MetaSystem is a trademark of Eagleware Corporation. Windows is a trademark of Microsoft Corporation. Other trademarks or registered trademarks used in this document are the property of their respective owners. Document Number SVU LOGIC1002 Printed in the United States of America

2 SystemView Logic Library

Page 3: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Table of Contents

Logi

c

LOGIC LIBRARY listed by ALPHABETICAL ABBREVIATION..........................................................5 LOGIC LIBRARY listed by GENERIC, 74xxx, CUSTOM……………………………………………...6 LOGIC LIBRARY listed by FUNCTION .................................................................................................7 Introduction ...............................................................................................................................................9 A Note on Simulating a Complete Logic System ....................................................................................10 Description of PROPAGATION DELAY Time ...................................................................................... 11 Description of SETUP Time for CLOCK DRIVEN Logic Tokens..........................................................13 Description of TRUE and FALSE ..........................................................................................................15 Description of THRESHOLD .................................................................................................................15 Description of INITIAL OUTPUT .........................................................................................................15 Unused Inputs ..........................................................................................................................................16 Router Tokens. ..................... ..................................................................................................................16 Bi-Directional Data Flow and 3-State......................................................................................................16 Description of SET* ............ ..................................................................................................................17 Description of RESET*, MASTER RESET*(MR), and CLEAR* .........................................................17 Description of RISE TIME and FALL TIME .........................................................................................18 The Buffer Logic Token - Special Uses...................................................................................................18 LOGIC LIBRARY - Token Descriptions.................................................................................................19

3 SystemView Logic Library

Page 4: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

4 SystemView Logic Library

Page 5: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

LOGIC LIBRARY listed by ALPHABETICAL ABBREVIATION ABBREV TYPE TOKEN NAME

Logi

c ADC................ Custom ........ n-Bit Analog to Digital Converter ............................................................67 AnaCmp.......... Custom ........ Comparator (Differential Analog Input,Q and Q* Output).......................72 AND ............... Generic ........ AND gate .................................................................................................20 Buffer.............. Generic ........ Buffer (non-inverting) ..............................................................................25 Cntr-4.............. 74161........... 4-Bit Synchronous Pre-settable Binary Counter.......................................42 Cntr-12............ 744040......... 12-Stage Binary Counter ..........................................................................58 Cntr-U/D......... 74191........... 4-Bit Synchronous Binary Up/Down Counter with One Clock................51 DAC................ Custom ........ n-Bit Digital to Analog Converter ............................................................70 DigCmp-8 ....... 74521........... 8-Bit Identity Comparator (Equality Detector) ........................................54 dMux-D-8 ....... 74138........... 3-Line to 8-Line Decoder/Demultiplexer .................................................36 DPDT.............. Custom ........ 2-Channel Analog Multiplexer/Demux (DPDT Analog Switch) ..............66 FF-D-1 ............ 7474............. D-Type Flip-Flop, positive-edge-triggered...............................................28 FF-D-4 ............ 74175........... Quad D-Type Flip-Flop ............................................................................48 FF-JK*............ 74109........... J-K* Type Flip-Flop, positive-edge-triggered ..........................................30 Int/Dig............. Custom ........ n-BIT Integer to Digital Converter ...........................................................68 Invert .............. 7404............. Inverter .....................................................................................................26 Latch-8T ......... 74573........... 8-Bit Transparent Latch with Q Output ....................................................56 Latch-SR......... Custom ........ Set/Reset Latch (Two NAND gates, cross-coupled).................................63 Mux-D-8 ......... 74151........... 8-Input Digital Multiplexer ......................................................................39 NAND............. Generic ........ NAND gate...............................................................................................21 NOR................ Generic ........ NOR gate..................................................................................................24 One-shot ......... 74123........... Retriggerable Monostable Multivibrator ..................................................32 OR .................. Generic ........ OR gate ....................................................................................................22 Ph/Frq ............. MC4044....... Phase-Frequency Detector........................................................................60 PROM............. Custom ........ Programmable Read Only Memory(8 x 8) (no 3-state) ............................73 Schmitt-1 ........ 7414............. Schmitt Trigger Inverter ...........................................................................27 Schmitt-2 ........ 74132........... 2-Input Schmitt Trigger NAND................................................................35 Shft-8in ........... 74164........... 8-Bit Serial-in/Parallel-out Shift Register ................................................45 SPDT .............. Custom ........ 2-Channel Analog Multiplexer (SPDT AnalogSwitch) ............................65 XOR................ Generic ........ Exclusive OR gate....................................................................................23

5 SystemView Logic Library

Page 6: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

LOGIC LIBRARY listed by GENERIC, 74xxx, CUSTOM ABBREV TYPE TOKEN NAME AND ............... Generic .........AND gate ................................................................................................. 20 NAND ............ Generic .........NAND gate .............................................................................................. 21 OR .................. Generic .........OR gate .................................................................................................... 22 XOR................ Generic .........Exclusive OR gate.................................................................................... 23 NOR................ Generic .........NOR gate.................................................................................................. 24 Buffer.............. Generic .........Buffer (non-inverting) .............................................................................. 25 Invert .............. 7404..............Inverter ..................................................................................................... 26 Schmitt-1 ........ 7414..............Schmitt Trigger Inverter ........................................................................... 27 FF-D-1 ............ 7474..............D-Type Flip-Flop, positive-edge-triggered............................................... 28 FF-JK*............ 74109............J-K* Type Flip-Flop, positive-edge-triggered .......................................... 30 One-shot ......... 74123............Retriggerable Monostable Multivibrator .................................................. 32 Schmitt-2 ........ 74132............2-Input Schmitt Trigger NAND................................................................ 35 dMux-D-8 ....... 74138............3-Line to 8-Line Decoder/Demultiplexer ................................................. 36 Mux-D-8......... 74151............8-Input Digital Multiplexer ...................................................................... 39 Cntr-4.............. 74161............4-Bit Synchronous Presettable Binary Counter........................................ 42 Shft-8in........... 74164............8-Bit Serial-in/Parallel-out Shift Register ................................................ 45 FF-D-4 ............ 74175............Quad D-Type Flip-Flop............................................................................ 48 Cntr-U/D......... 74191............4-Bit Synchronous Binary Up/Down Counter with One Clock................ 51 DigCmp-8 ....... 74521............8-Bit Identity Comparator (Equality Detector) ........................................ 54 Latch-8T ......... 74573............8-Bit Transparent Latch with Q Output.................................................... 56 Cntr-12............ 744040..........12-Stage Binary Counter .......................................................................... 58 Ph/Frq ............. MC4044........Phase-Frequency Detector........................................................................ 60 Latch-SR......... Custom .........Set/Reset Latch (Two NAND gates, cross-coupled) ................................ 63 SPDT .............. Custom .........2-Channel Analog Multiplexer (SPDT AnalogSwitch) ............................ 65 DPDT.............. Custom .........2-Channel Analog Multiplexer/Demux (DPDT Analog Switch) .............. 66 ADC................ Custom .........n-Bit Analog to Digital Converter ............................................................ 67 Int/Dig ............ Custom .........n-BIT Integer to Digital Converter........................................................... 68 DAC................ Custom .........n-Bit Digital to Analog Converter ............................................................ 70 AnaCmp.......... Custom .........Comparator (Differential Analog Input,Q and Q* Output) ...................... 72 PROM............. Custom .........Programmable Read Only Memory(8 x 8) (no 3-state)............................ 73

6 SystemView Logic Library

Page 7: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

LOGIC LIBRARY listed by FUNCTION ABBREV. TYPE TOKEN NAME

Logi

c AND / NAND gates

AND Generic AND gate NAND Generic NAND gate

OR / NOR gates OR Generic OR gate NOR Generic NOR gate

Exclusive-OR gates XOR Generic Exclusive OR gate

Buffers / Inverters Buffer Generic Buffer (non-inverting) Invert 7404 Inverter

Schmitt Triggers Schmtt-1 7414 Schmitt Trigger Inverter Schmtt-2 74132 2-Input Schmitt Trigger NAND

Flip-Flops FF-D-1 7474 D-Type Flip-Flop, positive-edge-triggered FF-JK* 74109 J-K* Type Flip-Flop, positive-edge-triggered FF-D-4 74175 Quad D-Type Flip-Flop

7 SystemView Logic Library

Page 8: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

LOGIC LIBRARY listed by FUNCTION NAME TYPE DESCRIPTION Latches Latch-SR Custom Set / Reset Latch (Two NAND gate, cross-coupled) Latch-8T 74573 8-Bit Transparent Latch with Q Output Shift Registers Shft-8in 74164 8-Bit Serial-in / Parallel-out Shift Register Counters Cntr-4 74161 4-Bit Synchronous Presettable Binary Counter Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage Binary Counter Digital Multiplexers Mux-D-8 74151 8-Input Digital Multiplexer Digital Decoders / Digital Demultiplexers DMux-D-8 74138 3-line to 8-Line Decoder/Demultiplexer Switches / Analog Multiplexers / Analog Demultiplexers SPDT Custom 2-Channel Analog Multiplexer (SPDT Analog Switch) DPDT Custom 2-Channel Analog Multiplexer/Demux (DPDT Analog Switch) Arithmetic Circuits DigCmp-8 74521 8-Bit Identity Comparator (Equality Detector)

Miscellaneous One-Shot 74123 Retriggerable Monostable Multivibrator Ph/Frq MC4044 Phase-Frequency Detector ADC Custom n-Bit Analog to Digital Converter Int/Dig Custom n-Bit Integer to Digital converter DAC Custom n-Bit Digital to Analog Converter AnaCmp Custom Comparator (Differential Analog Input, Q and Q* Output) PROM Custom Programmable Read Only Memory (8 x 8)

8 SystemView Logic Library

Page 9: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

®

Logi

c

Introduction Congratulations on selecting the SystemView Logic Library option. Besides the convenience of having many familiar logic functions available at the click of the mouse, you will find the system simulation time to be shorter than if the function were implemented as a MetaSystem. The Logic Library has three token classifications, listed as the following: The “Generic tokens”, have well-known functions such as the NAND gate. Generic tokens can have any number of inputs. Thus the NAND gate token can have 2, 3, etc. inputs. The “74xxx tokens”, simulate a particular function that is available as a purchased part. In System View “74xxx” refers to a specific logic function and not to a family such as TTL or CMOS. The “Custom tokens”, implement logic functions, that are not generally available as a single part, or logic functions, that have inputs and/or outputs with mixed-signals, such as Digital to Analog Converters (DAC), or analog switches.

9 SystemView Logic Library

Page 10: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

A NOTE ON SIMULATING A COMPLETE LOGIC SYSTEM Refer to the SystemView example file sld_cor_1_tr_tx.suv that shows an example of a sliding correlator logic feedback system. In SystemView, the system sample time is indicated as dT. In the referenced feedback system, a one-dT sample delay is included, and is indicated as “Z-1” within a box. The example shows one way of compensating for this sample delay, so that the digital output waveforms are lined up perfectly. This example file also illustrates the use of router tokens, located at the top of the token reservoir. Router tokens help the user define connection paths between tokens that have multiple input/output connections

10 SystemView Logic Library

Page 11: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Description of PROPAGATION DELAY Time The following refers to all tokens:

Logi

c 1. There are two ways to enter data into a logic token: (a) A direct connection, as with a NAND gate, that has a zero input delay, or (b) Using a clocked input, as described in the SETUP time.

2. Once data has been entered into a gate or register, there is a propagation

delay before the output begins to change state. In SystemView, the default delay is zero seconds, as shown in the timing waveforms of Figure 1.

3. The delay value is entered as a time in seconds. It should be an integer

multiple of the system’s sample time dT. If the propagation delay is not an integer multiple of the systems dT, the value will be rounded up or down and may produce a different delay than expected.

11 SystemView Logic Library

Page 12: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Figure 1. Propagation Delay Waveforms

12 SystemView Logic Library

Page 13: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Logi

c Description of SETUP Time for Clock Driven Logic Tokens: Clock driven Logic Tokens are Flip-Flops, Shift Registers, Binary Counters, and Transparent Latches. Timing diagrams are shown in figures 2 through 7. There is no interpolation of the time samples. The circles on the waveforms indicate system time samples at each dT. 1. There is no “hold time” required for the data. 2. The logic level present at a DATA input, is entered into the logic token

during the LOW-to-HIGH transition of the clock pulse. Data at the input may be changed while the clock is HIGH or LOW, but only data with a setup time of at least one dT will be entered. An example of not meeting the set up time requirement is a DATA input that has been LOW for several clock pulses, and then goes HIGH at the same instant the clock goes HIGH. The flip-flop output will remain unchanged at a LOW state, and the same rules apply for LOW going data.

3. For a LOW-to-HIGH clock to enter a data “1” or “0” into a logic token,

Tsetup = dT (seconds). 4. A HIGH-to-LOW clock pulse has no effect on a token. 5. The Transparent Latch (Latch-8T) has a LATCH ENABLE input that

follows the SETUP time rules, but the LATCH ENABLE input also has an active LOW function.

13 SystemView Logic Library

Page 14: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

SETUP time with ZERO SETUP time with one dT output delay: (Figures 2, 3, 4) output delay: (Figures 5, 6, 7)

14 SystemView Logic Library

Page 15: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Description of TRUE and FALSE

Logi

c The following applies to all Logic Tokens: 1. The signals used in digital systems are described in several different and

sometimes confusing terms. A logic signal can be either ACTIVE (=TRUE) or NOT ACTIVE (NOT TRUE = FALSE).

2. Digital circuits are defined for voltage levels that are either HIGH (H)

(more positive) or LOW (L) (less positive or more negative). Either of these levels can be considered ACTIVE (TRUE). The opposite level is then NOT ACTIVE (FALSE).

3. MIL Std. 806B has established clear symbology: The HIGH level is

considered ACTIVE unless a circle is located at the input or output, which indicates the opposite assignment (LOW = ACTIVE). A circle at an external input indicates that the specific input is ACTIVE LOW; and that it will produce the desired function, in conjunction with other inputs, if its voltage is below the THRESHOLD of the device. A circle at the output indicates that when the function designated is TRUE, the output is LOW.

4. TRUE and FALSE may be set to any positive or negative value, including

zero. When the TRUE value is specified less than the FALSE value, the OUTPUT logic of the token is inverted - a NOT gate becomes a BUFFER, a NAND gate becomes an AND gate, etc.

Description of THRESHOLD The threshold, for a logic input or clock, is defined as an input that will be TRUE if it is ≥ THRESHOLD otherwise it is FALSE. Description of INITIAL OUTPUT The initial output of all logic tokens is zero volts.

15 SystemView Logic Library

Page 16: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Unused Inputs The complete behavior of tokens having disconnected inputs is not discussed here. It is recommended that a logic token have at least one input connection. In the case of a named token with multiple inputs, if at least one of the inputs is connected, the other disconnected inputs behave as if ZERO volts were applied to them. A Step Function Source token may be used as an input source, by setting the amplitude value to either a one or zero. (The DAC is an example of a named input token - D0, D1, D2, etc. The generic NAND gate is an example of an unnamed input token.)

Router Tokens The token library includes a Router token, located at the top of the token symbols. This token is smaller than others, and is passive, without parameters. A router is typically used to help define signal paths in a particular system, by stretching a signal path into an area on the workspace other than the default path. Router tokens help the user define the signal paths between tokens that have multiple input/output connections. In SystemView, the input/output of a router token is fed into the input/output of other tokens; the router is used to help prevent line crossing and subsequent confusion.

Bi-directional data flow, and 3-State (not supported) SystemView does not support bi-directional data flow, or the High Impedance Output State (3-State). For example, in a SPDT switch, a signal can only enter the input connection; it cannot exit the input connection. Another example is the 74299 Universal Shift Register, which is not supported because SystemView cannot preset (load) the register through the output connections. For the same reason, the register could not be instructed to shift left and then to shift right. Description of SET* The following applies to all tokens

16 SystemView Logic Library

Page 17: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Some logic tokens (Flip-Flops, Registers, Counters, etc.) have an input that sets all storage elements to a HIGH state. The SET* function is an active LOW. (Also, indicated with a line over the word SET.)

Logi

c

When a SET* occurs, it is treated as a direct input, with no setup time. All other inputs and clocks to a logic token are ignored. When a token is not being SET*, a HIGH state should be applied to the token, instead of being disconnected. Since SET* is treated as a direct input, its effect on the outputs follows the rules for PROPAGATION DELAY time as described above. Description of RESET*, MASTER RESET* (MR*), and CLEAR* Some logic tokens (Flip-Flops, Registers, Counters, etc.) have an input that clears all storage elements to a LOW state. The various names of this input may be referred to as RESET*, MASTER RESET* (MR*), or CLEAR*. All three types of these inputs follow the same rules, only the RESET* input will be described. Usually the RESET* function is an active LOW. (Also, indicated with a line over the word RESET.) When a RESET* occurs, it is treated as a direct input, with no setup time. All other inputs and clocks to a logic token are ignored. When RESET* is not being applied to a token, a HIGH state should be applied to the token, instead of being disconnected. Since RESET* is treated as a direct input, its effect on the outputs follows the rules for PROPAGATION DELAY time as described above. Occasionally, as in the 744040 Counter, RESET* will be an active HIGH. Description of Rise Time and Fall Time The delay value is entered as a time in seconds, and should be an integer multiple of the system sample time, dT. If the propagation delay is not an

17 SystemView Logic Library

Page 18: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

integer multiple of the systems dT, the value will be rounded up or down and may produce a delay that is different than expected. Three tokens have a combined Rise/Fall Time parameter. For these tokens, the one entry sets the value for both parameters. The tokens are the One Shot, the PROM, and the A/D Converter.

Four tokens have no Rise or Fall Time parameter; they are the D/A Converter, the Analog Comparator, the SPDT and the DPDT switches.

The Buffer Logic Token — Special Uses: In SystemView, Buffers are not required in the traditional sense. All logic tokens have infinite fan-out capability, and have no loading effects. A Buffer can be used to make a particular system more pleasing to look at by stretching a signal path into an area on the workspace other than the default path. A Buffer can be used to shift digital outputs to allow more readable waveforms in the PLOT window. In SystemView, an output of a token may not be fed directly back into the input of the same token. A buffer token may be used in this loop to allow a “direct feedback”, and can also be used as a one-bit Analog-to-Digital Converter (ADC), or a one-input Comparator.

18 SystemView Logic Library

Page 19: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

®

Logi

c

LOGIC LIBRARY TOKEN DESCRIPTIONS

19 SystemView Logic Library

Page 20: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Group:

AND gate AND Generic

Synopsis: This token implements the AND function. It may have two or more inputs.

See Also: none Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0

Token Inputs: Token Outputs: Multiple logic level signals Single logic level signal. Truth Table: Summarized in the discussion below. Discussion: All HIGH inputs give a HIGH output; any LOW input gives a LOW output.

LOGIC SYMBOL

20 SystemView Logic Library

Page 21: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation:Group:

NAND gate NAND Generic

Logi

c

Synopsis: This token implements the NAND function. It may have two or more inputs.

See Also: Schmitt-2 74132 2 - Input Schmitt NAND

Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: Multiple logic level signals Single logic level signal. Truth Table: See Discussion Discussion: Any LOW input gives a HIGH output, all HIGH inputs gives a LOW output.

LOGIC SYMBOL

21 SystemView Logic Library

Page 22: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Group:

OR gate OR Generic

Synopsis: This token implements the OR function. It may have two or more inputs.

See Also: None

Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: Multiple logic level signals Single logic level signal. Truth Table: Summarized in the discussion below.

Discussion: Any HIGH input gives a HIGH output, all LOW inputs gives a LOW output.

LOGIC SYMBOL

22 SystemView Logic Library

Page 23: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Group:

Exclusive OR gate XOR Generic

Logi

c Synopsis: This token implements the Exclusive OR function. See Also: None Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: Multiple logic level signals Single logic level signal. Truth Table: Summarized in the discussion below. Discussion: Two HIGHs in or two LOWs in gives a LOW output, while opposite inputs results in a HIGH output.

LOGIC SYMBOL

23 SystemView Logic Library

Page 24: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Group:

NOR gate NOR Generic

Synopsis: This token implements the NOR function. See Also: None Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: Multiple logic level signals Single logic level signal. Truth Table: Summarized in the discussion below. Discussion: Any HIGH input gives a LOW output, while all LOW inputs give a HIGH output.

LOGIC SYMBOL

24 SystemView Logic Library

Page 25: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Group: Type:

Buffer (non-inverting) Buffer Generic

Logi

c Synopsis: This token implements the buffer logic function.

See Also: None

Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .8 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: Single logic level input signal Single logic level output signal. Truth Table: Input Output L L H H

Discussion: None LOGIC SYMBOL

25 SystemView Logic Library

Page 26: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Group: Type:

Inverter Invert 7404

Synopsis: This token implements the inverter logic function.

See Also: Schmitt-1 7414 Schmitt Trigger Inverter

Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: Single logic level input signal Single logic level output signal. Truth Table: Input Output L H H L Discussion: None LOGIC SYMBOL

26 SystemView Logic Library

Page 27: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Group: Type:

Schmitt Trigger Inverter Schmitt-1 7414

Logi

c

Synopsis: This token implements the inverter logic function.

See Also: Invert 7404Inverter

Parameters: (default values shown) Parameter Value Parameter Value Parameter Value Gate Delay (seconds) 0 True Output (v) 1 Fall Time 0

Upper Threshold (v) .8 False Output (v) 0

Lower Threshold (v) .2 Rise Time (s): 0 Token Inputs: Token Outputs: Single logic level input signal Single logic level output signal. Truth Table: Input Output

L H H L Discussion: None

LOGIC SYMBOL

27 SystemView Logic Library

Page 28: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

D-Type Flip-Flop, positive-edge-triggered FF-D-1 7474

Synopsis: This token implements the D-Type positive-edge-triggered flop-flop logic function. See Also: FF-JK* 74109 J-K* Type Flip-Flop, positive-edge-triggered Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: One DATA signal Two logic signals: Q, Q*. One Clock signal One SET* signal One CLEAR* signal Truth Table:

28 SystemView Logic Library

Page 29: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Inputs Outputs

Set* Clear* Clock D Q Q* L H X X H L H L X X L H L L X X H? H?H H Λ H H L H H Λ L L H H H L X Q0 Q0*

Logi

c

H = HIGH level (steady state), L=LOW level (steady state) X = Irrelevant (any input, including transitions) Λ = Transition from LOW-to-HIGH level. Q0 = Q level before established steady state input conditions. Q0* =This condition is non-stable; that is, it will not persist when the preset and clear inputs return to their inactive HIGH level. Discussion: Each LOW-to-HIGH clock pulse shifts the data into Q that existed before the rising clock edge. The Set and Clear inputs are independent of the clock, and are accomplished by a LOW level at the respective input. The token contains only one Flip-Flop.

LOGIC SYMBOL

29 SystemView Logic Library

Page 30: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Group:

J-K* Type Flip-Flop, positive-edge-triggered FF-JK* 74109

Synopsis: This token implements the J, positive-edge-triggered flop-flop logic function, not the K type. See Also: FF-D-1 7474 D-Type Flip-Flop, positive-edge-triggered Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: One DATA signal: J, K* Two logic signals: Q, Q*. One Clock signal One SET* signal One CLEAR* signal

30 SystemView Logic Library

Page 31: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Truth Table: Inputs

Outputs

Set* Clear* Clock J K* Q Q*

L H X X X H L H L X X X L H L L X X X H? H?H H Λ L L L H H H Λ H L Toggle H H Λ L H Q0 Q0* H H Λ H H H L H H L X X Q0 Q0*

Logi

c

H = HIGH level (steady state), L=LOW level (steady state) X = Irrelevant (any input, including transitions) Λ = Transition from LOW-to-HIGH level. Q0 = Q level before the established steady state input conditions. H? = This condition is non-stable; that is, it will not persist when the preset and clear inputs return to their inactive HIGH level. Discussion: The Set and Clear inputs are independent of the clock and are accomplished by a LOW level at the respective input. The JK* design allows operation as a D flip-flop (7474) by connecting the D input signal to both J and K* inputs.

LOGIC SYMBOL

31 SystemView Logic Library

Page 32: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

Retriggerable Monostable Multivibrator One-shot 74123

Synopsis: This One-Shot features both a negative (A*), and a positive (B), transition input, either of which can be used as an inhibit input. Also included is a CLEAR* input that when taken LOW resets the one-shot. The one-shot can be triggered on the positive transition of the CLEAR while A is held LOW, and B is held HIGH. The output pulse width is determined by an entered parameter (time in seconds). See Also: None. Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Pulse Width (s): 0

True Output (v): 1 Rise/Fall Time (s): 0 Token Inputs: Token Outputs: Two Control signals: A*, B Two logic signals: Q, Q*. One CLEAR* signal

32 SystemView Logic Library

Page 33: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Truth Table:

Inputs

Outputs

A* B Clear Q Q* Function V H H P N Output Enable X L H L H Inhibit H X H L H Inhibit L Λ H P N Output Enable L H Λ P N Output Enable X X L L H Reset

Logi

c

H = HIGH Level (steady state) L = LOW Level (steady state) X = Irrelevant (any input, including transitions) Λ = Transition from LOW- to- HIGH level. V = Transition from HIGH-to-LOW level. P = Momentary POSITIVE going output pulse. N = Momentary NEGATIVE going output pulse.

LOGIC SYMBOL

Discussion: A LOW on the CLEAR* input, overrides all other inputs asynchronously, forcing the Q output LOW. Shown are three ways the one-shot is triggered.

33 SystemView Logic Library

Page 34: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Timing Diagrams for the 3 Modes of Operation of the One-Shot

34 SystemView Logic Library

Page 35: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

2-Input Schmitt Trigger NAND Schmitt-2 74132

Logi

c

Synopsis: This token implements the 2-Input Schmitt Trigger NAND Function. See Also: Generic NAND Parameters: (default values shown) Parameter Value Parameter Value Parameter Value

Gate Delay (seconds) 0 True Output (v) 1 Fall Time 0

Upper Threshold (v) .8 False Output (v) 0

Lower Threshold (v) .2 Rise Time (s): 0

Token Inputs: Token Outputs: Two logic signals One logic signal Truth Table: Summarized in the discussion below. Discussion: Any LOW in gives a HIGH output, and all HIGH inputs give a LOW output.

LOGIC SYMBOL

35 SystemView Logic Library

Page 36: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Group:

3-Line to 8-Line Decoder/Demultiplexer dMux-D-8 74138

Synopsis: When disabled, all outputs are HIGH. When enabled the 3 address inputs select which one of the 8 outputs will go LOW. To enable the selected output, two LOWs and one HIGH are required on the appropriate inputs. See Also: None Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Three Select signals: A0, A1, and A2

Two Negative Enable signals: E1* and E2* One Positive Enable signal: E3

Token Inputs: 8 Logic signals: Truth Table:

36 SystemView Logic Library

Page 37: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

FUNCTION TABLE Enable Inputs

Address Inputs

Outputs

E1* E2* E3 A2 A1 A0 00 01 02 03 04 05 06 07

H X X X X X H H H H H H H H

X H X X X X H H H H H H H H

X X L X X X H H H H H H H H

L L H L L L L H H H H H H H

L L H L L H H L H H H H H H

L L H L H L H H L H H H H H

L L H L H H H H H L H H H H

L L H H L L H H H H L H H H

L L H H L H H H H H H L H H

L L H H H L H H H H H H L H

L L H H H H H H H H H H H L

Logi

c

H = HIGH Level (steady state) L = LOW Level (steady state) X = Irrelevant (any input, including transitions) Discussion: None

37 SystemView Logic Library

Page 38: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

38 SystemView Logic Library

Page 39: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

8-Input Digital Multiplexor Mux-D-8 74151

Logi

c

Synopsis: The ENABLE* input is active LOW. When it is HIGH, the Z output is LOW and the Z* output is HIGH regardless of all other inputs. When the ENABLE* input is LOW, the 3 select inputs determine which one of the 8 inputs will be passed through to the output. See Also: None Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Eight Logic Inputs: I0, I1, I2, I3, I4, I5, I6, I7

Three Select Signals: S0, S1, S2

One Enable Signal: ENABLE* Token Outputs: Two Logic Signals: Z, Z*

39 SystemView Logic Library

Page 40: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Function Table

Enable Input

Select Inputs Outputs

ENABLE* S2 S1 S0 Z Z* H X X X L H L L L L I0 I0* L L L H I1 I1* L L H L I2 I2*

L L H H I3 I3*

L H L L I4 I4*

L H L H I5 I5* L H H L I6 I6* L H H H I7 I7*

H = HIGH Level (steady state)

L = LOW Level (steady state)

X = Irrelevant (any input, including transitions.

Discussion: None

Logic Symbol

40 SystemView Logic Library

Page 41: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

LOGIC DIAGRAM

Logi

c

41 SystemView Logic Library

Page 42: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Group:

4-Bit Synchronous Pre-settable Binary Counter Cntr-4 74161

Synopsis: This token implements the 74161 Synchronous Pre-settable 4-bit Binary Counter.

See Also: Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock

Cntr-12 744040 12-Stage Binary Counter

Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs Token Outputs PE* Parallel Enable Inputs Q0 - Q3 4 Parallel Outputs CEP Count Enable Parallel Input TC Terminal Count CET Count Enable Trickle Input CLK Clock Pulse Input MR* Master Reset P0 - P3 4 Parallel Inputs

42 SystemView Logic Library

Page 43: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Truth Table:

Logi

c CLK MR* CEP CET PE* Function X L X X X Clear

X H H L H Count & Rip. Cary. disabled

X H L H H Count disabled

X H L L H Count & Rip. Cary. disabled

Λ H X X L Load counter with data

Λ H H H H Increment counter

H = HIGH Level (steady state) L = LOW Level (steady state) X = Irrelevant (any input, including transitions) Λ = Transition from LOW-to- HIGH level. Discussion: None.

43 SystemView Logic Library

Page 44: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

44 SystemView Logic Library

Page 45: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

8-Bit Serial-in/Parallel-out Shift Register Shft-8in 74164

Logi

c

Synopsis: This token implements the shift register logic function. See Also: None Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Two logic signals A and B One clock signal CLK One Master Reset* MR* Token Outputs: 8 Logic signals: Q0, Q1, Q2, Q3, Q4, Q5, Q6, Q7

45 SystemView Logic Library

Page 46: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Truth Table: MR* CLK A B Q0 Q1 Q7

L X X X L L L

H Λ L L Q0 Q0 Q6H Λ L H Q0 Q0 Q6H Λ H L Q0 Q0 Q6

H Λ H H Q0 Q0 Q6 H = HIGH Level (steady state) L = LOW Level (steady state) X = Irrelevant (any input, including transitions) Λ = Transition from LOW- to- HIGH level. Q = Lower case numbers indicate the state of the referenced input or output one setup time (dt) prior to the LOW-to-HIGH clock transition. Discussion: Each LOW-to-HIGH clock pulse shifts data one place to the right and enters into Q0, the logical AND of the two data inputs A and B that existed before the rising clock edge. The two logic inputs allow for the control over data entering the register. A LOW on either or both of the inputs resets the 1st stage of the register to a LOW level at the next LOW-to-HIGH clock pulse. A LOW on the Master Reset* (MR*) input, overrides all other inputs asynchronously, thus forcing all outputs LOW.

46 SystemView Logic Library

Page 47: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

47 SystemView Logic Library

Logi

c

Page 48: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

Quad D-Type Flip-Flop FF-D-4 74175

Synopsis: This token implements 4 D-Type positive-edge triggered flop-flops with a common Clock and Master Reset*. See Also: FF-D-1 7474 D-Type Flip-Flop, positive-edge triggered Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: D0, D1, D2, D3 DATA inputs Q0, Q1, Q2, Q3

CLK Clock Q0*, Q1*, Q2*, Q3* MR* Master Reset*

48 SystemView Logic Library

Page 49: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Truth Table: Inputs Outputs

@ tn, MR* = H @ tn+1

Dn L L

L L H H H L

Logi

c

H = HIGH Level (steady state) L = LOW Level (steady state) tn = Irrelevant (any input, including transitions) tn = Bit time before Clock Pulse tn+1 = Bit time after Clock Pulse Discussion: Each LOW-to-HIGH clock pulse shifts the data at the inputs to the outputs that existed before the rising clock edge. The Master Reset* input is independent of the clock and is accomplished by a LOW level at the input.

49 SystemView Logic Library

Page 50: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

50 SystemView Logic Library

Page 51: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

4-Bit Synchronous Binary Up/Down Counter with one clock. Cntr-U/D 74191

Logi

c

Synopsis: This token implements the 74191 Synchronous Pre-settable 4-bit Binary Counter. See Also: Cntr-4 74161 4-Bit Synchronous Pre-settable

Binary Counter Cntr-12 744040 12-Stage Binary Counter Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: P0, P3 4 Parallel Inputs Q0, - Q3 4 Parallel outputs PL* Parallel Load (active LOW) TC Terminal Count output U*/D Up*/Down RC Ripple Clock output CE* Count Enable (active LOW) CLK Clock Pulse input

51 SystemView Logic Library

Page 52: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Mode Select Truth Table: PL* CE* U*/D CLK Mode

H L L Λ Count Up

H L H Λ Count Down

L X X X Preset (Asynchronous)

H H X X No Change (Hold)

H = HIGH Level (steady state) L = LOW Level (steady state) X = Irrelevant (any input, including transitions) Λ = Transition from LOW- to- HIGH level. Discussion: None.

52 SystemView Logic Library

Page 53: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

53 SystemView Logic Library

Logi

c

Page 54: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

8-Bit Identity Comparator (Equality Detector) DigCmp-8 74521

Synopsis: This token will compare two words of up to 8-bits each, and provides a LOW output when the words match bit for bit. See Also: None Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: 17 Logic Signals Single Logic Signal Truth Table:

Inputs

Output

ENA* A, B OA=B* L A = B L

L A* = B H = Equal

H A = B H *= Not equal

H A* = B H

Discussion: The active LOW enable input (ENA*) also serves as an expansion input.

54 SystemView Logic Library

Page 55: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

55 SystemView Logic Library

Logi

c

Page 56: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

8-Bit Transparent Latch with Q Output Latch-8T 74573

Synopsis: This token implements 8 Transparent Latches with a common LATCH ENABLE. Except for the 3-State output, this token implements the 74373/74573 Latch function. See Also: None Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: LE Latch Enable Q0 - Q7 8 Data Outputs Q0 - Q7 Data Inputs Truth Table:

LE Dn Qn Function

H L L Transparent to a HIGH H H H Transparent to a LOW L X Q0 Hold the previous output state

H = HIGH Level (steady state) L = LOW Level (steady state) X = Immaterial

56 SystemView Logic Library

Page 57: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Logi

c Discussion: None.

57 SystemView Logic Library

Page 58: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

12-Stage Binary Counter Cntr-12 744040

Synopsis: This token implements the 744040, 12-Stage Binary Counter.

See Also: Cntr-4 74161 4-Bit Synchronous Pre-settable Binary Counter Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One

Clock

Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0

Token Inputs: Token Outputs: CLK* Clock Pulse input Q0 - Q11 12 Data Outputs MR Master Reset Truth Table: CLK

* MR Function

X H Clear to all LOWs out V L Increment counter

H = HIGH Level (steady state) L = LOW Level (steady state) V = Transition from HIGH-to-LOW level.

58 SystemView Logic Library

Page 59: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Discussion: This part is unusual in that its CLK is an active HIGH-to-LOW going edge, and its Master Reset is an active HIGH state.

Logi

c

In SystemView, this 12-stage binary counter is modeled as a synchronous counter. All outputs change at the same time relative to the clock edge. The ripple effect (the output of each stage is the clock for the following stage) is not modeled.

59 SystemView Logic Library

Page 60: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

Phase-Frequency Detector Ph/Frq MC4044

Synopsis: This token implements the Motorola MC4044 Digital Phase-Frequency Detector. Both Detector #1 and Detector #2 are included. The Charge-Pump portion of the IC is not included. See Also: None. Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: R Reference Phase detector 1: U1 and D1V Variable Phase detector 2: U2 and D2 Discussion: There are three types of phase detectors. (1) Analog – multiplier or mixer. (2) Exclusive-OR (digital equivalent of the analog multiplier). (3) Digital phase-frequency detector (CD4046 or MC4044 type). The main advantage of the analog phase detector is its ability to recover a signal from a low signal-to-noise input. It will also lock in on harmonics of the desired input.

60 SystemView Logic Library

Page 61: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

For the noise free TTL signals found in a frequency synthesizer, the third type of phase detector is a better choice. The MC4044 responds only to the falling edges of the inputs eliminating the harmonics problem. This type of phase detector isn’t perfect. An extra or missing pulse generates a large error for a short time, and the polarity of its feedback connection is important. Lo

gic

Truth Table: Input State

R

V

U1

D1

U2

D2

1 0 0 X X 1 1 2 1 0 X X 0 1 3 1 1 X X 1 0 4 1 0 X X 0 1

5 0 0 X X 1 1 6 1 0 X X 0 1 7 0 0 0 1 1 1 8 1 0 0 1 0 1

9 0 0 0 1 1 1 10 0 1 0 1 1 1 11 0 0 1 1 1 1 12 0 1 1 1 1 1

13 0 0 1 0 1 1 14 0 1 1 0 1 1 15 0 0 1 0 1 1 16 1 0 1 0 0 1

17 0 0 1 1 1 1

61 SystemView Logic Library

Page 62: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

62 SystemView Logic Library

Page 63: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

Set/Reset Latch (Two NAND gates, Cross-coupled) Latch-SR Custom

Logi

c

Synopsis: This implements the Set/Reset Latch, from two cross-coupled NAND gates. See Also: None. Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds): 0 False Output (v): 0

Threshold (v): .5 Rise Time (s): 0

True Output (v): 1 Fall Time (s): 0 Token Inputs: Token Outputs: One SET* signal 2 Logic signals: Q and Q* One RESET* signal Truth Table:

Inputs Outputs

SET* RESET* Q Q* L L H H L H H L H L L H H H Q0 Q0

H = HIGH Level (steady state) L = LOW Level (steady state) Q = The level of Q before the SET* and RESET* input conditions were established. Discussion:

The default parameter of zero Output Delay may be used. When the Output Delay is not zero (one dT or more), the two outputs are delayed from each

other due to the propagation time of each gate. An exception is when both the SET* and the RESET* inputs arrive together and track each other in time.

63 SystemView Logic Library

Page 64: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

64 SystemView Logic Library

Page 65: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

2-Channel Analog Multiplexor (SPDT Analog Switch) SPDT Custom

Logi

c

Synopsis: The analog output of this SPDT switch is controlled by a digital input that has both threshold and delay parameters. See Also: DPDT Custom 2-Channel Analog Multiplexor/Demux (DPDT Analog Switch) Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds) 0 Threshold (v) .5 Token Inputs: Token Outputs: Two analog signals, Inputs 0 and 1 One analog signal, Output One digital signal, Control Truth Table: Control Output

H Input 1 L = LOW Level L Input 0 H = HIGH Level

Discussion: None

Logic Symbol

65 SystemView Logic Library

Page 66: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

2-Channel Analog Multiplexor/Demux (DPDT Analog Switch) DPDT Custom

Synopsis: The analog outputs of this DPDT switch are controlled by a digital input that has both threshold and delay parameters. See Also: SPDT Custom 2-Channel Analog Multiplexor (SPDT Analog Switch) Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds) 0 Threshold (v) .5 Token Inputs: Token Outputs: Four analog signals, Inputs 0 and 1 Two analog signals Output 0 Inputs 2 and 3 Output 1 One digital signal Control Truth Table: Control Output 0 Output 1

H Input 1 Input 3 L = LOW Level L Input 0 Input 2 H = HIGH Level

Logic Symbol

66 SystemView Logic Library

Page 67: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

n-Bit Analog to Digital Converter ADC Custom

Logi

c

Synopsis: This implements a FLASH ADC having 1 to 16 bits of digital output. See Also: Int/Dig Custom n-Bit Integer to Digital Converter Quantizer Found in the SystemView Function Library Sampler Found in the SystemView Function Library Parameters: (default values shown) Parameter Value Parameter Value Parameter Value

Gate Delay (seconds) 0 False Output (v) 0 Max Input (v) 1.27

Threshold (v) .5 No. Bits: 8 Rise/Fall Time (s): 00

True Output (v) 1 Min Input (v): -1.28

Token Inputs: Token Outputs: One analog signal. Up to 16 digital outputs. One Encode signal. (O0 to O15) Discussion: For analog inputs exceeding the Min/Max. Parameter value, the input is clamped at the Parameter value. The ENCODE input may be a square wave or momentary high going pulse. For either, the analog input is sampled at the LOW-to-HIGH transition of the ENCODE input. When the Output Delay is set to greater than 0, the delay should be integer number of sample time dT.

67 SystemView Logic Library

Page 68: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

n-Bit Integer to Digital Converter Int/Dig Custom

Synopsis: This token implements an n-Bit Integer to Digital Converter that has 1 to 16 bits of 2’s complement digital output. The conversion is immediate, at the incoming clock rate. See Also: ADC Custom n-Bit Analog to Digital Converter Quantizer Found in the SystemView Function Library Sampler Found in the SystemView Function Library Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds) 0 Number of bits) 8

True Output (v) 1 Rise Time (s): 0

False Output (v) 0 Fall Time (s): 0 Token Inputs: Token Outputs: One integer signal. Up to 16 digital outputs, in 2’s complement. (From another token or a file.) (O0 to O15)

68 SystemView Logic Library

Page 69: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Discussion: For integer inputs exceeding the (2∧n-bits)-1 or ((2∧n-bits) value, the input is clamped. When the Output Delay is set to values greater than zero, the delay should be integer number of the system’s sample time, dT.

A 3-bit converter example: Input MSB LSB

2’s complement output 3 0 1 1 2 0 1 0 1 0 0 1 0 0 0 0 -1 1 1 1 -2 1 1 0 -3 1 0 1 -4 1 0 0

Logi

c

69 SystemView Logic Library

Page 70: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

n-Bit Digital to Analog Converter DAC Custom

Synopsis: This token implements an n-Bit Digital to Analog Converter that has 1 to 16 bits of digital input. The conversion is immediate, at the incoming clock rate. See Also: None Parameters: (default values shown) Parameter Value Parameter Value

Gate Delay (seconds) 0 Min. Output (v) -1.28

Threshold (v) .5 Max. Output (v) 1.27

Number of bits) 8 Token Inputs: Token Outputs: Up to 16 digital inputs. (D0 to D15) One analog signal. May be either 2’s Complement or Unsigned Integer. Discussion: None

70 SystemView Logic Library

Page 71: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

A 3-bit converter example:

MSB LSB Output (v)

2’s complement input 0 1 1 0.750 (3/4) Maximum Output: 0.75 0 1 0 0.500 (2/4) Minimum Input -1.00 0 0 1 0.250 (1/4) 0 0 0 0 1 1 1 -0.250 (-1/4) 1 1 0 -0.500 (-2/4) 1 0 1 -0.750 (-3/4) 1 0 0 -1.000 (-4/4)

Logi

c

71 SystemView Logic Library

Page 72: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

Comparator (Differential Analog Input, Q and Q* Output) AnaCmp Custom

Synopsis: This token implements a two-input analog comparator. See Also: None Parameters: (default values shown) Parameter Value

Gate Delay (seconds) 0

True Output (v) 1

False Output (v) 0 Token Inputs: Token Outputs: Two analog inputs, +IN and -IN Two digital outputs, Q and Q* Logic Function: Outputs

Inputs

Q Q*

+IN = >

-IN H L

+IN < -IN L H Discussion: None Logic Symbol

72 SystemView Logic Library

Page 73: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Token Name: Abbreviation: Type:

Programmable Read Only Memory (8 x 8) (No 3-state) PROM Custom

Logi

c

Synopsis: Three address inputs select which one of eight; 8-bit words will appear at the output of the PROM. The contents of the PROM are entered as 4 parameters; each parameter specifies the data at two address locations. See Also: None Parameters: (default values shown) Parameter Value Parameter Value Parameter Value

Gate Delay (seconds)

0 False Output (v) 0 D-2 (Hex) 0

Threshold (v) .5 D-0 (Hex) 0 D-3 (Hex) 0

True Output (v) 1 D-1 (Hex) 0 Rise/Fall Time(s): 0

Token Inputs: Three Address signals: A0 A1 A2

One ENABLE* signal ENA* Token Outputs 8 Logic Signals O0 O1 O1 O3 O4 O5 O6 O7

LSB MSB

73 SystemView Logic Library

Page 74: Token Name: Bitwise andliterature.cdn.keysight.com/litweb/pdf/systemvue2006/Logic.pdf · Cntr-U/D 74191 4-Bit Synchronous Binary Up/Down Counter, with One Clock Cntr-12 744040 12-Stage

Programmable Read Only Memory Discussion: An example PROM programming is shown below.

Address O7 O0 0 1000 1111 208F (Parameter Bytes 1,0)

1 0010 0000

2 0010 0001 4321 (Parameter Bytes 3,2)

3 0100 0011

4 0110 0101 8765 (Parameter Bytes 5,4)

5 1000 0111

6 0000 0000 FF00 (Parameter Bytes 7,6)

7 1111 1111 When Hexadecimal data is entered into a Parameter Field, the 4-digit Hex number does not require a prefix. Example: 208F When the PROM is ENABLED (ENA* = LOW), the PROM operates

normally. When the PROM is DISABLED (ENA* = HIGH), the PROM puts out all

Zeros).

Logic Symbol

74 SystemView Logic Library