################################################################################ ########################## Basic Directory Structure ########################### ################################################################################ # everything * # exclude the directory structure !/adi_library/ !/adi_library/**/* !/common/ !/common/**/* !/custom_ips/ !/custom_ips/**/* !/modules/ !/modules/**/* !/projects/ !/projects/**/* !/template/ !/template/**/* !/.gitignore !/README.md ################################################################################ ############################# Vivado & SDK Common ############################## ################################################################################ # folders (and all of their contents) that should always be ignored, anywhere # in the repo .Xil/ # file patterns that should always be ignored (journal files, log files, dump # files that are created upon Vivado/SDK errors) *.jou *.log *.backup.jou *.backup.log *.upgrade_log *.dmp vivado_pid* *~ ################################################################################ ############################### Modules Specific ############################### ################################################################################ # exclude everything in project directory expect project tcl # 1. exclude everything in the project directory # 2. include project tcl /modules/*/*/project/** !/modules/*/*/project/*.tcl ################################################################################ ############################### Project Specific ############################### ################################################################################ # ------------------------------------------------------------------------------ # ------------------------------ Vivado Specific ------------------------------- # ------------------------------------------------------------------------------ # exclude everything in project directory expect project tcl # 1. exclude everything in the project directory # 2. include project tcl /projects/*/*/project/** !/projects/*/*/project/*.tcl # include project subdirectory structure only # 1. include project subdirectory # 2. exclude everything in subdirectory !/projects/*/*/project/*/ /projects/*/*/project/*/** # include hardware manager projects and sources # 1. include `.hw` directory # 2. include everything in `.hw` directory !/projects/*/*/project/*/*.hw/ !/projects/*/*/project/*/*.hw/** # include design run results # 1. include `*.runs` directory # 2. exclude everything in `.runs` directory # 3. include `.impl_*` directory # 4. include `*.bit` file in `.impl_*` directory # 5. include `*.ltx` file in `.impl_*` directory !/projects/*/*/project/*/*.runs/ /projects/*/*/project/*/*.runs/** !/projects/*/*/project/*/*.runs/impl_*/ !/projects/*/*/project/*/*.runs/impl_*/*.bit !/projects/*/*/project/*/*.runs/impl_*/*.ltx # ------------------------------------------------------------------------------ # -------------------------------- SDK Specific -------------------------------- # ------------------------------------------------------------------------------ # include sdk directory and everything in it !/projects/*/*/project/*/*.sdk/ !/projects/*/*/project/*/*.sdk/** # exclude some obscure hidden SDK folders /projects/*/*/project/*/*.sdk/.metadata/ /projects/*/*/project/*/*.sdk/.sdk/ /projects/*/*/project/*/*.sdk/RemoteSystemsTempFiles/ /projects/*/*/project/*/*.sdk/webtalk/ # hw_platform: exclude the entire hw_platform folder, as everything can be # generated from the .hdf file. Make sure to include the bitstream in the .hdf # file when exporting from Vivado! /projects/*/*/project/*/*.sdk/*_hw_platform_*/ # BSP: only keep `.cproject`, `.project`, `.sdkproject`, `.system.mss` and # Makefile, ps lib files are regenerated automatically /projects/*/*/project/*/*.sdk/*_bsp/* !/projects/*/*/project/*/*.sdk/*_bsp/*.cproject !/projects/*/*/project/*/*.sdk/*_bsp/*.project !/projects/*/*/project/*/*.sdk/*_bsp/*.sdkproject !/projects/*/*/project/*/*.sdk/*_bsp/system.mss !/projects/*/*/project/*/*.sdk/*_bsp/Makefile # Application: ignored file patterns, exclude Debug & Release folders /projects/*/*/project/*/*.sdk/**/*.o /projects/*/*/project/*/*.sdk/**/*.d /projects/*/*/project/*/*.sdk/**/*.a /projects/*/*/project/*/*.sdk/*/Debug/ /projects/*/*/project/*/*.sdk/*/Release/