-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitignore
60 lines (53 loc) · 1.75 KB
/
.gitignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Blacklist everything at top-level
/*
# whitelist the .gitignore's, .gitmodule's, and READMEs
!.gitignore
!.gitmodules
!README.md
# whitelist expected folders and files
!/sdsoc/
!/vivado/
!/linux/
# ignore runs, cache, sdk workspace, Xilinx generated files, archives, and .dsa files in project folder
vivado*.jou
vivado*.log
/vivado/*/*.runs/
/vivado/*/*.cache/
/vivado/*/*.sdk/
!/vivado/*/*.ip_user_files/
/vivado/*/*.ip_user_files/*
!/vivado/*/*.ip_user_files/README.txt
/vivado/*/.Xil/
/vivado/*/*.log
/vivado/*/*.str
/vivado/*/*.jou
/vivado/*.dsa
/vivado/*/*.zip
# Also ignore the block diagram files, except those that are required to regenerate the ip.
# NOTE: This method of block diagram version control requires that the project be built at least once in
# the current version of Vivado before opening in a newer version
/vivado/*/*.srcs/sources_1/bd/*/*
!/vivado/*/*.srcs/sources_1/bd/*/ui/
!/vivado/*/*.srcs/sources_1/bd/*/*.bd
!/vivado/*/*.srcs/sources_1/bd/*/hdl/
/vivado/*/*.srcs/sources_1/bd/*/hdl/*
!/vivado/*/*.srcs/sources_1/bd/*/hdl/*_wrapper.vhd
!/vivado/*/*.srcs/sources_1/bd/*/hdl/*_wrapper.v
# ignore sdsoc workspace metadata and all projects except the platform project
/sdsoc/*
!/sdsoc/ultra96v2/
# also ignore outputs of platform
/sdsoc/*/export/
/sdsoc/*/logs/
# Ignore the dsa in the platform for space saving. It is copied manually with the copy_files.sh script
/sdsoc/*/_platform/
# Ignore files copied from other places in the project using copy_files.sh
/sdsoc/*/resources/prebuilt/bitstream.bit
/sdsoc/*/resources/prebuilt/*.hdf
/sdsoc/*/resources/**/lscript.ld
/sdsoc/*/resources/**/fsbl.elf
/sdsoc/*/resources/linux/boot/u-boot.elf
/sdsoc/*/resources/linux/image/image.ub
/sdsoc/*/resources/freertos/include/
# keep the empty folders
!**/.keep