modify project dir structure

all three modules are modified, dl814_k7 projects are modified, .gitignore is modified, README needs to update
This commit is contained in:
2023-03-26 01:19:11 +08:00
parent ade867ab22
commit 7a555fab92
5170 changed files with 9751239 additions and 2389576 deletions
+72 -83
View File
@@ -21,6 +21,78 @@
!/.gitignore
!/README.md
################################################################################
############################### Modules Specific ###############################
################################################################################
# exclude everything in project directory
/modules/*/*/project/
################################################################################
############################### Project Specific ###############################
################################################################################
# ------------------------------------------------------------------------------
# ------------------------------ Vivado Specific -------------------------------
# ------------------------------------------------------------------------------
# exclude everything in project directory
/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/**
/projects/*/*/project/*.sdk/**.log
# 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/
################################################################################
############################# Vivado & SDK Common ##############################
################################################################################
@@ -39,86 +111,3 @@
*.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/