This appendix provides information on setting up the Viewlogic interface and project libraries. Included are examples for assigning location constraints and timing specifications. The following sections are included in this chapter.
The following documentation is available for the Viewlogic interface.
In addition to the environment variables described in the Installing the Software chapter, the following environment variables must be modified or added to run the Viewlogic tools.
In addition to the variables set for the Xilinx implementation tools, these variables should be set as follows.
setenv POWERVIEW <installation_path_to_viewlogic>
setenv WDIR $XILINX/viewlog/data/logiblox/standard:$POWERVIEW/standard
setenv VANTAGE_VSS $POWERVIEW/standard/van_vss
set path = ($POWERVIEW \
$VANTAGE_VSS/pgm/dir \
$path)
setenv LM_LICENSE_FILE <path_to_viewlogic_license_file>:$LM_LICENSE_FILE
For Solaris only.
setenv LD_LIBRARY_PATH $POWERVIEW/standard/fusion:$LD_LIBRARY_PATH
For HP/UX only.
setenv SHLIB_PATH $POWERVIEW/standard/fusion:$SHLIB_PATH
The previous settings assume that the XILINX, LD_LIBRARY_PATH, SHLIB_PATH, and LM_LICENSE_FILE environment variables have been previously assigned to point to the appropriate areas. The POWERVIEW variable is not required by Xilinx or by the Viewlogic software. It is used to simplify these environment variable settings.
In addition to the environment variables described in the Installing the Software chapter, the following environment variables must be modified or added to run the Viewlogic interface tools on a PC.
These variables are modified/added in the following manner by the Workview Office installation software. The following examples assume that all the software has been installed to the default locations on the C:\ drive. If these default paths have been changed, the environment settings must change accordingly.
PATH=C:\WVOFFICE;%PATH%
SET WDIR=C:\WVOFFICE\STANDARD
SET VANTAGE_VSS=C:\WVOFFICE\V
SET VANTAGE_CC=C:\WVOFFICE\CL
SET LM_LICENSE_FILE=C:\WVOFFICE\STANDARD\LICENSE.DAT,; C:XILINX\DATA\LICENCE.DAT
The LM_LICENSE_FILE must be set exactly as shown, with a comma and semicolon(,;) between the two paths if Workview Office 7.31 or older is used. This is because Viewlogic and Xilinx use different versions of Flex/LM licensing which use different delimiters in this variable. The comma is not required for Workview Office 7.4 or newer.
For Windows NT 4.0 users only, select the following.
Start Settings
Control Panel
Double click on the System icon and select the Environment tab. Verify the settings previously shown are listed in either the System Variables section or the User Variables section. They do not appear exactly as shown in the previous example; the variable is shown under the Variable header and the path is shown under the Value header. The word set does not appear.
For Windows 95 users only, run SYSEDIT to open the AUTOEXEC.BAT file, and verify the environment settings are as previously shown.
The following figure shows the Viewlogic interface design flow.
Figure E.1 Viewlogic/Xilinx Software Design Flow |
The Viewlogic Design Flow includes the following steps.
The option Xilinx must be entered as the level name for EDIFNETO.
This section describes project library setup for the workstation and the PC.
The first step before creating or modifying a design in ViewDraw is to set up the project libraries. When creating a Viewlogic design to be processed by the Xilinx Alliance Series Design Implementation Tools, the Unified Libraries must be used. These libraries must be defined in the viewdraw.ini file located in the project's working directory.
To define a library in the viewdraw.ini, it must be added to the search order at the end of the viewdraw.ini file.
The Xilinx Libraries for use with Viewlogic schematic entry tools are located in $XILINX/viewlog/data. Directories exist for all the supported Xilinx families as well as LogiBLOX and the required Simprims, Builtin, and Xbuiltin libraries.
The following example is a library search order needed to create an XC4000EX design.
dir [p] . (primary)
dir [rm] /tools/xilinx/viewlog/data/xc4000x (xc4000x)
dir [r] /tools/xilinx/viewlog/data/logiblox (logiblox)
dir [rm] /tools/xilinx/viewlog/data/simprims (simprims)
dir [rm] /tools/xilinx/viewlog/data/builtin (builtin)
dir [rm] /tools/xilinx/viewlog/data/xbuiltin (xbuiltin)
The XC4000X library and alias were new with the 1.4 version of the Xilinx software. This library is used for all XC4000EX/XL/XV designs. To use the 1.4 libraries with designs created with previous versions of the software, add the following line to the viewdraw.ini file before the LogiBLOX line.
dir [rm] /tools/xilinx/viewlog/data/xc4000x (xc4000ex)
Features of this search order.
Once the environment variables have been set and the libraries have been defined, you may begin your schematic design work. The one Xilinx feature within ViewDraw is the addition of two new commands under the pull-down menus.
The first step before creating or modifying a design in ViewDraw is to set up the project libraries. When creating a Viewlogic design to be processed by the M1 Alliance Series Design Implementation Tools, the M1 Libraries must be used. These libraries must be defined in the Viewlogic project file (VPJ).
Use the Workview Office Project Manager to make any modifications to the project libraries. Do not directly modify the viewdraw.ini file.
The Xilinx Libraries for use with Viewlogic schematic entry tools are located in C:\XILINX\VIEWLOG\DATA. Directories exist for all the supported Xilinx families as well as LogiBLOX and the required Simprims, Builtin, and Xbuiltin libraries.
The following is the library search order needed to create an XC4000EX design.
dir [p] . (primary)
dir [rm] C:\xilinx\viewlog\data\xc4000x (xc4000x)
dir [r] C:\xilinx\viewlog\data\logiblox (logiblox)
dir [rm] C:\xilinx\viewlog\data\simprims (simprims)
dir [rm] C:\xilinx\viewlog\data\builtin (builtin)
dir [rm] C:\xilinx\viewlog\data\xbuiltin (xbuiltin)
For information about how to use the Workview Office Project Manager to define the project libraries, refer to the Viewlogic Interface/Tutorial Guide.
NOTE The XC4000X library and alias were new with the 1.4 version of the Xilinx software. This library is used for all XC4000EX/XL/XV designs. To use the 1.4 libraries with designs created with previous versions of the software, add the following line to the viewdraw.ini file before the LogiBLOX line.
dir [rm] C:\xilinx\viewlog\data\xc4000x (xc4000ex)
Features of this search order.
After the environment variables are set and the libraries are defined, you can start your schematic design. In the Viewlogic interface, there are five new commands in the Tools menu. You must initialize these commands in MS-DOS as shown in the following table.
To initialize the two LogiBLOX commands, enter the following.
custmenu xilinx-path\viewlog\data\viewblox.txt
To initialize the three Xilinx flow commands, enter the appropriate command for your version of Windows.
For Windows 95, enter the following command.
custmenu xilinx-path\viewlog\data\xvdraw95.txt
Windows NT, enter the following command.
custmenu xilinx-path\viewlog\data\xvdrawnt.txt
You should see the following five commands in the ViewDraw Tools menu.
Command | Function |
---|---|
Add LogiBLOX | Use to create LogiBLOX components |
Change LogiBLOX | Use to modify an existing LogiBLOX component |
Write Xilinx EDIF | Use to create the EDIF netlist to pass to the Design Manager |
Xilinx Functional Simulation | Use to prepare a design with uncompiled elements for a functional simulation |
Read Xilinx Timing EDIF | Use to transfer the annotated EDIF to Workview Office for a timing simulation |
See the Viewlogic Interface/Tutorial Guide for more information on these commands. Also, refer to the Using LogiBLOX with CAE Interfaces appendix for more information on LogiBLOX.
To assign the location of a pin to a specific pad location, simply add a location constraint attribute to that pad on the schematic.
Bus-wide pads (that is IPAD16) must be constrained within a user constraints file (.ucf).
Timing constraints may be placed via the TIMESPEC symbol in the design. The TIMESPEC symbol is found in the Xilinx family library (for example., XC4000X). After placing this symbol on the top level of your design, the timespecs are added as properties of this symbol. The Timespec label (the label that begins with TS) is entered in the Name field, while the timing specification (e.g., FROM:FFS:TO:FFS=30ns) is entered in the Value field.
For more information on this subject, refer to the Viewlogic Interface/Tutorial Guide. For more information on timing constraints, see the Development System Reference Guide.