Netlist Design Analyzer
Nlview 2.8 - User Manual

Concept Engineering GmbH
Burkheimer Str. 10, D-79111 Freiburg, Germany
Tel: +49-761-473099 Fax: +49-761-441063 Email: info@concept.de WWW: http://www.concept.de
Table Of Contents
1. How To Use Nlview
*1.1 Overview
*1.2 How To Invoke Nlview
*More Command Line Options
*1.3 How To Read EDIF Files
*Replace Mode
*Add+Merge Mode
*The "choose" Button
*The Log File
*1.4 How To Read VERILOG Files
*1.5 How To Display Schematics
*1.6 How To Generate Schematics
*Setting The Page Size
*Defining The Title Frame
*Re-generate A Schematic
*Creating Symbols
*Re-create A Symbol
*Colors
*1.7 Printing Schematics And Symbols
*The Print PostScript Dialog
*The Print Dialog
*1.8 Write Schematic EDIF
*1.9 Save The Tool Settings
*1.10 Quit The Tool
*2. The Schematic Window (Gscreen)
*2.1 Scrolling and Zooming
*Zoom Panel
*2.2 Mouse-Strokes
*2.3 Mouse-Selection
*2.4 Highlighting
*2.5 Goto The Selected Object
*2.6 Automatic Page Navigation
*Using The "goto" Button
*Using Connector Symbols
*2.7 Global Selector
*2.8 Gscreen Internal Details
*3. The ASCII File Display (AFD)
*Highlighting
*Objects Without Xref
*Scrolling The Text Window
*Handling More Than One Text File
*Mouse-Selection
*4. More Functions
*4.1 Hierarchy Navigation
*Mouse-Strokes
*4.2 Search Object
*4.3 DB Statistics
*Statistics: # objects in memory
*Statistics: # instances
*4.4 The Settings Menu
*4.5 Set Colors
*4.6 Clear And Update
*5. Using Info-Windows
*Selecting And Highlighting
*5.1 The Info-Window Structure
*Colors And Fonts
*Long strings
*Name Editing
*Container Hierarchy
*References
*Display Objects
*5.2 Examine The Connectivity
*Member Connection
*6. Critical Path Navigation
*Activate A Path
*6.1 Navigate Through A Path
*Net Segments Split Over Two Pages
*6.2 The Critical Path File Format
*7. Creating New Symbol Libraries
*7.1 Using Your Schematic Editor
*Changing Symbol Names Or Port Names
*Changing Colors
*Changing The Symbol Size
*The Name Mapping File
*7.2 Using The Generic Symbol Library
*Create A List Of All Source Symbols
*Figure Out The Destination Symbols
*7.3 Creating an Index File
*
Nlview generates easy-to-read schematics from any supported netlist and allows intuitive schematic viewing, design verification and automatic design documentation. Nlview can be used to visualize structural netlist data, generated by e.g. logic synthesis tools or other netlist processing tools.
Nlview is for designers, emulation engineers and test engineers, who need to analyze and see machine generated gate level structures. The tool works in many EDA (Electronic Design Automation) flows and offers compelling capabilities for verification, analysis and documentation.
As the figure below illustrates, nlview reads in netlist design data, generates a schematic and displays it on a graphic screen. Symbol shapes are taken from a symbol library file (EDIF format) or will be created automatically.
The netlist design data is expected to be in EDIF 200 netlist format or in structural Verilog (The tool supports a structural subset of the VERILOG HDL). In addition to the netlist design data, the tool accepts a critical path file to highlight critical paths in the generated schematic.

With nlview you can:
This section describes a tour through the tool with the most often used functions. The following sections describe the various functions in more detail. You can also use the tutorial document to get a short introduction to nlview.
The tool's internal data base is an implementation of the EDIF 200 standard. The terms for the object-types are borrowed from EDIF. Therefore, terms like Cell, Port, PortImplementation, Instance or PortInstance have the EDIF defined meanings.
There are several way how you can invoke nlview. On Windows systems you can start nlview for example from the command line or via the Windows Explorer. On UNIX systems you will usually start nlview from the command line.
When you start nlview from the command line you can also provide command line switches and file names. For example you can load EDIF files as shown next:
nlview -symlib <symf> f1.edf f2.edf ...
The files
f1.edf and f2.edf are EDIF 200 netlist files. The -symlib <symf> option can be used to load a set of predefined symbol shapes (symbol library).If you want to read structural VERILOG HDL files (instead of EDIF files) specify the
–verilog option. The order of the verilog files is not important, the declared-before-used constraint must not be satisfied. However, you have to provide nlview with all Verilog source files. For example if you use UDPs, specify them also on the command line:nlview -symlib <symf> -verilog UDPs.v LIB.v f1.v f2.v ...
Usually it is helpful to use the
-endlibs switch to allow nlview to distinguish between Verilog library and Verilog design files. The files before the -endlibs switch will be parsed in library mode where nlview collects only I/O-ports and component names. As a result the parse process will be slightly faster and the Verilog parser will not get confused when the library contains complex behavioral code:nlview -symlib <symf> -verilog UDPs.v LIB.v -endlibs f1.
vTo specify include directories for the VERILOG parser you can use the following command line switch:
-verilog_incdir dir1+...+dirN
Alternatively, you can invoke the tool without specifying any netlist design file. After the tool is started, you can use the Read EDIF or the Read VERILOG dialog window to load one or more design files.
You can also read in a previously saved EDIF schematic file. If you want to do this, simply call nlview without the –symlib option:
nlview <schematic-edif-file>
Predefined symbol shapes (when used) are expected to be found in EDIF 200 schematic file format. Symbol files are later referred to as "symlib". If you want to generate easy-to-read schematics, you should specify a proper symlib file with the
–symlib command line option. If you do not specify a symlib file, or if your symlib does not match to your design data, then the tool will automatically create symbol boxes.The symlib file "generic.edf" stores symbol shapes for the Verilog gates. Therefore, if you want to read VERILOG HDL, specify this when you invoke the tool:
nlview -symlib generic.edf -verilog f1.v f2.v ...
Please refer to the section "Creating New Symbol Libraries" to find out, how to create a private symlib for your specific needs.
-top_cell <name>
To specify the name of the top cell (only needed if none or more than one top cell is defined in the source files).
-show_top_cell
Automatically creates and displays the top schematic after startup.
-critical_path <file>
Presets a file name for the "Critical Path" dialog window. If this option is set, the specified critical path file is automatically loaded when the "Critical Path" dialog window pops up.
-create_symlib <symf>
See section: "Creating New Symbol Libraries".
-create_index <symf>
See section: "Creating New Symbol Libraries".
-help
Prints a short overview about the most important options (UNIX versions only).
-command <file>
Read command line options from the specified file (Windows versions only).
The Read EDIF dialog window is the graphical user interface to the EDIF parser. To start this window, pull down the File menu and select Read EDIF.

This dialog window enables you to read one (or more) EDIF 200 files into the internal data base (DB). The radio buttons replace and add+merge define, that the next file replaces the currently loaded data or that new data is merged to the existing data.
The check button make AFD xref controls if internal cross-reference data for the AFD window (ASCII File Display window) is created or not. To save some memory space (about 30%) you can turn of this button.
In replace mode, the existing DB is completely deleted and then reloaded with the specified EDIF file (this is the default case.)
In add+merge mode, the specified EDIF file is first loaded into a shadow data base and afterwards merged to the existing DB. After the end of the merge, the shadow data base is deleted. The result is an extended DB, that may contain new cells or designs but may also have added new hierarchy modules to existing cells. The "merge mode" is mainly useful to build up a design hierarchy by loading different modules.
The choose button opens a file choose window. To select an existing file name, press accept or double-click at the file name. The field "Filter:" is used to suppress file name entries in the window. You can modify this field and press return afterwards to apply the new filter.
The UNIX notations ~ (for the HOME directory) and ~user (for the HOME directory of a user) are supported. The Windows version of nlview displays the standard Windows File Open Dialog when you press the choose button.
If the EDIF or the Verilog parsers have problems reading the specified file, then you should view the log file nlview.log for more details. All messages from the tool are copied into this log file, which is placed in your working directory.
You can read Verilog files using the
-verilog command line option (as already described). Another way to read in Verilog is the Verilog file read dialog. To read in Verilog files, pull down the File menu and select Read VERILOG.
This dialog window enables you to read one (or more) VERILOG HDL files into the internal data base.
Note: Only the structural statements are parsed. "Specify Blocks" and other timing information as well as parameters are not supported (they are ignored).
The radio buttons replace and add+merge as well as the check button make AFD xref have the same meaning as in the "Read EDIF" dialog window.
The VERILOG parser permanently stores the names of all parsed UDPs and modules as well as the names and directions of their ports. This mechanism is independent from the state of the radio buttons replace and add+merge.
When the parser reads an unknown instance, it is assumed that this instance is a module and the port-names are set to "P1", "P2", etc.
If the loaded EDIF netlist files define a top design (EDIF keyword = design) then the show top button on the command panel is enabled. To display the top schematic, simply press this button.
Alternatively, you can pull down the Schematic menu and select a cell to display its schematic. The tool allows also to display symbols. To do this, pull down the Symbol menu and select a cell to display its symbol.
A third way to select a cell's symbol or schematic is offered by the Show Page/Symbol pop-up window. To start this window, pull down the Utilities menu and select Show Page/Symbol.
When a schematic is displayed on the graphic screen, the top menu bar shows the name of the displayed cell and in addition the Page pull-down menu is active. This menu allows to change the page of the current schematic (if the schematic is split over several pages). You can also use the next-page and previous-page buttons to change the page number:
![]()
1.6 How To Generate Schematics
Whenever a schematic drawing needs to be displayed, the tool checks, if the corresponding schematic already exists. If not, the schematic is automatically created and displayed.
To control the Schematic Generator, pull down the Settings menu and select Make Schematic(s).

In the Page Size window you can specify a page format that is used for schematic generation. If you select no limit for the PageSize, then the schematic drawing will be generated on one single page. If you select e.g. "C" format, then the schematic generator will automatically create one or more pages in "C" format, depending on the size of the circuit. Working with the no limit option may consume a large amount of CPU time when the design is large. For larger design it is recommended not to use no limit.
The values of levellimit and heightlimit control the page split algorithm. They are modified by the PageSize radio buttons. But alternatively, you can directly set levellimit and heightlimit using the window's field editors. The levellimit defines the maximum number of gates from left to right; the heightlimit defines the maximum drawing height (in inches/100). You can "play" with these values to get the best page splitting results.
The specified parameters PageSize and levellimit/heightlimit are completely independent of the printer page size (as specified in the "Print" dialog window).
Pressing the "Title Frame" radio button will display a new window, where you can define some additional comment text strings for the schematic frame.

After you have changed the PageSize, you can re-generate the schematic by pressing the remake button. You can do this for the current schematic or for all existing schematics.
When a netlist file is loaded, the tools tries to copy symbol shapes from the specified symlib (option –symlib). If this is not possible (because no symlib was specified, or the symlib does not store the symbol shape for a specific instance) then rectangular symbol shapes will be created automatically.
To control the automatic creation of symbol shapes, pull down the Settings menu and select Make Symbol(s). This dialog window offers some check buttons to enable/disable the creation of text display positions for the following attributes: cell name, instance name, designator, properties and port designator.

After you have changed the button states, you can re-generate the symbol by pressing the remake button. You can do this for the current symbol or for all available symbols. A remake for all symbols regenerates all symbol shapes including those that have been copied from the specified symlib.
Note: When you have modified the symbol shapes, it is usually necessary to re-generate the schematics, because the pin-layout of the symbols may have changed.
The Schematic Generator uses predefined colors when it creates nets and rectangular symbol shapes. The default colors for the net creation are shown in the following table.
|
Name |
Color "r" in % |
Color "g" in % |
Color "b" in % |
|
NET_color |
90 |
90 |
0 |
|
BUS_color |
75 |
75 |
0 |
|
COM_color |
62 |
62 |
62 |
Normally, there is no need to modify these colors. But if you want to create different colors, you can override the defaults in the "settings" file (see chapter "Save The Tool Settings"). The "settings" file stores the above color values in the attribute "MkPage". Each color is defined by a hexadecimal triple notation (e.g. "#e8e800" means red=90%, green=90% and blue=0%).
The default colors for the automatic symbol shape creation are stored in the attribute "MkSymbol" and are shown in the following table.
|
Name |
Color "r" in % |
Color "g" in % |
Color "b" in % |
|
BODYB_color |
0 |
81 |
81 |
|
PIN_color |
0 |
81 |
81 |
|
INAME_color |
56 |
100 |
100 |
|
PROP_color |
56 |
100 |
100 |
The default pin grid is 20 units. This is defined in the attribute "MkSymbol.pingrid" in the nlview.def file. The default wire grid distance is 10 units and is defined in the "MkPage.grid" attribute.
1.7 Printing Schematics And Symbols
The Print PostScript dialog window in available on both UNIX and Windows platforms and enables you to create PostScript files. You find this dialog window in the File pull-down menu. Within the dialog window, you can set some flags and specify a file name.

The radio buttons fullscreen and current screen define the part of the loaded schematic page or symbol, that is to be printed. If you choose current screen, then the current scale factor is used to translate the graphics to PostScript. If you choose fullscreen, then the scale factor is re-computed to fit the full schematic page or symbol on the paper.
The check button print colored toggles between "black and white" and "colored". In "black and white" mode, the graphics are black and the background is white. In "colored" mode, the original colors are used to create the PostScript file (with rgb-definitions for the colors).
The menu labeled page size allows to define the PostScript printer's page format. The current page format is displayed in the "page size" button. E.g. "A" means the US standard paper size A (11" x 8.5"), "A4" means the German DIN A4 paper size (21cm x 29.6cm).
The radio buttons this page, all pages and all control what is printed. This is respectively:
The generated PostScript file is resolution-independent and can be sent, e.g. to a high resolution PostScript printer to get best results.
The Print dialog window in available only on Windows platforms and enables printing to your Windows print device. You find this dialog window in the File pull-down menu. Within the dialog window, you can set some flags. After pressing the OK or print buttons, another window pops up and allows to provide some more print parameters.

The radio buttons fullscreen and current screen define the part of the loaded schematic page, that is to be printed. If you choose current screen, then the current scale factor is used to print the graphics. If you choose fullscreen, then the scale factor is re-computed to fit the full schematic page or symbol on the paper.
The check button monochrome toggles between "black and white" and "colored". In "black and white" mode, the graphics are black and the background is white. Within "color" mode, you have the two options inverse colors or screen colors.
The radio buttons this page, this module and all modules control what is printed. This is respectively:
The "Write EDIF" dialog window enables you to create a schematic EDIF file. You find this dialog window in the File pull-down menu.
The button schematic generates a schematic for all cells of the loaded design. The saved schematic EDIF file can be read into the nlview tool in a later session.

Note:
The generated schematic EDIF file may also be read by any other schematic EDIF interface (e.g. from a schematic capture system). The tool writes out a reasonable subset of the EDIF 200 standard. However, this does not ensure, that the created EDIF 200 schematic files can be read without problems by all existing EDIF 200 schematic interfaces.The button netlist removes all schematics and symbols to get a pure netlist representation. This function has no important meaning it is implemented for debugging purposes only.
The states of all check buttons and radio buttons as well as the settings of all dialog windows are stored permanently, if you select Save in the Settings pull-down menu. If you want the settings to be saved automatically every time when nlview quits, then mark the Save Settings On Exit entry in the Settings pull-down menu.
The created configuration file is named
.nlview.def under UNIX, or nlview.def on the Windows platform. It is stored in your home directory or, if you have no home directory it is stored in your working directory. The file format is compatible to the X11 standard for resource attributes.This configuration file is automatically read any time when nlview is started. To restore the built-in default settings, you can simply remove this file. Usually this file should not be modified by. However some attributes can not be modified using the graphical user interface (GUI) but can only be modified by changing attributes in the configuration file (e.g. Net colors, Symbol colors, BUS-Net width).
To quit the tool, pull down the File menu and select Quit .
2. The Schematic Window (Gscreen)
The Schematic Window is often referred to as "Gscreen". The Gscreen displays schematic drawings of the loaded design. The Gscreen is able to show schematic pages or symbols.
The colors, wire thickness, etc. are defined by the EDIF symbol file - or by the schematic generator's defaults. The Gscreen's background color is set from the Set colors dialog in the Utilities menu (default is black).
Scrolling is supported by scroll bars.
The zoom panel provides some functions to scale the schematic drawings.

The "zoom-in-with-rubber-band" button requires a rectangle area on the Gscreen as input. After this button is pressed, you must move the mouse to the Gscreen area and press-drag-release the mouse button. Then, the portion and zoom factor of the Gscreen is changed.
The "zoom-in" and "zoom-out" buttons (
Ý ß ) multiply/divide the current zoom factor of the Gscreen by 2.The button scale 1 sets the zoom factor to 1, full displays the entire page inclusive schematic frame, the button fit displays the entire page exclusive the schematic frame.
The functions "zoom-in-with-rubberband", "zoom-out" and "zoom-fit" are also available as mouse strokes. A mouse-stroke is simply a line drawn on the Gscreen (press mouse button - draw line - release mouse button).
mouse-stroke from upper-left to lower-right
mouse-stroke from lower-left to upper-right (zoom factor depends on line length)
mouse-stroke from lower-right to upper-left
Within the Gscreen, the left and the right mouse buttons have different meanings.
sets the selected object into the global selector. The selected object's type and name is displayed next to the label selected: above the Gscreen's window. The section "Global Selector" describes some more details.
creates an Info-Window for the selected object. See section "Using Info-Windows" for more details.
Both functions use the same under-laying selection algorithm to find the "nearest" object. It uses a square sensitive window with a side length of 10% of the Gscreen's height. Objects with a graphic frame completely outside of the sensitive window, are not considered.
The Gscreen highlights the graphic of the selected (global-selected) object. The default highlight color is red. If, for example, a Net is selected, then the Gscreen highlights all figure graphics of the corresponding net (lines and dots).
It is possible to select (global-select) any arbitrary object (e.g. by the info-window or by the Search Object Dialog) and therefore the Gscreen is able to highlight any object that has a graphical representation. This includes graphic primitives such as lines and arcs as well as more complex "container" objects such as PortImplementations and Figures. Further it is possible to highlight: textual primitives like visible Properties, Annotates and visibility definition objects, like KeywordDisplays and PropertyDisplays.
The button goto, above the Gscreen's window next to the label "selected:", scrolls the Gscreen to the selected object. If necessary, a new symbol or schematic page is automatically loaded into the Gscreen. The selected object is then visible and centered on the Gscreen.

If the global-selector points to no DB object or to an object that has no graphical representation (like a Library or a Port object) then the "goto" button is disabled (grey).
If a Net object is global-selected and this net is split over several pages, then the "goto" button opens a pulldown menu. This menu allows you to go to a different page where the same net continues.
If a net is split over several pages, and you are interested to view all connected components without taking to much care about page numbers, then the automatic connector page navigation may help you. First use the mouse to select the net that you are interested to explore. Then follow the net (graphics) until you reach the point where the net leaves the current page (you see an OffPage connector or an Hierarchy connector). Just double-click to the OffPage or Hierarchy connector to "jump" to the next page where the net is connected to.
The "Global Selector" is a "global pointer" that can point to any arbitrary data object - e.g. to a net or an instance. The type and name of the global-selected object is permanently displayed next to the label selected: above the Gscreen. The Global Selector handles the relations between different representations of a data object:
The Info-Windows display the exact data lists of the DB objects (one window per object).
The Gscreen displays the schematic pages and symbols very similar to a schematic editor.
The AFD window displays the ASCII text of the source file(s).
You can set the Global Selector from the Gscreen, from the AFD window or from any Info-Window. Within the Gscreen and within the AFD window, you select any object by pressing the left mouse button. In the Info-Window, you perform a selection by pressing the window's Select button. A forth possibility to set the "global selector" is the "Search Object" window - where you can select a DB object in the text scroll window (list of found objects).
The Gscreen, the AFD window and the Info-Windows simultaneously highlight the global-selected object - each window in its own representation. The Gscreen and the AFD window draw the object in highlight color and the corresponding Info-Window highlights its border.
The internal data base (as defined by the EDIF 200 standard) separates some netlist objects from schematic representation objects. For example, a PortImplementation is a schematic representation for a Port (interface port) or for an OffPageConnector (a connector between different pages).
Another example are the KeywordDisplay and PropertyDisplay objects, that define display positions for other objects Cell-names, Instance-names, Property-names and values, etc.)
The Gscreen displays the schematic representation of objects. For example if you select a connector, you will get a PortImplementation (not a Port or OffPageConnector object). Use the info-windows to traverse from the schematic object to the netlist object.
The KeywordDisplay DB objects define a default display position for object names. They are used in the context of building an instance (when a symbol is placed onto the schematic page).
If the Gscreen displays a symbol, then the KeywordDisplays are shown as place holders. The KeywordDisplay for an instance name, e.g. is displayed as string "instance".
If the Gscreen displays a schematic page with Instances that refer to symbols with KeywordDisplays, then the KeywordDisplays display information is used to show the evaluated names. If, e.g. a symbol defines a KeywordDisplay for an instance name, then the name of the current instance is displayed.
The PropertyDisplay DB objects define display information for properties. PropertyDisplays within the symbol of a cell define the default display position for interface properties that may be overridden by instance properties.
If the Gscreen displays a symbol, then the PropertyDisplay shows the interface's property value.
If the Gscreen displays a schematic page with Instances that refer to symbols with PropertyDisplays, then the PropertyDisplays' display information are used to show the instance properties.
3. The ASCII File Display (AFD)
The AFD window is started from the File pull-down menu. It displays the loaded netlist file in a scrollable text window. The AFD window allows global-selection of any object by mouse and also highlights any global-selected object.
This mechanism works for EDIF netlist files as well as for other file formats, e.g. for VERILOG files.

Whenever you set or change the selection, the appropriate text portion is highlighted in the AFD window. If the related text portion is not visible in the current text clip, the scroll position is changed in such a way that the needed text is displayed centered in the text field.
DB objects generated by the Schematic Generator, of cause, have no counterpart in the text window and cannot be highlighted. The same applies for the symbol shapes that have been copied from the symlib (option
-symlib) and for those objects that are read from a file while the make AFD xref button is off.The text window is scrolled when:
The buttons (.. and ..) move the text clip to the start or end of the highlighted text. This is useful, if the highlighted text portion is large.
Handling More Than One Text File
When you have merged several input files, then the AFD window automatically handles different input files. A change in the "selector" may results in a change of the AFD's current text file (This is done automatically). If the AFD handles more than one input text file, you can use the
Ý and ß buttons near the label File: , to switch to the other input text files.Within the AFD's text window, the left and the right mouse buttons have different meanings.
sets the selected object into the global selector .
creates an info-window for the selected object.
Both functions use the same under-laying selection algorithm to find the "nearest" object. They simply select the inner-most object, that is the deepest in the containment tree. If you want to select a DB node object, e.g. a cell or a library, you must select it at a text position, where no deeper object is located, e.g. at the brackets.
The following sections describe the so-far undescribed functions. This includes some buttons on the main window's control panel and some functions that are available through the pull-down menus.
The navigator command panel contains the buttons for navigation in the design hierarchy. These buttons are disabled by default.

The button show top gets enabled when a top cell is defined in the data base. By pressing this button the schematic of the top cell is displayed on the Gscreen.
If you select (global-select) an Instance (by pressing the left mouse button in the Gscreen) then the
ß sym button becomes enabled. If the selected instance also represents another circuit (design hierarchy) then the ß page button additionally becomes enabled. If you press the ß sym button, the Gscreen loads the symbol of the selected instance. This has the effect to dive down to the symbol. If you press the ß page button, the Gscreen loads the schematic of the selected instance. This has the effect to dive down one hierarchy level.Note: You can also double-click to an hierarchical instance in order to dive down one level of hierarchy.
If you have used one of the two buttons mentioned above, then the
Ý go up button becomes enabled. You can press this button to return to the previous schematic (or perform the "go up" mouse-stroke described in the next section).The functions
ß page (down) and Ý go up are also available as mouse-strokes. A mouse-stroke is simply a line drawn on the Gscreen (press mouse button - draw line - release mouse button).double-click to a hierarchical instance on the Gscreen
Mouse-stroke from upper-right to lower-left
With the Search Object dialog window, you can search for cells, instances, nets or ports. To start this dialog window use the search... button on the command panel.

The radio buttons Cell, Instance, Net and PortImpl, restrict the search to the chosen type. Searching for cells is done in all libraries of the DB. Searching for other types depends on the state of the all schem check button. If this button is off, the search for instances, nets and ports is restricted to the current schematic. Else, the search is performed for all existing schematics.
Searching for ports (in fact we search for graphical port-implementations) is done in the schematic as well as in the symbol.
Searching for instances requires to specify the cell name and the instance name. A blank field means "no restriction" and has the same meaning as the "
*" string. However, the button wildcards must be active in order to allow wildcard search. If you leave both fields blank, and press the "search" button, then you will get all instances (of a given schematic).If wildcards are enabled, you can use "
*" and "?" for any character string or for any character respectively. Any combination of "*" and "?" is supported, e.g. "*C?an*x" is a valid search pattern. The search string(s) and the radio and check button states can be saved permanently, if you select Save in the "Settings" menu or by using Save Settings on Exit.When you press search, then a scrollable text window appears, showing the list of found objects. Within the list you can select any of the found objects with a mouse click (this highlights the selected object on the Gscreen - the next figure shows a typical list of found objects). The goto button is very powerful here. When you press this button, the Gscreen automatically displays (and centers) the object that you have selected from the object list. The button highlight all highlights all found objects in the Gscreen (but does not global-select any object). The "highlight all" feature is limited to 100 objects. The return button returns to the previous window.

Two statistic popup windows can be used to count the number of DB objects and to display the results in a list. You find these dialog windows in the Utilities pull-down menu.
Statistics: # objects in memory
This window counts all internal data base objects and computes its memory consumption. The result is presented in a grouped list of DB types. The window displays the number of DB objects. Please note: For hierarchical designs, this has nothing to do with a flat cell or net count.
This window counts all Instance DB objects and groups them according to their cells-refs. The computing may need some time, because an "iterator" has to walk through the DB containment tree. The result is presented in a list of DB Cell objects. Please note: For hierarchical designs, the computed instance numbers have nothing to do with a flat instance count.
In the Settings pulldown menu, you find some check buttons to set control flags for the Gscreen and the appearance of nlview.
Draw invisibles controls, if the Gscreen draws only visible components, or visible and invisible components. The invisible components are those, who refer to a Figure Group with its visible-flag set to false.
Suppress texts controls, whether the Gscreen draws texts or not. Sometimes it is useful to switch of text display, for example when a schematic contains many text strings that make the schematic difficult to read.
Auto Fullpage controls, if the Gscreen automatically performs a "full-fit" operation after a new page or symbol is loaded. If this flag is not set, the current zoom factor and scroll position is not changed, when the Gscreen is switched to display another schematic page or symbol.
No Message Window controls, if the message window below the Gscreen is shown or not. You can switch the Message Window off if you would like to maximize the schematic screen (Gscreen). You can also check the log file nlview.log to view the tool messages.
No Command Panel controls, if the main command panel is shown or not. You can switch the Message Window off if you would like to maximize the schematic screen (Gscreen). Most of the commands of the command panel are also available as mouse-stroke commands.
Save Settings On Exit controls, if all settings are automatically saved when nlview quits.
The menu entry Reset PageSize recomputes the page size of the currently loaded schematic page or symbol. This is only necessary, if a loaded schematic EDIF file contains bad pageSize or boundingBox information.
The entry Set colors in the Utilities pull-down menu creates a popup window to modify some color settings. This window allows to interactively change some colors:
The window has two pull-down menus, one to chose the "target" (one of those listed above) and one to chose the color.
The best background color of the Gscreen depends on the foreground colors specified in your currently loaded design data (for example the Symbol Library colors). The Gscreen uses the given highlight color to highlight the graphics of the selected (global-selected) DB object. It uses the rubber-band color to draw the rubber-band rectangle, while the zoom-in-with-rubber-band function is active. The border of the Info-Windows change to the given highlight color, if the Info-Window's DB object is selected (global-selected).
This color settings are local to your current session. Select Save in the Settings pull-down menu to save these settings.

The clear button (in the command panel) removes all currently open Info-Windows and all sub-windows that are created from the main pull-down menus. An exception are the sub-windows that are created from the File pull-down menu.
In the Utilities menu you find the update function, which updates all currently open windows. An update of the windows is useful, whenever the DB objects were modified (or deleted), e.g. by a schematic generation run.
The Gscreen is not refreshed by an "update". This is done with redraw in the Utilities menu.
The Info-Window for an object on the Gscreen is created by clicking with the right mouse button on this object. Each Info-Window represents exactly one DB object - there is a 1:1 relation between the internal DB objects and the Info-Windows.
The border of an Info-Window is displayed in highlight color, if its object is currently global-selected. The default highlight color is red. All Info-Windows, except those for Display -objects have a Select button (in the bottom line) to global-select its corresponding DB object.
Each Info-Window consists of a header line and an Ok button to remove the window. The header line displays the DB object type name and the DB object name (if available). The rest of the Info-Window displays the object's private attributes:

The DB object names are printed in red using a "
courier" font. All other labels (including the DB object types) are printed in black. The arrows, that show the containment tree and the rectangles that show the display information are printed in a 50% grey color (See "Container Hierarchy"). The arrows, that show data references (design hierarchy references and others) are printed in blue color (See "References").Object names or values, that are to long for the Info-Window are marked with a black small rectangular block on the right side of the string. You can click onto this black rectangular block to popup another window, that shows the full string.
If the Info-Window header line displays an object name and if the object "defines" this name, then you can modify the name. To do this, use the left mouse button to select this name. If selected, the name becomes a field editor where you can edit the name. Press return to confirm or ESC to cancel the name modification. To change the names of name-defining objects (e.g. Library, Cell, Port, Net or Instance) may be useful before you write out the design data into an EDIF file.
The DB containment tree is displayed by grey
Þ buttons on the Info-Window's right side and by the grey Ý button in the bottom line.
The name of the parent DB object is shown in the bottom line near the grey
Ý button. This arrow-up button enables you to "walk" to the parent (create an Info-Window for the parent DB object). The child objects - if existing - are shown in the middle of the info-window (one line entry for each child). This middle window area is scrollable, if there are more than a few entries.Each child entry has an
Þ button. This arrow-right button enables you to "walk" to the child objects (create Info-Windows for the child DB objects).All references are displayed by buttons. The foreground color of these buttons is blue. These blue arrow-right buttons create Info-Windows for the referenced DB objects, similar as the grey arrow-right buttons do. The following table shows the reference relation of the concerned DB objects:
|
DB object |
|
ref. DB object |
|
Instance |
Þ |
Cell |
|
PortInstance |
Þ |
Port |
|
PortImplementation |
Þ |
Port |
|
Figure |
Þ |
FigureGroup |
|
Display |
Þ |
FigureGroup |
|
Design |
Þ |
Cell |
|
PropertyDisplay |
Þ |
Property |
The Display objects define visibility information for names. E.g. a Net name may have an associated Display object. If so, it defines how the net name is displayed - it defines the position, size, color, etc.

The Displays are the only DB objects, that are not part of the DB containment tree. Therefore, you cannot "walk" to a Display object by the arrow-up and arrow-right buttons of the Info-Windows. The Display Info-Windows are associated directly to the DB object names or string values.
Within an Info-Window, visible names and values are marked by surrounding grey rectangles. These rectangle fields are selectable by the mouse. To create a Display Info-Window, press the right mouse button within a rectangle field.
The connectivity is internally represented by a double linked list. If, e.g. a Net connects to two PortInstances and to one Port, then all 4 objects are in a double linked list. This allows to show all connected DB objects, regardless if you start the examination at the Net or at any PortInstance (or at the Port).
Ports are always located in the interface of a cell. So the net in the example above is an interface net.
The Info-Windows show connectivity through pull-down menus, available via the joined menu button.

Only the Info-Windows of Ports, PortInstances, Nets and OffPageConnectors have such a pull-down menu. However, if the object is not connected, then the "joined" menu button is missing.
You can use the pull-down menus to follow the connectivity information. Further, the menus allow to "walk" through connectivity paths, simply by selecting an entry in the menu. A new Info-Window is then created for the selected object.
A more complex case of connectivity is a connection from a one-bit object to a bus object - from a one-bit net to a bus-port or from a one-bit port to a bus-net.
This information is displayed by an additional "[n]" notation in the menu's entry. If e.g. a one-bit net connects to bus-port at member 2, then the port-entry in the net's joined pull-down menu will contain a suffix "[2]".
The "return" way (a connection from a bus object to a one-bit object) is represented by an additional pull-right menu, labeled "members". The entry members appears in the joined pull-down menu.
The "members" pull-right menu shows a list of all bits of the bus object. When you select a member of the list, then a third menu is opened, showing all one-bit objects, that are connected to the chosen bit
To start the Critical Path dialog window, pull down the Utilities menu and select Highlight Signals or use the highlight... button on the command panel. With the displayed window, you can load a critical path file. To do this, specify a file name and press <return> or press the read file button.

Alternatively you can specify the command line option
-critical_path <filename>. In this case, the critical path file is loaded automatically when you start the dialog window. The third possibility is to save the file name into the configuration file by selecting Save in the Settings pull-down menu. If you do so, the named critical path file is automatically loaded, whenever the dialog window is started - even in the next sessions.When a critical path file is loaded, you will see all paths in the scrollable text window. To select any critical path, double-click at one of the path lines or use the activate path button. Now, the active path is tested and error messages are issued, if net or instance names cannot be found in the loaded design (This is only the case, if the critical path file does not belong to the loaded design).
Note: You can only activate a path if you have loaded the proper design data and after you have generated a schematic for it.
If a path is successfully activated, the selected path is marked with an asterisk "
*" and the name of the first net (of the path) is displayed in the critical path navigation window.The buttons
Ü and Þ navigate to the next or previous net segment. The current net segment is highlighted on the Schematic Window (Gscreen). The button all highlights the full path - not only a single net segment. Individual net segments can be activated by pressing the Ü or Þ buttons.
Below the
Þ and Ü buttons is the "page-load" button area. This area has one or two button(s) labeled Pg <n> and/or center. These button(s) control the visibility of the current net segment on the Gscreen. If the current net segment is not on the currently displayed schematic page, then you will see the button Pg <n>. This indicates, that another page must be loaded to make the current net segment visible. Just press the button to load this page (page <n>).If the current net segment is on the currently displayed schematic page, but is not centered or not visible on the Gscreen, then you will see the button center. This indicates, that you can center the current net segment on the screen (scroll the Gscreen).
Net Segments Split Over Two Pages
Whenever the current net segment is split over two pages, you will see two buttons in the "page-load" area. These two buttons are responsible for the two sections of the split net. Usually, one of this two buttons is labeled center and the other Pg <n>. This means, that one part of the split net is located on the current page and the other part is on page <n>.
6.2 The Critical Path File Format
Nlview loads the critical path information from a ASCII side file. A "path" starts with the "path:" keyword. The text after "path:" is a comment text related to the critical path and can for example be used to specify the name of the critical path. This text is also displayed in the selection window.
The keyword "scope:" defines the name of the module and the view name. If no view name is specified and more than one view of the module exist, then the first view found in the database is used. If no scope is specified, the top module will be used.
The keyword "segm:" defines a net segment that connects two component pins.
The keyword "segm1io:" defines a net segment that connects a component pin to an IO connector.
The keyword "segm0io:" defines a net segment that connects two IO connectors.
# Path Example ASCII File
#
path: path#1 - Total Delay 34.8 ns
scope: act3_decode
segm1io: n22 A4 i2 I
segm: n23 i2 O i3 A
segm1io: n24 O4 i3 Y
This path example defines three path segments:
Net n22 from IO connector A4 to component i2 pin I
Net n23 from i2 pin O to i3 pin A
Net n24 from i3 pin Y to IO connector O4
The "segm:", "segm1io:" and "segm1io:" lines may have an additional field for the delay information. The example above with delay information would look like:
# Path Example ASCII File With Delay Information
#
path: path#2 - Total Delay 45.5 ns
scope: act3_decode
segm1io: n22 A4 i2 I 12.0 ns
segm: n23 i2 O i3 A 35.5 ns
segm1io: n24 O4 i3 Y 45.5 ns
The delay information is everything up to the end of the line. Each field is separated by blanks or tabs. The delay information is also displayed in the selection window.
Notes:
7. Creating New Symbol Libraries
There are two ways to create a private symbol library file (symlib) for the nlview tool.
7.1 Using Your Schematic Editor
If you have received or created a couple of EDIF schematic files (each storing a symbol shape) then you can easily merge them into one single file (the symbol library file). To do this call nlview as a batch processor:
nlview -create_symlib S.edf y/*.edf
We assume, that your symbol files are stored in the directory "y" and you want to name your new symlib "S.edf".
On the PC platform you would of course type:
nlview -create_symlib S.edf y\*.edf
View the log file "nlview.log" for errors. A list of the copied symbols is also written into the log file. Each line stores the symbol name and its port names, as shown in the example below:
symbols:
AND2(A,B,Y)
AND3(A,B,C,Y)
....
New Symlib has 142 symbols
Changing Symbol Names Or Port Names
In some systems, the symbol/port names in the schematic editor (front end) slightly differ from the names used in the target net lists (back end). If this is the case, you need to rename them. To do so, write a mapping file, say "S.map" and specify it when you call nlview as a batch processor:
nlview -create_symlib S.edf -mapfile S.map y/*.edf
On the PC platform type:
nlview -create_symlib S.edf -mapfile S.map y\*.edf
The name mapping process is explained in more detail in the section "The Name Mapping File".
If your schematic editor writes bad colors into the symbol EDIF files, or if you simply want to change the symbol's colors to the nlview default colors, you can specify an additional option:
-override_colors
when you call nlview as a batch processor.
If your symbol files contain symbols with bad scale definitions for the unit distance in the numberDefinition construct, you may run into problems with the size of the symbols in the generated symlib. To solve this problem you can specify a scale factor for all symbols with the option:
-scale_by <factor>
The name mapping file can be used to change symbol names an port names in an easy and fast way. If no map file is specified, then nlview processes all symbols. If a map file is specified, then nlview processes only those symbols that are mentioned in the map file. The map file format is an easy to change/edit ASCII format. The example below shows a mapping from two source symbols to three destination symbols:
and2(O,A,B) -> AND(y,i1,i2)
and2(O,A,B) -> AND2(y,i1,i2)
and3(O,A,B,C) -> AND3(y,i1,i2,i3)
The new symbols AND, AND2 and AND3 are copied from "and2" and "and3". The left side represents the source symbols, the right side defines the new destination names. The notation is case-insensitive. For example you can use the name mapping file "NAMES.map" in order to rename components in the existing EDIF file "OLD.edf" and store the renamed components in the file "NEW.edf":
nlview -create_symlib NEW.edf -mapfile NAMES.map OLD.edf
The port names are mapped according to the order in the rule. In the example above, port O is mapped to port y, port A to i1, port B to i2, etc.
Comment lines in the map file start with a "#" character. Syntax errors in the map file are issued with a location specifier: "rule@<n>". This means rule at line number <n> causes problems.
7.2 Using The Generic Symbol Library
A fast and easy way to create a Symbol library for your technology is to use the nlview Generic Symbol Library and automatically map the cell names and port names to your technology. Even if you perform this task only for the most common symbol-shapes (basic gates) such as AND, OR, NAND, NOR and XOR gates the resulting schematic drawings look much better and are much easier to read compared to the automatically created rectangle shape symbols.
If you want to create your private symlib (say "S.edf") using the nlview generic symbol shapes from "generic.edf" (directory symlib), then you can call nlview as batch processor:
nlview -create_symlib S.edf -mapfile S.map generic.edf
The resulting new symlib is "S.edf". The symbols are read from the file "generic.edf", the mapping rules are read from "S.map". As you can see, you need to define a mapping file. The section "The Name Mapping File" explains how to write a map file. To define a mapping, you need to know the symbol and port names of the source file "generic.edf" and the cell/port names of your technology primitives (nlview can automatically create a list of symbol and port names for you - this is described in the following).
Note: When use the Generic Symbol Library to create you own Symbol Library you can also use the enclosed name mapping template file "generic.map" (check the symlib directory) to control the name mapping process.
Create A List Of All Source Symbols
You can call nlview to obtain a list of all symbol and port names defined in Symbol Library files for example in the "generic.edf" file:
nlview -create_symlib xyz.edf generic.edf
Then edit the created log file nlview.log and extract the part, that looks like:
symbols:
and1(O,A)
and2(O,A,B)
and3(O,A,B,C)
....
New Symlib has 120 symbols
Additionally, you can run nlview interactively to view all the symbol shapes. You can use the Symbol pull-down menu to display individual symbols. Simply call nlview without any option:
nlview S.edf
Figure Out The Destination Symbols
The cell names and port names of your technology primitives are stored in your design netlist file(s). To view them (as rectangular boxes) you can run nlview with some typical netlist files (but without the -symlib option):
nlview f1.edf f2.edf ...
Use the Symbol pull-down menu to display the symbol names and port names. This mechanism will help you to define/complete a mapping from the source symbols in "generic.edf" to your technology primitives.
You can speed up the parsing of a large symlib file significantly, if you create an index file for the library. To do this, call nlview as a batch processor:
nlview -create_index S.edf
This creates the index file "S.idx" in the same directory as "S.edf". Symbol index files must be stored in the same directory as the corresponding Symbol Library file.
Disclaimer
Even though, Concept Engineering GmbH, has tested the software and reviewed the documentation, Concept Engineering GmbH makes no warranty or representation, either express or implied, with respect to this software and documentation, its quality, performance, merchantability, or fitness for a particular purpose.
Copyright
Copyright © 1994-1997 Concept Engineering GmbH.
All Rights Reserved
Trademarks
Concept Engineering GmbH acknowledges the trademarks of other organizations for their respective products or services mentioned in this document.