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:
- In the Navigator window, move to the directory where the tutorial files were installed.
- Select the calc_sot directory.
- 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.
- Close the List of Unique References window.
- With the calc_sot directory selected in the Navigator window, choose Right Mouse Button Edit Copy.
- 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
- 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.
- Click OK to exit the Options dialog box.
- Click OK again to exit the Copy dialog box and start the Copy process.
- 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.)
- 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
- Read the newly modified location map into Design Architect by selecting MGC Location Map Read Map from the menu bar.
- In the dialog box that opens, type:
$MGC_LOCATION_MAP
- Click OK.
The $XILINX_TUTORIAL soft name now points to the new tutorial area.