This section contains information about the required Powerview software, installing the software, setting up your project libraries, and setting up to use LogiBLOX.
To run Powerview, you need the following versions of the development software.
The following instructions assume that you already installed and configured Powerview software. Please consult the Viewlogic documentation for details about installing and configuring Powerview.
Powerview uses the viewdraw.ini file to set up the ViewDraw environment. You modify the viewdraw.ini file manually.
The viewdraw.ini file contains the path and directory search order for your libraries. You must keep a copy of the viewdraw.ini file in each project directory so you can customize the library search order for each project.
The library search order format allows you to specify an unlimited number of directories, with only one primary directory, as well as the library directories search order. The order of the list of directories at the end of the viewdraw.ini file determines the search order.
Use the following syntax when adding libraries to the viewdraw.ini file.
DIR [type] path (alias)
Use the following table to determine which library to use for each particular Xilinx family member.
Family | Library |
---|---|
xc3000a, xc3000l and xc3100a | xc3000 |
xc4000e and xc4000l | xc4000e |
xc4000xl, and xc4000xv | xc4000x |
xc5200 | xc5200 |
xc9500 and xc9500f | xc9000 |
The xc4000ex library changed in M1.4. Any design using the xc4000xl or xc4000xv family uses the xc4000x library.
For existing M1.3 designs that use the xc4000x library, you must make the following modifications when upgrading to M1.x. Taking these steps enables both the old (xc4000ex) and the new (xc4000x) aliases to refer to the new library.
DIR [m] /xilinx_path/viewlog/data/xc4000x (xc4000x)
DIR [m] /xilinx_path/viewlog/data/xc4000x(xc4000ex)
You cannot mix different family libraries in the same project directory. Specify libraries from exactly one Xilinx family for each project directory.
The Xilinx Viewlogic library package includes the builtin library, a simplified version of the complete builtin library sold by Viewlogic. Use only the Xilinx-supplied builtin library (/xilinx_path/viewlog/data/builtin) in any Xilinx project directory.
You must add the simprims, builtin, and xbuiltin libraries (the Viewlogic simulation model libraries) to the viewdraw.ini file.
You cannot use the simprims, builtin, or xbuiltin libraries to capture your design.
When specifying the library search order, you must also add a library alias to each library directory. A library alias is a name that identifies a specific library directory along with the parts that it contains. The alias distinguishes identically named components from different libraries. You must specify, in parenthesis, in the viewdraw.ini file the aliases for each Xilinx library for proper netlist translation.
Library directories should conform to the search order shown in the following table.
Type | Path | Alias |
---|---|---|
p | /project_directory | primary |
m | /xilinx_path/viewlog/data/xc3000 | xc3000 |
m | /xilinx_path/viewlog/data/xc4000e | xc4000e |
m | /xilinx_path/viewlog/data/xc4000x | xc4000x |
m | /xilinx_path/viewlog/data/xc5200 | xc5200 |
m | /xilinx_path/viewlog/data/xc7000 | xc7000 |
m | /xilinx_path/viewlog/data/xc9000 | xc9000 |
r | /xilinx_path/viewlog/data/logiblox | logiblox |
m | /xilinx_path/viewlog/data/simprims | simprims |
m | /xilinx_path/viewlog/data/builtin | builtin |
m | /xilinx_path/viewlog/data/xbuiltin | xbuiltin |
Include the library alias names under the Library column. You must enter these aliases exactly as shown.
You can add user-defined libraries, but you must add them after the primary directory.
For a new XC4000XL/XV design on a workstation, ensure the library definition section looks like this.
DIR [p] .(primary)
DIR [m] /xilinx_path/viewlog/data/xc4000x (xc4000x)
DIR [r] /xilinx_path/viewlog/data/logiblox (logiblox)
DIR [m] /xilinx_path/viewlog/data/simprims (simprims)
DIR [m] /xilinx_path/viewlog/data/builtin (builtin)
DIR [m] /xilinx_path/viewlog/data/xbuiltin (xbuiltin)
Using the LogiBLOX Module Selector requires a few additional setup steps, depending on which type of simulation model you want LogiBLOX to create. This section outlines these steps.
Only the FPGA families support LogiBLOX modules. Do not use LogiBLOX Modules in CPLD (xc9500/F) designs.
When you use LogiBLOX for the first time in a new project, it checks your setup, allowing you to correct any setup problems at that time. If you want to have LogiBLOX do the setup for you, you need only review the Choosing Between VHDL and EDIF Models section.
For functional simulation purposes, LogiBLOX can create either behavioral VHDL models or gate-level EDIF models. Which type you choose depends on which VIEWlogic simulator you have available, as described in this section.
To use VHDL models, you must have a license for the FusionHDL or Fusion/Speedwave simulation engine (also known as Vantage). This simulation flow takes advantage of the mixed gate-VHDL capability of Fusion, modelling LogiBLOX modules in VHDL, the remainder of the schematic design modelled in gates.
If you do not have a Fusion/Speedwave license, use LogiBLOX to create EDIF models. These gate-level models translate into VIEWlogic WIR files, simulated by the standard Viewsim gate simulator.
Because VHDL model creation is faster that EDIF model creation in LogiBLOX, use VHDL models if your VIEWlogic environment supports it.
Specify the simulation model type in the LogiBLOX Setup dialog, as described in Adding LogiBLOX Components section of the Design Entry chapter.
The VHDL models created by LogiBLOX use some standard functions defined in the LogiBLOX VHDL library. Xilinx provides the VHDL source files for this library. Find these VHDL source files in the standard Xilinx installation area. You must analyze this library for Vantage. Make the analyzed library available at the time you create individual LogiBLOX modules.
You do not need to re-analyze the LogiBLOX library for every new project. However, a Vantage library is specific to the platform and operating system under which it was analyzed, so you must ensure that the library you use is correct for your environment.
To analyze the LogiBLOX VHDL library for Vantage, run the following command from the UNIX prompt.
vaninit parent_directory
This Xilinx-provided script creates a new logiblox.lib Vantage library directory under the parent_directory that you specify.
If you want to analyze the LogiBLOX library manually, follow these steps.
Your vsslib.ini file for each project using LogiBlox specifies the Vantage library created here. You can find more information about the vsslib.ini file in the Creating the vsslib.ini Library List File section.
LogiBLOX creates and then analyzes a VHDL simulation model into the current working Vantage library. Typically, you want this working library to reside under the VIEWlogic project directory. This section describes how to create a new Vantage library for this purpose. The following section describes how to designate this new library as the working library in vsslib.ini.
To create a new Vantage library under the project directory, move to the project directory and run the following command.
vanlibcreate logiview.lib LOGIVIEW
You can choose a different directory name and symbolic name for this library.
The vsslib.ini file tells the Vantage analysis tools (run from LogiBLOX) where to find the current working library, the analyzed LogiBLOX VHDL library, and the standard IEEE library.
The vsslib.ini file, a simple text file, lists the path to each Vantage library directory on a separate line. The first directory listed is considered the working library during analysis of LogiBLOX models. The order of directories is otherwise irrelevant.
The vsslib.ini file specifies the following directories.
The following example shows a complete vsslib.ini file.
/proj/designs/memmap/logiview.lib
/proj/vanlibs/xilinx/logiblox.lib
/tools/powerview/standard/van_vss/pgm/libs/ieee.lib
In this example, logiview.lib is the working library.