Skip to content

Commit aa011b6

Browse files
committed
如果採用,此提交將新增忽略名單,提供Vivado與Quartus II Edition
修改項目: 模組: 議題
1 parent d9f2a76 commit aa011b6

1 file changed

Lines changed: 158 additions & 3 deletions

File tree

.gitignore

Lines changed: 158 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,162 @@
1-
# FPGA
2-
*.flock
1+
# Quartus II Edition
2+
# Working with Altera Quartus II (Q2) and do proper versioning is not that easy
3+
# but if you follow some rules it can be accomplished. :)
4+
# This file should be placed into the main directory where the .qpf file is
5+
# found. Generally Q2 throws all entities and so on in the main directory, but
6+
# you can place all stuff also in separate folders. This approach is followed
7+
# here. So when you create a new design create one or more folders where your
8+
# entities will be located and put a .gitignore in there that overrides the
9+
# ignores of this file, e.g. one single rule stating "!*" which allows now all
10+
# type of files. When you add a MegaFunction or another entity to your design,
11+
# simply add it to one of your private folders and Q2 will be happy and manage
12+
# everything quite good. When you want to do versioning of your generated
13+
# SOF/POF files, you can do this by redirecting the generated output to an own
14+
# folder. To do this go to:
15+
# "Assignments"
16+
# -> "Settings
17+
# -> "Compilation Process Settings"
18+
# -> "Save project output files in specified directory"
19+
# Now you can either place a .gitignore in the directory and allow the following
20+
# list of types:
21+
# !*.sof
22+
# !*.pof
23+
# or you create an own submodule in the folder to keep binary files out of your
24+
# design.
25+
26+
# Need to keep all HDL files
27+
# *.vhd
28+
# *.v
29+
30+
# ignore Quartus II generated files
31+
*_generation_script*
32+
*_inst.vhd
33+
*.bak
34+
*.cmp
35+
*.done
36+
*.eqn
37+
*.hex
38+
*.html
39+
*.jdi
40+
*.jpg
41+
# *.mif
42+
*.pin
43+
*.pof
44+
*.ptf.*
45+
*.qar
46+
*.qarlog
347
*.qws
4-
*.db_info
48+
*.rpt
49+
*.smsg
50+
*.sof
51+
*.sopc_builder
52+
*.summary
53+
*.tcl
54+
*.txt # Explicitly add any text files used
55+
*~
56+
*example*
57+
*sopc_*
58+
# *.sdc # I want those timing files
59+
60+
# ignore Quartus II generated folders
61+
*/db/
62+
*/incremental_db/
63+
*/simulation/
64+
*/timing/
65+
*/testbench/
66+
*/*_sim/
67+
incremental_db/
68+
db/
69+
_output_files/
70+
PLLJ_PLLSPE_INFO.txt
71+
72+
# Vivado
73+
74+
#########################################################################################################
75+
## This is an example .gitignore file for Vivado, please treat it as an example as
76+
## it might not be complete. In addition, XAPP 1165 should be followed.
77+
#########################################################################################################
78+
#########
79+
#Exclude all
80+
#########
81+
*
82+
!*/
83+
!.gitignore
84+
###########################################################################
85+
## VIVADO
86+
###########################################################################
87+
#########
88+
#Source files:
89+
#########
90+
#Do NOT ignore VHDL, Verilog, block diagrams or EDIF files.
91+
!*.vhd
92+
!*.v
93+
!*.bd
94+
!*.edif
95+
#########
96+
#IP files
97+
#########
98+
#.xci: synthesis and implemented not possible - you need to return back to the previous version to generate output products
99+
#.xci + .dcp: implementation possible but not re-synthesis
100+
#*.xci(www.spiritconsortium.org)
101+
!*.xci
102+
#*.dcp(checkpoint files)
103+
!*.dcp
104+
!*.vds
105+
!*.pb
106+
#All bd comments and layout coordinates are stored within .ui
107+
!*.ui
108+
!*.ooc
109+
#########
110+
#System Generator
111+
#########
112+
!*.mdl
113+
!*.slx
114+
!*.bxml
115+
#########
116+
#Simulation logic analyzer
117+
#########
118+
!*.wcfg
119+
!*.coe
120+
#########
121+
#MIG
122+
#########
123+
!*.prj
124+
!*.mem
125+
#########
126+
#Project files
127+
#########
128+
#XPR + *.XML ? XPR (Files are merged into a single XPR file for 2014.1 version)
129+
#Do NOT ignore *.xpr files
130+
!*.xpr
131+
#Include *.xml files for 2013.4 or earlier version
132+
!*.xml
133+
#########
134+
#Constraint files
135+
#########
136+
#Do NOT ignore *.xdc files
137+
!*.xdc
138+
#########
139+
#TCL - files
140+
#########
141+
!*.tcl
142+
#########
143+
#Journal - files
144+
#########
145+
!*.jou
146+
#########
147+
#Reports
148+
#########
149+
!*.rpt
150+
!*.txt
151+
!*.vdi
152+
#########
153+
#C-files
154+
#########
155+
!*.c
156+
!*.h
157+
!*.elf
158+
!*.bmm
159+
!*.xmp
5160

6161
# Byte-compiled / optimized / DLL files
7162
__pycache__/

0 commit comments

Comments
 (0)