
1LogicWorks 5INTERACTIVE CIRCUIT DESIGN SOFTWAREREFERENCE MANUALCapilano Computing Systems Ltd.North Vancouver, CanadaLW Reference.bk Page 1 Monday,
xDisplay Off 230Normal Size 230Enlarge 230Reduce 230Timing Options... 230Timing Label Popup Menu Commands 232Get Info... 232Go To Schema
88 Chapter 5—The Timing and Simulator ToolsSimulator Toolbar ControlsThe buttons in the Simulator toolbar control the simulator as follows:Trigger...
The Simulator Toolbar 89Signal Value Condition ControlsThe controls related to the signal condition are summarized in the follow-ing table:Time Condit
90 Chapter 5—The Timing and Simulator ToolsTiming Window EditingRight-clicking in the trace area of the Timing window will dispaly a pop-upmenu. It p
Timing Window Editing 91 To set the selection interval, click and hold down the mouse button in the time scale at either end of the desired interval.
92 Chapter 5—The Timing and Simulator ToolsNOTE: The selection operations in the Timing window have no effect on selectionsin the Schematic window.Se
Timing Window Editing 93DeselectingClicking anywhere in the trace area that is not in a trace will deselect thelabels and selection interval.Clicking
94 Chapter 5—The Timing and Simulator ToolsLW Reference.bk Page 94 Monday, December 15, 2003 5:59 PM
956Primitive DevicesEvery device on a LogicWorks schematic has a characteristic known as itsprimitive type. The primitive type is set when the part en
96 Chapter 6—Primitive DevicesSchematic and Pseudo–Device Primitive TypesA small number of primitive types are used to distinguish the types of sym-b
Simulation Primitive Types 97Simulation Primitive TypesIn LogicWorks primitive device types, the function of each pin is deter-mined by its type (i.e.
xi[System Font Translations] Section 245[Drawing] Section 245Initial Directory Settings 245Font Settings 245Color Settings 246Default Design
98 Chapter 6—Primitive DevicesThe following table lists the available primitives and their functions.Primitive Type Description Related Type Max. # I
Simulation Primitive Types 99The following table lists devices supported primarily for compatibility witholder versions of LogicWorks. We do not recom
100 Chapter 6—Primitive DevicesPin InversionIn addition to the pin function options described in this chapter, any pin onany device can be inverted b
Gates and Buffers 101Gate DefinitionThe gate types, except NOT, can be created with any number of inputsfrom 0 to 799. They are defined as shown in th
102 Chapter 6—Primitive DevicesPin InversionsThe logic of any pin on any device can be inverted by placing a non–emptyvalue in the Invert.Pin attribu
Gates and Buffers 103 Close the PartType Configuration dialog and save the part to a library in the usual manner.NOTE: 1) The logical inversion of th
104 Chapter 6—Primitive DevicesThree–State BufferThe three–state buffer has N data inputs, N data outputs, and an optionalactive–low enable input. If
Gates and Buffers 105Making Non–Inverting BuffersThe Buffer primitive type can also be used to make a non–invertingbuffer—that is, a buffer with its o
106 Chapter 6—Primitive DevicesLogic DevicesMultiplexerThis is a device that selects one of N data inputs and routes it to a corre-sponding output li
Logic Devices 107Multiplexer Pin VariationsA number of variations in multiplexer logic are possible with this primitivetype, depending on which input
xiiLW Reference.bk Page xii Monday, December 15, 2003 5:59 PM
108 Chapter 6—Primitive DevicesDecoderThe Decoder (active low) primitive device activates one of N outputsdepending on M select inputs, as follows (X
Logic Devices 109Adder/IncrementerThe N–bit Adder accepts one or two N–bit input arguments and (option-ally) a 1–bit carry, and outputs their N–bit su
110 Chapter 6—Primitive DevicesSubtractor/DecrementerThe Subtractor primitive type behaves identically to the Adder type exceptthat a subtract or dec
Logic Devices 111Flip–Flop InitializationNote that when a flip–flop is first placed in the schematic, it is in an unknownstate and must be correctly i
112 Chapter 6—Primitive DevicesJK Flip–FlopThe JK flip–flop is negative-edge–triggered and obeys the following func-tion table:In the above table, X
Logic Devices 113The following table illustrates some pin variations available for the Regis-ter primitive type:CounterThis device implements an N–bit
114 Chapter 6—Primitive DevicesCascading Multiple CountersCounter primitives with the optional Enable and Carry Out pins can be cas-caded to form lar
Logic Devices 115NOTE: CO can be independently included or omitted in any of the abovevariations.Optional Inputs Including Load Inputs Excluding Load
116 Chapter 6—Primitive DevicesShift RegisterThe shift register is an N–bit, positive-edge–triggered device with serial oroptional parallel load. Whe
Logic Devices 117Creating Synchronized or Offset ClocksWhen the Clear Simulation operation is selected (via the Reset button onthe Simulator Palette),
11IntroductionWelcome to the world of electronics design using LogicWorks! Thepurpose of this tutorial/manual is to get you acquainted as quickly aspo
118 Chapter 6—Primitive DevicesOne ShotThe One Shot is used to generate an output pulse of a fixed length when itis triggered by the rising edge of t
I/O Simulation Pseudo–Devices 119SPST SwitchThe SPST switch device simulates the actions of a simple open/closedswitch in a digital circuit. When a sw
120 Chapter 6—Primitive DevicesHex KeyboardThe hex keyboard outputs the binary equivalent of a hexadecimal digit onfour binary lines. A “key” is pres
1217RAMs and Programmable DevicesThis chapter provides details on creating and using RAM (Random AccessMemory), PROM (Programmable Read-Only Memory) a
122 Chapter 7—RAMs and Programmable DevicesRAM Device CharacteristicsThe RAM primitive device supports the direct simulation of static RandomAccess M
The RAM, PROM and PLA Primitive Types 123RAM Pin Delay and Inversion OptionsThe normal options for pin delay (using the Delay.Pin attribute field) and
124 Chapter 7—RAMs and Programmable Devices Total PROM memory space < 231 bytes. Sufficient program memory free to allocate a block twice the si
Using the PROM/RAM/PLA Wizard 125PLA primitive type—for example, a PAL10L8-type device. However,most PLDs are simulated by creating a subcircuit conta
126 Chapter 7—RAMs and Programmable Devices Enter the desired number of inputs and outputs and select the appropriate options. For more information
Using the PROM/RAM/PLA Wizard 127Creating a PROM Device from a Data FileThis section describes the steps necessary to create a PROM device andread its
2 Chapter 1—Introductionbe read by DesignWorks. The reverse, however, is not true due to the additional structural features in DesignWorks.Schematic
128 Chapter 7—RAMs and Programmable Devices Enter the desired number of inputs and outputs and select the “Intel-format hex” or “raw hex” data-entry
Using the PROM/RAM/PLA Wizard 129 Each string of hexadecimal characters (0–9, a–f, A–F) specifies one word in the array. Words are entered starting w
130 Chapter 7—RAMs and Programmable Devices Enter the hex data in the text box provided, using the format described earlier. The Format Help button
Using the PROM/RAM/PLA Wizard 131 Select the PLA device type and click the Next button: Enter the desired number of inputs and outputs and select th
132 Chapter 7—RAMs and Programmable DevicesCreating a PLA Device with Manual Data EntryThis section describes the steps necessary to create a PLA dev
Editing RAM, PROM, and PLA Devices 133 Enter the desired number of inputs and outputs and select the “Enter product term data manually” data entry me
134 Chapter 7—RAMs and Programmable DevicesIMPORTANT: The RAM, PROM, or PLA device definition contains structure information thatcannot be edited aft
1358Device Symbol EditingDevice symbols are an important resource in your design creation process.Whether you primarily use the symbols provided with
136 Chapter 8—Device Symbol Editing A polygon outlining the symbol, used for highlighting and erasing the symbol. An optional internal circuit defi
Working With Symbol Libraries 137Automatically Opening Libraries at StartupLibraries can be opened automatically when the program starts by any of the
LogicWorks 5 Description 3Simulation Features Full digital simulation capability. Circuit output may be displayed in the form of timing diagrams or o
138 Chapter 8—Device Symbol Editing Make sure the source and destination libraries are open in the Parts palette. If not, follow the steps under “M
Working With Symbol Libraries 139 Click the Delete button. You will be prompted to confirm the operation before the items are permanently deleted.WA
140 Chapter 8—Device Symbol Editing Click the Rename button. You will be prompted for each selected item to enter a new name. Names must be unique
Working With Symbol Libraries 141 Select the Lib Maintenance command. Select the library to be compacted as the Source Lib. Select the new, empty l
142 Chapter 8—Device Symbol EditingThis table summarizes the options available.Editing Device SymbolsSymbols are created and edited using the device
Editing Device Symbols 143Creating a New Part from Scratch—Basic ProcedureTo create a new device symbol with no initial attribute settings or graphics
144 Chapter 8—Device Symbol EditingThis toolbar provides two types of pins: The first group allows placement of normal pins (i.e. not bus pins). Th
Editing Device Symbols 145pin list has been added for each pin.For this example we want to name the pins “Source”, “Gate”, and “Drain”. In addition w
146 Chapter 8—Device Symbol EditingSet the pin name and number for the other pins in a similar fashion.NOTE: Some netlist formats, notably SPICE, req
Editing Device Symbols 147IMPORTANT: The procedure given here allows you to produce a symbol with only thesimplest graphical and netlisting requiremen
4 Chapter 1—IntroductionNew Features in Version 4 Completely new user interface with extensive new on-screen tools and dockable windows. PLA/PROM/R
148 Chapter 8—Device Symbol Editingsave or discard the changes.Saving an Edited Part Back to its Original LibraryThe Save command saves the contents
Editing Device Symbols 149so. When installing future program upgrades, these libraries may be replacedautomatically, erasing any changes you have mad
150 Chapter 8—Device Symbol EditingThe Add Pins command displays the following box:Pin names, and optionally their pin numbers, may be entered into t
Editing Device Symbols 151names A0 through A7. These pin names were also given pin numbers. Thepin numbers 1 2 3 4 11 12 13 and 14 were assigned. I
152 Chapter 8—Device Symbol EditingDeleting PinsIn a device symbol editor window, pins exist both in the graphic representation of the symbol and in
Editing Device Symbols 153dow.Attributes defined while in the device symbol editor will be associated with the part in the library. These will become
154 Chapter 8—Device Symbol EditingTIP: You can set the default visibility independently for each attribute fielddefined in a design. This is done b
Editing Symbol Graphics 155 Holding the key down forces the object to be vertical, horizontal, or the same on both axes. In other words, if you ar
156 Chapter 8—Device Symbol Editingchange its characteristics, or you can select Properties first to set the default set-tings and then draw the item
Editing Symbol Graphics 157by one of these methods: Click on the object to select it, then select the desired command from theRotate/Flip submenu in
Copyright and Trademarks 5Copyright and TrademarksThe LogicWorks software and manual are copyrighted products. The soft-ware license you have purchase
158 Chapter 8—Device Symbol EditingPlacing Pins on a SymbolThe toolbar contains the tools needed to place connection pins on the symbol. The first g
Editing Symbol Graphics 159The Symbol Editor’s Pin ListThe pin list box contains a scrollable list of the pin names associated with this device. This
160 Chapter 8—Device Symbol EditingShowing, Hiding, Editing or Moving a Pin’s NameBy default, when you place a pin on the symbol, the name of the pin
Editing Symbol Graphics 161moved and set as desired. You then “link” it back to the pin by right-clicking on the text item and selecting the Link to
162 Chapter 8—Device Symbol EditingTo add a bus pin to a symbol you need to perform two steps: Use the Add Pins command to add the bus pin to the pi
Saving Frequently-Used Graphics and Pins 163Hiding the Symbol Gallery WindowTo hide the Symbol Gallery panel, select the Symbol Gallery item in the Vi
164 Chapter 8—Device Symbol Editingpage 251 for information on how to locate this item in the initialization file.Specifying a Symbol Gallery FileThe
Saving Frequently-Used Graphics and Pins 165TIP: You can also set the pin name, number and function by right-clickingon the pin graphic or on the name
166 Chapter 8—Device Symbol Editingas desired.c See “Showing, Hiding, Editing or Moving a Pin’s Name” on page 160 formore information.Reordering Pins
Saving Frequently-Used Graphics and Pins 167Options menu.This dialog allows you to select among several different options:Create a subcircuit symbol,
6 Chapter 1—IntroductionLW Reference.bk Page 6 Monday, December 15, 2003 5:59 PM
168 Chapter 8—Device Symbol EditingThere are some subcircuit options in the lower part of the dialog:Create a subcircuit symbol and select an open ci
Saving Frequently-Used Graphics and Pins 169Drawing the Graphics and Placing Pins on the Subcircuit SymbolThe graphic image of the part may be drawn a
170 Chapter 8—Device Symbol Editingof the symbol.Auto-creating Rectangular SymbolsThe Auto Create Symbol command will create standard rectangular sym
Saving Frequently-Used Graphics and Pins 171 Items in a list can be separated by blanks or commas. Placing an extracommas between two items adds ext
172 Chapter 8—Device Symbol Editingfrom the circuit definition.Creating a BreakoutA breakout is a special device that allows signals to be associated
Saving Frequently-Used Graphics and Pins 173SimulatorThe type of the pin must be set correctly if simulations are to make sense. For signal sources l
174 Chapter 8—Device Symbol Editingnot important, but the internal pins must have the same name. Once the port connector is placed in a circuit its
Saving Frequently-Used Graphics and Pins 175signal is an input to the block and that MEMW/ and MEMR/ are outputs: Select the first internal pin name
176 Chapter 8—Device Symbol EditingCreating Special-Purpose SymbolsAssigning a Primitive TypeNOTE: The Primitive type settings should only be used wi
1779Menu ReferenceThis chapter provides a complete guide to individual menu commands inLogicWorks.In order to give you rapid access to commands, Logic
72Schematic EditingThis chapter describes the elements of a LogicWorks circuit design and theprocedures you can use to create one.Design StructureWhat
178 Chapter 9—Menu Reference Design—This choice creates a new, empty circuit window. This can be used to create an entirely new design, to create a
LogicWorks File Menu Commands 179CloseClose closes the current document (text, design, or symbol). If the docu-ment is a design, all the Schematic win
180 Chapter 9—Menu ReferencePrint SetupPresents the Print Setup dialog, which allows you to choose the size andorientation of printer paper you wish
Edit Menu Commands 181RedoThis command redoes the last Undone command. It will only be enabledimmediately after an Undo operation. Any other editing o
182 Chapter 9—Menu ReferenceIMPORTANT: Circuit structural information on the Clipboard is discarded when you quit theprogram. Only picture and text d
Edit Menu Commands 183was pasted, the points marked X would be checked for connection to theexisting circuit.NOTE: Connection “hit testing” can be dis
184 Chapter 9—Menu ReferenceDeleteRemoves the currently selected objects from the circuit. Pressing the or key on the keyboard is equivalent to Del
Edit Menu Commands 185Shortcuts to PointSince you will frequently want to return to Point mode, three shortcuts areprovided for this purpose: Pressin
186 Chapter 9—Menu Reference Any of the above items can be edited by clicking anywhere in the existing object. The blinking insertion point will app
View Menu Commands 187drawing. To terminate signal drawing mode, double-click the left mousebutton, then press the spacebar or click anywhere in the m
2 Chapter —Copyright 2003 by Capilano Computing Systems Ltd.All rights reserved.LogicWorks is a trademark of Capilano Computing Systems Ltd.LW Refere
8 Chapter 2—Schematic Editingmemory in your computer and increasing the memory allocated to the program will increase the size of the designs you can
188 Chapter 9—Menu ReferenceNormal SizeWhen a circuit window is topmost, Normal Size sets the screen scale to100%. Reduce To Fit Reduce to Fit sets t
Schematic Menu Commands 189played area. The circuit position and scaling will be adjusted to display theindicated area.Zooming OutClicking and draggin
190 Chapter 9—Menu ReferenceThe orientation can also be changed by: Clicking directly on the orientation tools in the toolbar, or Using the arrow k
Schematic Menu Commands 191The following items of information are shown. Counts apply only to thetopmost circuit level in the design, regardless of an
192 Chapter 9—Menu ReferenceGeneral Device Info BoxWhen a normal device symbol is selected on the schematic (i.e., not apseudo-device), then the foll
Schematic Menu Commands 193NOTE: Clicking Cancel in the Device Info dialog does not cancel any changes thatyou may have made in other windows that you
194 Chapter 9—Menu ReferenceThe following table describes the information and options presented in thisbox:General Pin Info BoxIf the item selected i
Schematic Menu Commands 195The following information and options are available:Pseudo-Device Pin Info BoxIf a pseudo-device pin is selected, the Get I
196 Chapter 9—Menu ReferenceThe following table summarizes the options available in this box. See more information on text objects in “Text Objects”
Schematic Menu Commands 197 See more information on text objects in “Sheet Borders and Title Blocks” on page 32.New Breakout...The New Breakout comma
Design Operations 9connector or bus breakout which is used for schematic notation purposes. A pin is a connection point on a device. A pin is not an
198 Chapter 9—Menu Reference Blanks or commas can be used to separate individual names in this list, therefore bussed signals cannot have names cont
Schematic Menu Commands 199D0..15 AS* UDS* LDS*CLK FC0..3 MEMOP BRQ0..2Pin SpacingThe number in the Pin spacing box will be the spacing between signal
200 Chapter 9—Menu Reference See more information on internal circuits and type definitions in Chapter 6, Advanced Schematic Editing.Attach Subcircu
Schematic Menu Commands 201ing and has been modified. When you close the internal circuit, you will beasked if you wish to update other devices of the
202 Chapter 9—Menu ReferenceDesign Preferences...The Design Preferences command is used to set a number of options whichhave global effect throughout
Schematic Menu Commands 203Print Background GridWhen this option is enabled, the background grid lines will be drawn inprinted output.Show Default Bor
204 Chapter 9—Menu ReferencePin Text OptionsThe Pin Text... button displays the same text specification box shown abovefor Attribute Text. Any change
Simulation Menu Commands 205RunThis command tells the simulation to proceed as fast as possible.Other Simulation SpeedsThe intermediate speed settings
206 Chapter 9—Menu ReferenceNOTE: 1) You cannot set the device delay of a subcircuit device since its generaldelay characteristics are determined by
Simulation Menu Commands 207 See Chapter 7, Simulation, for more information on the meaning and usage of device and pin delays.Clock Parameters BoxWh
10 Chapter 2—Schematic EditingCreating a New CircuitTo create a new design, click on the New Document button ( ) in thetoolbar, or select the New ite
208 Chapter 9—Menu Reference See Chapter 9, Primitive Devices, for more information on how you can set the startup delay and initial value of a Cloc
Simulation Menu Commands 209Add to TimingThis command adds all selected signals in the current circuit to the Timingdisplay. If any selected items are
210 Chapter 9—Menu ReferenceThe controls in the box are summarized in the following table. See more information on stuck signal values in Chapter 7,
LogicWorks Help Menu 211NOTE: This command does not display or remove any traces in the Timingwindow. It only reads signal event data and associates i
212 Chapter 9—Menu ReferenceLogicWorks OnlineA number of resources are available on the World Wide Web for Logic-Works users, including technical not
Device Pop-Up Menu 213Rotate and Flip CommandsThese four commands are equivalent to deleting the selected device andreplacing it in the selected new o
214 Chapter 9—Menu ReferenceThe Clipboard is not affected.Signal Pop-Up MenuA signal pop-up menu is displayed by using the right mouse button toselec
Signal Pop-Up Menu 215Apply to all connected signalsThis option allows you to choose whether the name change applies only tothe selected signal segmen
216 Chapter 9—Menu ReferencePin Pop-Up MenuA pin pop-up menu is displayed by using the right mouse button to selectany device pin.NOTE: Since an unco
Pin Pop-Up Menu 217Attributes...This command displays the standard Attributes dialog for fields associatedwith the selected pin.The Prev Pin and Next
The Clipboard 11Auto-ScrollingWhenever the mouse button is depressed and moves close to the edge of aSchematic window, the window automatically scroll
218 Chapter 9—Menu Referencesignal can only connect to one pin and vice versa). The signal list will beupdated to show the new relationship.The Join
Circuit Pop-Up Menu 219The order of entry will affect the order in which the signals appear in thelist, but is otherwise not significant. For a comple
220 Chapter 9—Menu ReferenceCircuit Info...This command is equivalent to the Get Info command in the Schematicmenu while no items are selected in the
Attribute Pop-Up Menu 221The selected point on the text is considered to be the reference point for thegiven attribute block. This point will be kept
222 Chapter 9—Menu ReferenceLibrary Manager SubmenuThis menu can be displayed by clicking the right mouse button in the PartsPalette.Edit PartThe Edi
Library Manager Submenu 223Close Lib...Close Lib... allows you to close an open library and remove it from theParts Palette. Any information required
224 Chapter 9—Menu ReferenceLibrary CompactionWhen parts are deleted from a library, the free space in the file is not auto-matically recovered. In m
Device Editor Objects Menu Commands 225Device Editor Objects Menu CommandsBring To Front / Send To BackThese commands are used to set the front-to-bac
226 Chapter 9—Menu ReferenceDevice Editor Options Menu CommandsGrids...This command allows the user to specify the visible grid spacing, and thesnap-
Device Editor Options Menu Commands 227Add PinsThis command brings up the Add Pins palette allowing you to add multiplepins to the DevEditor’s pin lis
12 Chapter 2—Schematic EditingUsing Clipboard Data From Other ProgramsWhen you start up LogicWorks, the Clipboard may contain text or graphi-cal info
228 Chapter 9—Menu ReferenceText Font...This menu command displays a dialog box allowing the font, style, andsize for the selected text objects to be
Timing Trace Pop-up Menu Commands 229PasteThe Paste command pastes the Timing text data from the Clipboard ontothe selected area of the Timing window.
230 Chapter 9—Menu ReferenceDisplay OnThis command enables updating of the Timing display.Display OffThis command disables updating of the Timing dis
Timing Trace Pop-up Menu Commands 231Timing Data RetentionThese options allow you to determine how much signal-event data isretained in memory when a
232 Chapter 9—Menu ReferenceTiming Label Popup Menu CommandsGet Info...For groups, this command displays a dialog allowing reordering of the sig-nals
233Appendix A—Primitive Device Pin SummaryThis appendix lists all the primitive types used in LogicWorks and theallowable numbers and types of pins on
234 Appendix A— Primitive Device Pin SummaryPseudo-Device Primitive TypesIMPORTANT: The pin requirements listed in the following table must be followe
Simulation Primitive Types 235Simulation Primitive Types For more information on the simulation primitive types, see “Primitive Devices” on page 95.N
236 Appendix A— Primitive Device Pin SummaryMultiplexer L select inputsM output bits 1 N inputs/ output2L-1 < N L( i.e., the number of inputs per o
Simulation Primitive Types 237D Flip-Flop with EnableMust have at least D and CLK inputs and Q outputS—set inD—D inC—clock inE—enable inR—reset inQ—ou
Selecting Circuit Objects 13Selecting Circuit ObjectsMany LogicWorks commands, such as Get Info, Cut, Copy, etc., operateon the currently selected obj
238 Appendix A— Primitive Device Pin SummaryShift Register N output bitsN input bits1 IN0..INN-1—inCLK—inLD—inCIN—inOUT0..OUTN-1—out1) IN0..INN-1 OUT0
239Appendix B—Device Pin TypesEvery device pin has a characteristic known as its pin type. The pin type isset when the part entry in the library is cr
240 Appendix B— Device Pin TypesPin Types TableThe following table lists the function of each of the pin types available inLogicWorks. The Output Valu
Device Pin Type and Simulator Efficiency 241Device Pin Type and Simulator EfficiencyIncorrect device pin type settings can have a major impact on simu
242 Appendix B— Device Pin Typesdevice. On subcircuit devices, the simulator must make several passesthrough all circuit levels that may affect the va
243Appendix C—Initialization File Format (for Windows)In Windows, you can specify startup options for LogicWorks by creatingor modifying an external t
244 Appendix C— Initialization File Format (for Windows)Default System FontFont = “font_name” font_size [BOLD ITALIC]This statement specifies the defa
[System Font Translations] Section 245[System Font Translations] SectionOld_Font_Name = Replacement_Font_NameFont translations are used when the fonts
246 Appendix C— Initialization File Format (for Windows)optional style keywords which may be applied, BOLD and ITALIC. Thepossible items which may hav
[Drawing] Section 247Disabling Untitled Design at StartupThis statement controls the creation of a new untitled design when the pro-gram is first star
14 Chapter 2—Schematic EditingSelecting a PinA pin is selected by clicking on the pin line close to the device. NOTE: Since an unconnected device pin
248 Appendix C— Initialization File Format (for Windows)Pin SpacingPINSPACE = n;The PINSPACE keyword is used to specify the spacing between adjacentpi
[Libraries] Section 249Undo LevelsThe UNDO keyword indicates the number of levels of Undo which shouldbe maintained. A value of zero means that there
250 Appendix C— Initialization File Format (for Windows)This specifies the folder/directory that will contain the libraries specified infollowing LIBR
Section [DevEditor] 251There are two optional style keywords which may be applied, “BOLD” and“ITALIC”. Grid SettingsGridColor =RED, GREEN, BLUE, CYAN
252 Appendix C— Initialization File Format (for Windows)[Timing] SectionThe following settings allow the user to control the appearance of all thetext
253[DevEditor] SectionThe options below allow you to customize the look and feel of theDevEditor tool.Default FontFont = “font_name” font_size [BOLD I
254 Appendix C— Initialization File Format (for Windows)LW Reference.bk Page 254 Monday, December 15, 2003 5:59 PM
[DevEditor] Section 255Appendix D—Timing Text Data FormatLW Reference.bk Page 255 Monday, December 15, 2003 5:59 PM
256 Appendix D— Timing Text Data FormatWhen you Copy or Cut a selected area in the Timing window, two types ofdata are placed on the system Clipboard:
Data Line Format 257The header always contains the command “$T” (denoting a time column),followed by a tab character, followed by “$D” (denoting a del
Classes of Devices 15will follow the mouse movement. Any object that intersects this rectangle when the button is released will be selected. A group
258 Chapter — The delay from this step to the next step. This is redundant information, since it can be derived from the times in the first column.
Timing Text Example 25987442 10 E 0 0 087452 1 E 1 0 187453 9 D 1 0 187462 10 D 1 0 087472 1 D 1 0 187473 9 B 1 0 187482 10 B 1 0 087492 1 B 1 0 18749
260 Chapter —LW Reference.bk Page 260 Monday, December 15, 2003 5:59 PM
261AAdd as Group command, 85, 209Add Auto command, 209Add Bus Sigs button, 218Add Pins command 150, 159, 162Add Pins command, 227Add to Timing command
262conflict logic state, 61, 64–65, 67, 72, 75, 100, 119connectorspower and ground, 42signal connector, 42connectors, 43Copy commandlibrary parts, 224
263EEdit command, 220Edit Part command 147Enlarge Command, 247Enlarge command, 187–188, 219eventsclearing, 74saving to file, 211text format, 257events
264libraries 135compaction, 224creating 136creating, 16, 222maintenance 137maintenance, 223shortcut 137Libraries sub-menu, 222libraries, 16, 249Librar
265adding to symbol 143, 150, 158attributes, 195bus internal 151bus internal, 38, 217bus pins 144, 161bus pins, 9, 35, 38, 41, 54, 194, 203, 217, 240d
266Save command 148Save Design As command, 179Save Design command, 179Save Timing Text As command, 211Save to Lib command 141Schematic menu, 189screen
267clocks, 117synchronous counter, See counter deviceTtab key, 20, 26technical support, 1textcreating, 31editing, 31, 185pasting, 181selecting, 13styl
16 Chapter 2—Schematic Editingfunction. For example, the analog components provided in the discrete.clf library fall into this category. Subcircuit
Placing and Editing Devices 17 See Chapter 11, Device Symbol Editing, for more information.Placing and Editing DevicesSelecting a Device From a Libra
iii1 Introduction 1Support on the Internet 1LogicWorks 5 Description 1General Features 1Schematic Drawing Features 2Simulation Features 3New
18 Chapter 2—Schematic EditingAfter either of these operations, the cursor will be replaced by a flickeringimage of the selected device. This copy ca
Drawing Signals 19Drawing SignalsSignal lines are drawn in either Point ( ) mode or Signal Drawing ( )mode.Interconnecting SignalsIf you draw a signal
20 Chapter 2—Schematic EditingSignal Line EditingDrawing from an Existing Line or a Device PinA line can be extended from the end of an existing line
Drawing Signals 21above, the mouse button does not have to be held down while creating sig-nals in this mode. Double-clicking terminates the signal li
22 Chapter 2—Schematic EditingName and Pin Number OperationsNames may contain any letters, numbers, or special characters that you cantype on the key
Name and Pin Number Operations 23Multiple Naming of SignalsA signal name can appear in up to 100 positions along the length of thesame signal line. To
24 Chapter 2—Schematic Editing Signal names are known throughout a schematic page. Like-named signal lines are thus logically connected for simulati
Name and Pin Number Operations 25Once Text mode is selected, the cursor changes to a pencil icon. Press andhold the mouse button with the tip of the
26 Chapter 2—Schematic EditingAdding an Invisible NameAn invisible name for either a device or signal can be created in one of twoways. Use the righ
Name and Pin Number Operations 27determined by the vertical position of the line that was clicked on. This feature works only with signal or device na
ivChanging Search Order 15Deselecting a Selected Object 15Classes of Devices 15Device Libraries 16How Device Symbols are Created and Stored
28 Chapter 2—Schematic EditingRemoving a NameA device or signal name can be removed by using the Zap pointer, asdescribed in the section on Deleting
Name and Pin Number Operations 29Default Pin NumbersA device symbol may have default pin numbers which will appear whenthe device is first placed. The
30 Chapter 2—Schematic EditingAuto-Numbering FeaturesAn auto-numbering feature is provided to simplify numbering of sequentialpins. If the key is h
Text Objects 31Creating a Text NotationIf you click the text pointer on the diagram away from a device or signalline, a blinking cursor will appear at
32 Chapter 2—Schematic EditingThe following table summarizes the options available in this dialog.Sheet Borders and Title BlocksLogicWorks provides a
Sheet Borders and Title Blocks 33Pasting Graphics onto the DiagramGraphics from a number of sources can be pasted directly onto a Logic-Works schemati
34 Chapter 2—Schematic Editing Click on it once to select it (if the object has been previously set to be a background item, you will have to hold t
353Advanced Schematic EditingThis chapter provides information on the more advanced schematic editingfeatures of LogicWorks.BussingThe bussing facilit
36 Chapter 3—Advanced Schematic Editing If you select a bus line, then pull down the Schematic menu and select the Get Info command. The displayed i
Bussing 37Once such a breakout has been added to the bus, all signals in all attachedbreakouts are considered part of that bus. A list of internal sig
vUsing Subcircuits 49A Simple Subcircuit Example 50Subcircuit Primitive Type 52Port Interface 52Creating a Subcircuit—Top–Down 55Creating a
38 Chapter 3—Advanced Schematic EditingBus OperationsCreating a BusA bus can be created by any one of the following methods: Select the Draw Bus too
Bussing 39Then select the New Breakout command. The following dialog box willappear:If a bus or breakout was selected on the circuit diagram, the New
40 Chapter 3—Advanced Schematic EditingNote that the “..” format implies that bussed signal names cannot contain periods. The signals specified will
Bussing 41 Press the key. The breakout pin and the attached signal will be renamed as entered.IMPORTANT: The notation on the breakout pin is always
42 Chapter 3—Advanced Schematic Editing For more information on creating device symbols with bus pins, see Chapter 10, Device Symbol Editing.Power a
Connectors and Discretes 43IMPORTANT: The signal attached to a signal connector device is actually named to match the pinname of the signal connector
44 Chapter 3—Advanced Schematic EditingNOTE: When the single–pin devices are used, every device must carry exactly thesame name, although the names c
Using Attributes 45Using AttributesLogicWorks allows arbitrary blocks of text to be associated with anydevice, signal, or pin in a design, or with the
46 Chapter 3—Advanced Schematic EditingPredefined Attribute FieldsThe following table describes the fixed list of attribute fields provided ineach Lo
Using Attributes 47Editing Attribute Data (General)The following dialog box is used to enter or edit attribute data:NOTE: The same Attributes Dialog i
viTiming Display Groups 85The Simulator Toolbar 87Displaying and Hiding the Simulator Toolbar 87Simulator Toolbar Time Display 87Simulator Too
48 Chapter 3—Advanced Schematic EditingEditing Device Attribute DataThe Attributes Dialog can be entered in one of two ways: Click on the device to
Using Subcircuits 49 From the pop–up menu, select the Rotate Right or Rotate Left command.Setting Attribute Text StyleAttribute text style is set glo
50 Chapter 3—Advanced Schematic EditingFollowing is a short summary of the rules governing subcircuit devices.More information on each of these topic
Using Subcircuits 51Note that it contains two symbols, both representing subcircuit devices.Both symbols are of the same type, RSFF, and therefore sha
52 Chapter 3—Advanced Schematic Editing The signal RESET/ does not connect to a port connector, so it represents a separate signal in the internal c
Using Subcircuits 53The port interface is rechecked whenever any change is made. Thus, assoon as a port connector is added or removed, or its name is
54 Chapter 3—Advanced Schematic EditingIMPORTANT: If you create a port connector symbol using the device symbol editor, the pin type(input, output or
Using Subcircuits 55The corresponding Bus Port Connector to be used inside this device wouldlook as follows:The comments above in the section, Port Pi
56 Chapter 3—Advanced Schematic Editingto be used because the default primitive type for a symbol is SUBCCT.) Save the symbol in a library. Use the
Using Subcircuits 57designs, then click the Attach button. The selected design will now be brought to the front. Close its window. If the Update/Rever
vii7 RAMs and Programmable Devices 121The RAM, PROM and PLA Primitive Types 121RAM Device Characteristics 122PROM Device Characteristics 123PLA
58 Chapter 3—Advanced Schematic Editingthe Pin List must have a corresponding graphical pin on the device symbol. Save the symbol to the library. It
594SimulationThis chapter provides more detailed information on LogicWorks’simulation capabilities.General Information on SimulationLogicWorks has the
60 Chapter 4—SimulationThe simulation is “event–driven,” where an event is a change in the level ofa signal. Each time an event occurs, a list is mad
Signal Simulation Characteristics 61Signal Simulation CharacteristicsSignal StatesLogicWorks uses 13 different device output states in order to track
62 Chapter 4—SimulationDescription of StatesThe High and Low states are the normal ones expected in a binary circuit,but are not sufficient to realis
Signal Simulation Characteristics 63For the purposes of simulation, all circuits must have some provision forinitialization to a known state. In most
64 Chapter 4—Simulationproduce a DONT0Z output, which resolves correctly to a LOW on the out-put—regardless of the state of IN1—using the rules descr
Signal Simulation Characteristics 65 Using the Stick High or Stick Low buttons in the Stick Signals command.Each of these methods is described in mor
66 Chapter 4—SimulationResistive vs. Forcing DriveAll primitive devices in LogicWorks output a forcing drive level, exceptfor the Resistor primitive
Signal Simulation Characteristics 67Probing a PinIf the probe tip is clicked on a device pin close to the device body, theprobe shows the driving leve
viiiSaving Frequently-Used Graphics and Pins 162Displaying the Symbol Gallery Window 162Hiding the Symbol Gallery Window 163Using Elements from
68 Chapter 4—Simulationdriving the line. If a non–stuck value is forced, the signal value will revertto its appropriate new level when any change occ
Device Simulation Characteristics 69Device Simulation CharacteristicsDevice and Pin DelayThis section describes how to set delay values for primitive
70 Chapter 4—SimulationA pin delay acts like a “buffer” device with the given delay inserted inlinewith the pin. On an input pin, the device simulati
Device Simulation Characteristics 71time will never advance. This will stop the Timing window from updatinguntil some delay is inserted in the loop.Wh
72 Chapter 4—SimulationInput Signal ValuesFor all device types except switches, the signal values High Impedance andConflict are treated as Don’t Kno
Device Simulation Characteristics 73primitive types as well as subcircuit devices. The following table summa-rizes the level mappings that occur.NOTE:
74 Chapter 4—SimulationSimulation Clearing and InitializationThe LogicWorks simulator provides a number of mechanisms to assist insetting initial val
Simulation Clearing and Initialization 75 Any primitive type with storage capability (such as flip–flop, register, or counter) that has a Don’t Know
76 Chapter 4—SimulationNOTE: 1) It is left completely to the user to decide if the specified initial valuesmake sense. No checking is done to determi
Schematic Simulation Issues 77 See also Chapter 6, Advanced Schematic EditingEditing an Open Internal CircuitA number of issues arise if you have use
ixSimulation Params... 205Add to Timing 209Add Automatically 209Add as Group 209Import Timing (Text)... 210Export Timing (Text)... 211Prin
78 Chapter 4—SimulationThe Port InterfaceThe connection between a pin on a parent device symbol and the corre-sponding signal in the internal circuit
Schematic Simulation Issues 79NOTE: Although it may be tempting to set all pins to “bidirectional,” this is notrecommended. It significantly increases
80 Chapter 4—SimulationPin Delays and InversionThe normal pin delay and inversion settings can be applied to the port inter-face. A non–null value in
Simulation Models 81Special Signal Names 0 and 1The signal names 0 and 1 are recognized by the simulator as special. If anysignal is named 0, it will
82 Chapter 4—SimulationPrimitive Devices on the SchematicThe primitive devices provided in the primlogi.clf and primgate.clf librar-ies can be used a
835The Timing and Simulator ToolsThe Timing WindowThe Timing window allows you to display timing waveforms in graphicalform and updates continuously a
84 Chapter 5—The Timing and Simulator ToolsHere are the components of the Timing window:Displaying Signals in the Timing WindowAdding a Signal TraceT
Displaying Signals in the Timing Window 85 Select the traces to be removed by clicking in the label area of the timing window. You can remove multipl
86 Chapter 5—The Timing and Simulator ToolsOrder Within a GroupFor the purposes of displaying a hexadecimal value for a group, the orderof signals wi
The Simulator Toolbar 87The Simulator ToolbarDisplaying and Hiding the Simulator ToolbarThe Simulator toolbar is displayed by default when the Timing
Commenti su questo manuale