Archived
gitignore structure is updated to work with single and multi project situation under a single project directory
132 lines
4.7 KiB
Plaintext
132 lines
4.7 KiB
Plaintext
# ################################################################################
|
|
# ########################### Single Project Specific ############################
|
|
# ################################################################################
|
|
|
|
# # ------------------------------------------------------------------------------
|
|
# # ------------------------------ Vivado Specific -------------------------------
|
|
# # ------------------------------------------------------------------------------
|
|
|
|
# # exclude everything in project directory
|
|
# project/**
|
|
|
|
# # include hardware manager projects and sources
|
|
# # 1. include `.hw` directory
|
|
# # 2. include everything in `.hw` directory
|
|
# !project/*.hw/
|
|
# !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
|
|
# !/project/*.runs/
|
|
# /project/*.runs/**
|
|
# !/project/*.runs/impl_*/
|
|
# !/project/*.runs/impl_*/*.bit
|
|
# !/project/*.runs/impl_*/*.ltx
|
|
|
|
# # ------------------------------------------------------------------------------
|
|
# # -------------------------------- SDK Specific --------------------------------
|
|
# # ------------------------------------------------------------------------------
|
|
|
|
# # include sdk directory and everything in it
|
|
# !/project/*.sdk/
|
|
# !/project/*.sdk/**
|
|
# /project/*.sdk/**.log
|
|
|
|
# # exclude some obscure hidden SDK folders
|
|
# /project/*.sdk/.metadata/
|
|
# /project/*.sdk/.sdk/
|
|
# /project/*.sdk/RemoteSystemsTempFiles/
|
|
# /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!
|
|
# /project/*.sdk/*_hw_platform_*/
|
|
|
|
# # BSP: only keep `.cproject`, `.project`, `.sdkproject`, `.system.mss` and
|
|
# # Makefile, ps lib files are regenerated automatically
|
|
# /project/*.sdk/*_bsp/*
|
|
# !/project/*.sdk/*_bsp/*.cproject
|
|
# !/project/*.sdk/*_bsp/*.project
|
|
# !/project/*.sdk/*_bsp/*.sdkproject
|
|
# !/project/*.sdk/*_bsp/system.mss
|
|
# !/project/*.sdk/*_bsp/Makefile
|
|
|
|
# # Application: ignored file patterns, exclude Debug & Release folders
|
|
# /project/*.sdk/**/*.o
|
|
# /project/*.sdk/**/*.d
|
|
# /project/*.sdk/**/*.a
|
|
# /project/*.sdk/*/Debug/
|
|
# /project/*.sdk/*/Release/
|
|
|
|
|
|
################################################################################
|
|
############################ Multi Project Specific ############################
|
|
################################################################################
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# ------------------------------ Vivado Specific -------------------------------
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# exclude everything in project directory expect for top level directory
|
|
project/**
|
|
!/project/*/
|
|
|
|
# include hardware manager projects and sources
|
|
# 1. include `.hw` directory
|
|
# 2. include everything in `.hw` directory
|
|
!project/*/*.hw/
|
|
!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
|
|
!/project/*/*.runs/
|
|
/project/*/*.runs/**
|
|
!/project/*/*.runs/impl_*/
|
|
!/project/*/*.runs/impl_*/*.bit
|
|
!/project/*/*.runs/impl_*/*.ltx
|
|
|
|
# ------------------------------------------------------------------------------
|
|
# -------------------------------- SDK Specific --------------------------------
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# include sdk directory and everything in it
|
|
!/project/*/*.sdk/
|
|
!/project/*/*.sdk/**
|
|
/project/*/*.sdk/**.log
|
|
|
|
# exclude some obscure hidden SDK folders
|
|
/project/*/*.sdk/.metadata/
|
|
/project/*/*.sdk/.sdk/
|
|
/project/*/*.sdk/RemoteSystemsTempFiles/
|
|
/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!
|
|
/project/*/*.sdk/*_hw_platform_*/
|
|
|
|
# BSP: only keep `.cproject`, `.project`, `.sdkproject`, `.system.mss` and
|
|
# Makefile, ps lib files are regenerated automatically
|
|
/project/*/*.sdk/*_bsp/*
|
|
!/project/*/*.sdk/*_bsp/*.cproject
|
|
!/project/*/*.sdk/*_bsp/*.project
|
|
!/project/*/*.sdk/*_bsp/*.sdkproject
|
|
!/project/*/*.sdk/*_bsp/system.mss
|
|
!/project/*/*.sdk/*_bsp/Makefile
|
|
|
|
# Application: ignored file patterns, exclude Debug & Release folders
|
|
/project/*/*.sdk/**/*.o
|
|
/project/*/*.sdk/**/*.d
|
|
/project/*/*.sdk/**/*.a
|
|
/project/*/*.sdk/*/Debug/
|
|
/project/*/*.sdk/*/Release/
|