Directory Structure

The directory structure generated by the GUI and make flows has been organized to allow you to easily find and access files. By navigating eachcompile,link,logs, andreportsdirectories, you can easily reach generated files. Similarly, each kernel will also have a directory structure created.

Command Line

When usingxoccon the command line, by default it creates a directory structure during compile and link. The.xoand.xclbinare always generated in the working directory. All the intermediate files are created under the_xdirectory (default name of thetemp_dir).

The following example shows the generated directory structure for twoxocccompile runs (k1 and k2) and onexocclink (design.xclbin). Thek1.xo,k2.xoanddesign.xclbinfiles are located in the working directory. The_xdirectory contains the associated k1 and k2 kernel compile sub-directories. Thelink,logs, andreportsdirectories contain the respective information on the builds.

Figure:Command Line Directory Structure



You can optionally change the directory structure using the followingxoccoptions:

--log_dir 
-–report_dir 
-–temp_dir 

SeeSDx Command and Utility Reference Guidefor details on thexocccommand options.

GUI

Though similar, the default directory naming and structure is not identical to that created by the makefile flow. The following example shows the generated directory structure for twoxocccompile runs (k1 and k2) and onexocclink (design.xclbin) automatically generated in the GUI flow. Thek1.xo,k2.xo, anddesign.xclbinfiles are located in the working directory. The_xdirectory contains the associated k1 and k2 kernel compile sub-directories. Again, the link, logs, and reports directories contain the respective information on the builds.

Figure:GUI Directory Structure



The GUI manages the creation of the directory structure using the followingxocccommand specifications which can be found in the makefile:

–-temp_dir
–-report_dir
–-log_dir

See theSDx Command and Utility Reference Guidefor details on thexocccommand options.