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