Skip to content

Commit f1a3883

Browse files
committed
Clean up the code and comment extensively - part 2
0 parents  commit f1a3883

40 files changed

+6257
-0
lines changed

.gitignore

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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

C5G_2HDMI.cdf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/* Quartus Prime Version 21.1.0 Build 842 10/21/2021 SJ Lite Edition */
2+
JedecChain;
3+
FileRevision(JESD32A);
4+
DefaultMfr(6E);
5+
6+
P ActionCode(Cfg)
7+
Device PartName(5CGXFC5C6F27) Path("C:/src/FPGA/C5G_2HDMI/") File("C5G_2HDMI.sof") MfrSpec(OpMask(1));
8+
9+
ChainEnd;
10+
11+
AlteraBegin;
12+
ChainType(JTAG);
13+
AlteraEnd;

0 commit comments

Comments
 (0)