Previous

Copying the Tutorial Files

The schematic-on-top Calc tutorial files are located in the $XILINX/mentor/tutorial/calc_sot directory. To use the Copy operation in Design Manger to copy these files to a local area, perform the following steps:

  1. In the Navigator window, move to the directory where the tutorial files were installed.

  2. Select the calc_sot directory.

  3. To see the references in this design, Choose Right Mouse Button Report Show References For Design.

    A List of Unique References underneath the calc_sot directory is displayed. An example reference item might be:

    $XILINX_TUTORIAL/calc_sot/alu/alu:mgc_symbol[6]

    This indicates that an ALU symbol (version 6 under Mentor Graphics' versioning system) is referenced by the path $XILINX_TUTORIAL/calc_sot/alu/alu.

    All references in the design should contain either $LCA or $XILINX_TUTORIAL.

  4. Close the List of Unique References window.

  5. With the calc_sot directory selected in the Navigator window, choose Right Mouse Button Edit Copy.

  6. In the dialog box that appears, type the directory path where you want to copy the working copy of the tutorial files.

    For example, to copy the files to /home/dum/tutor/mentor, enter the following:

    /home/dum/tutor/mentor/calc_sot

  7. To keep the design references intact, select Options Convert References? No from the Copy dialog box.

    Normally, you allow Design Manager to update design references when you copy a design directory. In this case, however, you should leave the $XILINX_TUTORIAL reference intact. To make sure the proper directory is referenced, modify the MGC_LOCATION_MAP accordingly after you copy the tutorial design.

  8. Click OK to exit the Options dialog box.

  9. Click OK again to exit the Copy dialog box and start the Copy process.

  10. Use the Navigator to change directories to the location of the working copy of calc_sot. (In the example above, you would click the four-arrow button at the bottom of the Navigator window, then type /home/dum/tutor/mentor/calc_sot in the dialog box.)

  11. Modify your MGC_LOCATION_MAP file so that the $XILINX_TUTORIAL variable points to the directory where the copy of calc_sot is located. In the example above, change the $XILINX_TUTORIAL section of the file so that it reads:

    $XILINX_TUTORIAL
    /home/dum/tutor/mentor


  12. Read the newly modified location map into Design Architect by selecting MGC Location Map Read Map from the menu bar.

  13. In the dialog box that opens, type:

    $MGC_LOCATION_MAP

  14. Click OK.

    The $XILINX_TUTORIAL soft name now points to the new tutorial area.

Next