|
1 | | -# Working with Altera Quartus II (Q2) and do proper versioning is not that easy |
2 | | -# but if you follow some rules it can be accomplished. :) |
3 | | -# This file should be placed into the main directory where the .qpf file is |
4 | | -# found. Generally Q2 throws all entities and so on in the main directory, but |
5 | | -# you can place all stuff also in separate folders. This approach is followed |
6 | | -# here. So when you create a new design create one or more folders where your |
7 | | -# entities will be located and put a .gitignore in there that overrides the |
8 | | -# ignores of this file, e.g. one single rule stating "!*" which allows now all |
9 | | -# type of files. When you add a MegaFunction or another entity to your design, |
10 | | -# simply add it to one of your private folders and Q2 will be happy and manage |
11 | | -# everything quite good. When you want to do versioning of your generated |
12 | | -# SOF/POF files, you can do this by redirecting the generated output to an own |
13 | | -# folder. To do this go to: |
14 | | -# "Assignments" |
15 | | -# -> "Settings |
16 | | -# -> "Compilation Process Settings" |
17 | | -# -> "Save project output files in specified directory" |
18 | | -# Now you can either place a .gitignore in the directory and allow the following |
19 | | -# list of types: |
20 | | -# !*.sof |
21 | | -# !*.pof |
22 | | -# or you create an own submodule in the folder to keep binary files out of your |
23 | | -# design. |
24 | | - |
25 | | -# ignore hdl source files in top level directory |
26 | | -*.vhd |
27 | | -*.v |
28 | | - |
29 | | -# ignore Quartus II generated files |
30 | | -*sopc_* |
31 | | -*.jdi |
32 | | -*.ptf.* |
33 | | -*.sof |
34 | | -*.pof |
35 | | -*.qws |
36 | | -*.smsg |
37 | | -*_inst.vhd |
38 | | -*_generation_script* |
39 | | -*.done |
40 | | -*.txt |
41 | | -*.qarlog |
42 | | -*.rpt |
43 | | -*.summary |
44 | | -*.qws |
45 | | -*.cmp |
46 | | -*.eqn |
47 | | -*.html |
48 | | -*.jpg |
49 | | -*.bak |
50 | | -*.qar |
51 | | -*.sopc_builder |
52 | | -*example* |
53 | | -*~ |
54 | | -*.sdc |
55 | | -*.tcl |
56 | | -*.pin |
57 | | -*.mif |
58 | | - |
59 | | -# ignore Quartus II generated folders |
60 | | -db/ |
61 | | -incremental_db/ |
62 | | -simulation/ |
63 | | -timing/ |
64 | | -testbench/ |
65 | | -*_sim/ |
66 | | - |
| 1 | +# Working with Altera Quartus II (Q2) and do proper versioning is not that easy |
| 2 | +# but if you follow some rules it can be accomplished. :) |
| 3 | +# This file should be placed into the main directory where the .qpf file is |
| 4 | +# found. Generally Q2 throws all entities and so on in the main directory, but |
| 5 | +# you can place all stuff also in separate folders. This approach is followed |
| 6 | +# here. So when you create a new design create one or more folders where your |
| 7 | +# entities will be located and put a .gitignore in there that overrides the |
| 8 | +# ignores of this file, e.g. one single rule stating "!*" which allows now all |
| 9 | +# type of files. When you add a MegaFunction or another entity to your design, |
| 10 | +# simply add it to one of your private folders and Q2 will be happy and manage |
| 11 | +# everything quite good. When you want to do versioning of your generated |
| 12 | +# SOF/POF files, you can do this by redirecting the generated output to an own |
| 13 | +# folder. To do this go to: |
| 14 | +# "Assignments" |
| 15 | +# -> "Settings |
| 16 | +# -> "Compilation Process Settings" |
| 17 | +# -> "Save project output files in specified directory" |
| 18 | +# Now you can either place a .gitignore in the directory and allow the following |
| 19 | +# list of types: |
| 20 | +# !*.sof |
| 21 | +# !*.pof |
| 22 | +# or you create an own submodule in the folder to keep binary files out of your |
| 23 | +# design. |
| 24 | + |
| 25 | +# ignore hdl source files in top level directory |
| 26 | +*.vhd |
| 27 | +*.v |
| 28 | + |
| 29 | +# ignore Quartus II generated files |
| 30 | +*sopc_* |
| 31 | +*.jdi |
| 32 | +*.ptf.* |
| 33 | +*.sof |
| 34 | +*.pof |
| 35 | +*.qws |
| 36 | +*.smsg |
| 37 | +*_inst.vhd |
| 38 | +*_generation_script* |
| 39 | +*.done |
| 40 | +*.txt |
| 41 | +*.qarlog |
| 42 | +*.rpt |
| 43 | +*.summary |
| 44 | +*.qws |
| 45 | +*.cmp |
| 46 | +*.eqn |
| 47 | +*.html |
| 48 | +*.jpg |
| 49 | +*.bak |
| 50 | +*.qar |
| 51 | +*.sopc_builder |
| 52 | +*example* |
| 53 | +*~ |
| 54 | +*.sdc |
| 55 | +*.tcl |
| 56 | +*.pin |
| 57 | +*.mif |
| 58 | + |
| 59 | +# ignore Quartus II generated folders |
| 60 | +db/ |
| 61 | +incremental_db/ |
| 62 | +simulation/ |
| 63 | +timing/ |
| 64 | +testbench/ |
| 65 | +*_sim/ |
| 66 | + |
0 commit comments