Previous

Software Installation

Required Software

The following versions of software are required to perform this tutorial:

Before Beginning the Tutorial

Before beginning the tutorial, set up your workstation to use Mentor Graphics and XACT Development System software as follows:

  1. Verify that your system is properly configured.

    Consult the release notes that came with your software package for more information.

  2. Install the following sets of software:

  3. Verify the installation, using the “Configuring Your System” section of the “Getting Started” chapter as a guide.

  4. Add a reference to $XILINX_TUTORIAL to your MGC_LOCATION_MAP file.

    All of the tutorial designs use the variable $XILINX_TUTORIAL as part of their path references. For example, the design object alu in the $XILINX/mentor/tutorial/calc_sot directory uses the path reference $XILINX_TUTORIAL/calc_sot/alu to define where it is located in the directory structure.

    With this definition added to the location map as defined in the “Getting Started” chapter, the complete location-map file should, at a minimum, look like:

    MGC_LOCATION_MAP_1
    (empty line)
    $MGC_GENLIB
    (empty line)
    $LCA
    (empty line)
    $SIMPRIMS
    (empty line)
    $XILINX_TUTORIAL
    /home/bclinton/mentor/xtutorial

    This assumes the Xilinx tutorial files have been placed under
    /home/bclinton/mentor/xtutorial. For example, the full path to the schematic-on-top tutorial would be /home/bclinton/mentor/xtutorial/calc_sot

    Refer to the “Schematic Design Tutorial” chapter or the Mentor Graphics documentation for more information on location maps.

Installing the Tutorial

The tutorial files are optionally installed when you install the Xilinx/Mentor Graphics interface software. If you have already installed the software, but are not sure whether you specified tutorial installation, check your software installation for a $XILINX/mentor/tutorial directory. This directory contains the tutorial files.

Standard Directory Structure

When a design object is created in Mentor Graphics, a directory is created in the project directory with the same name as the design object. This directory contains a schematic directory, symbol files, viewpoint files, and part interfaces. The directory is identified as a design object by the file, design_name.mgc_component.attr, that resides at the same level as the directory which has the name. For example, if a schematic named calc is created, a calc directory is created, and at the same level the file, calc.mgc_component.attr, is created. The calc directory contains all the files that describe calc.


NOTE

In this tutorial, file names and directory names are in lower case and the design example is referred to as Calc.


Tutorial Directory and Files

You will complete the Calc design in this tutorial. During the tutorial installation, the $XILINX/mentor/tutorial directory is created; design object directories are created; and the tutorial files needed to complete the design are copied to the calc_sot directory. Some of the files you need to complete the tutorial design are not copied, because you create these files in the tutorial. However, solutions directories with all input and output files are provided. They are located in the $XILINX/mentor/tutorial directory and are listed in the following table:

Table 10_1 Tutorial Design Directories

Directory
Description
calc_sch
Schematic (Design Architect) tutorial directory
calc_4ke
Schematic solution directory for XC4003E-PC84
calc_9k
Schematic solution directory for XC95108-PC84
calc_sot
Schematic-on-top tutorial directory (uses XC4003E)

The solution directories contain the design files for the completed tutorial, including schematics, intermediate directories, and the bitstream file. Different intermediate files are created for different device families. Do not overwrite any files in the solutions directories.

The calc_sot directory contains the incomplete copy of the tutorial design. The installation program copies a few intermediate files to the calc_sot tutorial directory, and you create the remaining files when you perform the tutorial. In a later step, you copy the calc_sot directory to another area and perform the tutorial in this new area. Each design component directory has associated with it a file called filename.mgc_component.attr. This file identifies the corresponding directory as a Mentor Graphics design component.

Next