################################################################################
########################## Basic Directory Structure ###########################
################################################################################

# everything
*

# exclude the directory structure
!/adi_library/
!/adi_library/**/*
!/common/
!/common/**/*
!/custom_ips/
!/custom_ips/**/*
!/modules/
!/modules/**/*
!/projects/
!/projects/**/*
!/template/
!/template/**/*
!/.gitattributes
!/.gitignore
!/README.md

# include gitkeep in template directory only
.gitkeep
!/template/**/.gitkeep

################################################################################
############################### Modules Specific ###############################
################################################################################

# exclude everything in project directory
/modules/*/*/project/

################################################################################
############################# 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*
*~

# vivado workspace files
xsim.dir/
xvlog.pb
