Netlist Design Analyzer
Nlview 2.8
Demo Tutorial
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
1. Introduction
Nlview can generate a graphical schematic from a netlist, display that schematic on a display screen and allows the analysis of the design. Supported netlist formats are EDIF 2.0.0 and Verilog. Hierarchy is maintained in the generated schematic. Nlview uses symbol data captured as an EDIF schematic file, or, if no symbols are available, Nlview will generate a symbol definition for graphical viewing. Nlview is useful for analyzing and debugging designs, to maintain netlist design archives or for automatic design documentation. The Signal Path Navigator allows the analysis of critical paths. Nlview features a unique cross probing feature, the "ASCII-File-Display". This lets the user select graphical objects on the display and see the entry for the object in the source ASCII netlist highlighted. Or, entries selected in the ASCII netlist will be highlighted on the display.
2. Demo Tutorial
The Nlview demonstration shows the display and analysis capabilities of the software. Follow each step exactly as described below. The complete demo should take not more than 20 minutes to complete. The demo emphasizes the schematic generator, handling hierarchy, Verilog schematic generation, and critical path highlighting.
To run Nlview with the enclosed EDIF and Verilog files, you need no license key. Simply specify the switch -demo to load any enclosed demo files.
2.1 Hierarchical ALU design "8bit_alu.edf"
Generate and display schematics for modules of the design
1. Start Nlview using the included "generic.edf" symbol file. Execute the program as follows:
On the PC Windows platforms:
cd demo
nlview -demo -symlib ..\symlib\generic.edf 8bit_alu.edf
On UNIX platforms:
cd demo
nlview -demo -symlib ../symlib/generic.edf 8bit_alu.edf
2. To generate and display the schematic for the top module "ALU_8BIT", just press the show top button with the mouse.
3. To manipulate the screen, you can press the full, fit, scale 1, Zoom-in, or Zoom-out buttons on the lower left of the display control area. The button "Zoom with rubber-band" requests rubber-band positions. You must press down the left mouse button, span the zoom area, and then release the mouse button.
Alternatively, you can use the mouse-strokes on the black graphic screen to perform a zoom fit, zoom out or zoom in function. To perform a mouse-stroke command, simply press any mouse button and draw a line on the black graphic screen. While you draw the mouse-stroke line, you will see the function echo. Scrolling is supported by scroll bars.
4. Components and nets can be selected with the left button of the mouse. If the selected item is not centered on the screen, the goto button will bring it to the center of the screen (unless you are in full-screen mode).
5. Now, use the left mouse button and select instance "U5" (module "SN54181") in the upper left area on the graphic screen. The "Selected" information line above the graphic screen tells you about the selected object.
6. The selected instance "U5" is a hierarchical module. To navigate down into the schematic of the "SN54181" module press the â page button on the command panel or alternatively double-click at the instance.
7. The button go up (near the page and sym buttons) navigates back one level of hierarchy.
Modify the sheet size of the generated schematics
8. From the top menu bar, select the Schematic pull-down. This will display a list containing the modules (schematics) contained in the ALU design. Load the "SN54181" module. On the tool's top menu bar, you will find a pull-down menu labeled Page. To load any of the pages of this module, pull down the "Page" menu and select any of the available pages (here there are only two pages). Also you can use the "next-page" or "previous-page" buttons to change the page number.
9. Use the pull-down menu Settings and select Make Schematic(s) to activate the Make Schematic dialog window. This window allows you to modify constraints for the schematic generator algorithms.
10. To modify the page size of the module "SN54181" select no limit in the Make Schematic dialog window and then press the remake button adjacent to the "SN54181" text. This removes the existing schematic of the "SN54181" module and creates a new schematic based on the new parameters. This time the schematic consists of only one single page. Press the Ok button to quit the Make Schematic(s) dialog window.
Signal Path Navigation
11. You have still loaded the module "SN54181". Now press the fit button to view the complete schematic.
12. Press the highlight... button to start a new pop-up window. Then use the choose button and select the file "sn54181.cri" (double-click). Then hit the "return/enter" key or use the read file button to accept the file "sn54181.cri". Now, you will see a list of paths usually generated by an external program.
13. To activate the first critical path, select it with the mouse (double click). The first segment of the path is highlighted on the graphic screen. Use the ï and ï buttons to traverse the path through the gates on the schematic display. The dialog window shows the cumulated delay time from the start of the path to the active net segment.
14. Use the button labeled all to highlight the complete path. The button center is used to center the display (if the highlighted net segment/path is not visible on the screen).
15. Press the cancel button in the pop-up window to quit the Highlight Signal Paths dialog.
ASCII netlist file reference
16. Now, start the ASCII File Display (AFD) from the File menu. The EDIF netlist source will appear in the lower portion of the display (The AFD also supports Verilog).
17. Use the mouse (left button) to select any component or net on the schematic. The corresponding EDIF source code is now located in the AFD window. The highlighted EDIF source text shows the netlist section where the selected object is defined.
18. You can also select elements in the ASCII source and see them highlighted on the display. This is useful for finding and tracing critical nets or instances, or if you modify the netlist with an text editor.
19. Use the File pull-down menu from the top menu bar and select Quit to quit the tool.
2.2 Hierarchical CPU design (Verilog)
20. Execute the program as follows:
On the PC Windows platforms:
nlview -demo -symlib ..\symlib\generic.edf -verilog cpu85.v
On the UNIX platforms:
nlview -demo -symlib ../symlib/generic.edf -verilog cpu85.v
This will load the Verilog netlist file "cpu85.v". The symbol shapes will be loaded from the symbol library file "generic.edf".
21. Again, start the ASCII File Display from the File menu. The Verilog netlist source will appear in the lower portion of the display.
22. Use the Schematic pull-down from the top menu bar to load the module "ALU_8BIT" of the design. Press fit to see the complete schematic.
23. Use the mouse and select any component or net on the display. Notice that the Verilog source is located in the AFD window showing where in the netlist the object came from. You can also select elements in the ASCII source and see them highlighted on the display.
24. Please watch at button page (command panel) while you select instances on the graphic screen. You will notice, that this button is only active if you have selected a hierarchical instance (instances: U5, U6, U7).
25. To quit the tool select File and Quit.
3 ETC
Further documentation:
It is easy to create YOUR own symbol library for any FPGA or ASIC technology. Concept Engineering provides a generic symbol library (use the enclosed file generic.edf plus the enclosed name mapping file generic.map to create private symbol libraries (see User Manual).