Archived
update gitignore and project recreation script
This commit is contained in:
+35
-10
@@ -3,14 +3,21 @@
|
||||
################################################################################
|
||||
|
||||
# everything
|
||||
/*
|
||||
*
|
||||
|
||||
# exclude the directory structure
|
||||
!/adi_library/
|
||||
!/adi_library/**/*
|
||||
!/common/
|
||||
!/common/**/*
|
||||
!/custom_ips/
|
||||
!/custom_ips/**/*
|
||||
!/modules/
|
||||
!/modules/**/*
|
||||
!/projects/
|
||||
!/projects/**/*
|
||||
!/template/
|
||||
!/template/**/*
|
||||
!/.gitignore
|
||||
!/README.md
|
||||
|
||||
@@ -37,9 +44,11 @@ vivado_pid*
|
||||
############################### Modules Specific ###############################
|
||||
################################################################################
|
||||
|
||||
# exclude project dir expect project tcl
|
||||
/modules/*/*/project/*/*
|
||||
!/modules/*/*/project/*/*.tcl
|
||||
# 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 ###############################
|
||||
@@ -49,18 +58,33 @@ vivado_pid*
|
||||
# ------------------------------ Vivado Specific -------------------------------
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
# exclude project dir except project tcl
|
||||
/projects/*/*/project/*/*
|
||||
!/projects/*/*/project/*/*.tcl
|
||||
# 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/**
|
||||
!/projects/*/*/project/*/*.runs/impl_*/
|
||||
/projects/*/*/project/*/*.runs/impl_*/*
|
||||
!/projects/*/*/project/*/*.runs/impl_*/*.bit
|
||||
!/projects/*/*/project/*/*.runs/impl_*/*.ltx
|
||||
|
||||
@@ -68,8 +92,9 @@ vivado_pid*
|
||||
# -------------------------------- SDK Specific --------------------------------
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
# include sdk dir except project tcl
|
||||
# include sdk directory and everything in it
|
||||
!/projects/*/*/project/*/*.sdk/
|
||||
!/projects/*/*/project/*/*.sdk/**
|
||||
|
||||
# exclude some obscure hidden SDK folders
|
||||
/projects/*/*/project/*/*.sdk/.metadata/
|
||||
|
||||
Reference in New Issue
Block a user