summaryrefslogtreecommitdiff
path: root/FPGA/codec_clock
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-06-13 16:06:19 +0200
committerPacien TRAN-GIRARD2014-06-13 16:06:19 +0200
commit70318492f3472ff2ec3b1735cf69a4eef1f6a51d (patch)
tree0f4243099ea9379bc164dc37a9fee3ab255f0f7e /FPGA/codec_clock
parentd091bb2cb82f66d187df8f3aba6afcf4041b72ce (diff)
downloadfpga-home-automation-70318492f3472ff2ec3b1735cf69a4eef1f6a51d.tar.gz
Update project
Diffstat (limited to 'FPGA/codec_clock')
-rw-r--r--FPGA/codec_clock/clock_divider.bsf61
-rw-r--r--FPGA/codec_clock/codec_clock.bdf112
-rw-r--r--FPGA/codec_clock/codec_clock.bsf50
-rw-r--r--FPGA/codec_clock/codec_clock.qpf30
-rw-r--r--FPGA/codec_clock/codec_clock.qsf78
-rw-r--r--FPGA/codec_clock/codec_clock.qwsbin0 -> 2276 bytes
6 files changed, 331 insertions, 0 deletions
diff --git a/FPGA/codec_clock/clock_divider.bsf b/FPGA/codec_clock/clock_divider.bsf
new file mode 100644
index 0000000..de8cb37
--- /dev/null
+++ b/FPGA/codec_clock/clock_divider.bsf
@@ -0,0 +1,61 @@
1/*
2WARNING: Do NOT edit the input and output ports in this file in a text
3editor if you plan to continue editing the block that represents it in
4the Block Editor! File corruption is VERY likely to occur.
5*/
6/*
7Copyright (C) 1991-2013 Altera Corporation
8Your use of Altera Corporation's design tools, logic functions
9and other software and tools, and its AMPP partner logic
10functions, and any output files from any of the foregoing
11(including device programming or simulation files), and any
12associated documentation or information are expressly subject
13to the terms and conditions of the Altera Program License
14Subscription Agreement, Altera MegaCore Function License
15Agreement, or other applicable license agreement, including,
16without limitation, that your use is for the sole purpose of
17programming logic devices manufactured by Altera and sold by
18Altera or its authorized distributors. Please refer to the
19applicable agreement for further details.
20*/
21(header "symbol" (version "1.1"))
22(symbol
23 (rect 16 16 176 96)
24 (text "clock_divider" (rect 5 0 56 12)(font "Arial" ))
25 (text "inst" (rect 8 64 20 76)(font "Arial" ))
26 (port
27 (pt 0 32)
28 (input)
29 (text "clk" (rect 0 0 10 12)(font "Arial" ))
30 (text "clk" (rect 21 27 31 39)(font "Arial" ))
31 (line (pt 0 32)(pt 16 32)(line_width 1))
32 )
33 (port
34 (pt 0 48)
35 (input)
36 (text "resetn" (rect 0 0 24 12)(font "Arial" ))
37 (text "resetn" (rect 21 43 45 55)(font "Arial" ))
38 (line (pt 0 48)(pt 16 48)(line_width 1))
39 )
40 (port
41 (pt 160 32)
42 (output)
43 (text "en_user" (rect 0 0 33 12)(font "Arial" ))
44 (text "en_user" (rect 106 27 139 39)(font "Arial" ))
45 (line (pt 160 32)(pt 144 32)(line_width 1))
46 )
47 (parameter
48 "board_frequency"
49 "50000000.0"
50 ""
51 (type "PARAMETER_SIGNED_FLOAT") )
52 (parameter
53 "user_frequency"
54 "4.0"
55 ""
56 (type "PARAMETER_SIGNED_FLOAT") )
57 (drawing
58 (rectangle (rect 16 16 144 64)(line_width 1))
59 )
60 (annotation_block (parameter)(rect 176 -64 276 16))
61)
diff --git a/FPGA/codec_clock/codec_clock.bdf b/FPGA/codec_clock/codec_clock.bdf
new file mode 100644
index 0000000..df9857d
--- /dev/null
+++ b/FPGA/codec_clock/codec_clock.bdf
@@ -0,0 +1,112 @@
1/*
2WARNING: Do NOT edit the input and output ports in this file in a text
3editor if you plan to continue editing the block that represents it in
4the Block Editor! File corruption is VERY likely to occur.
5*/
6/*
7Copyright (C) 1991-2013 Altera Corporation
8Your use of Altera Corporation's design tools, logic functions
9and other software and tools, and its AMPP partner logic
10functions, and any output files from any of the foregoing
11(including device programming or simulation files), and any
12associated documentation or information are expressly subject
13to the terms and conditions of the Altera Program License
14Subscription Agreement, Altera MegaCore Function License
15Agreement, or other applicable license agreement, including,
16without limitation, that your use is for the sole purpose of
17programming logic devices manufactured by Altera and sold by
18Altera or its authorized distributors. Please refer to the
19applicable agreement for further details.
20*/
21(header "graphic" (version "1.4"))
22(pin
23 (input)
24 (rect 128 104 296 120)
25 (text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
26 (text "clk" (rect 5 0 21 11)(font "Arial" ))
27 (pt 168 8)
28 (drawing
29 (line (pt 84 12)(pt 109 12))
30 (line (pt 84 4)(pt 109 4))
31 (line (pt 113 8)(pt 168 8))
32 (line (pt 84 12)(pt 84 4))
33 (line (pt 109 4)(pt 113 8))
34 (line (pt 109 12)(pt 113 8))
35 )
36 (text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6)))
37 (annotation_block (location)(rect 72 120 128 136))
38)
39(pin
40 (input)
41 (rect 128 120 296 136)
42 (text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
43 (text "resetn" (rect 5 0 37 11)(font "Arial" ))
44 (pt 168 8)
45 (drawing
46 (line (pt 84 12)(pt 109 12))
47 (line (pt 84 4)(pt 109 4))
48 (line (pt 113 8)(pt 168 8))
49 (line (pt 84 12)(pt 84 4))
50 (line (pt 109 4)(pt 113 8))
51 (line (pt 109 12)(pt 113 8))
52 )
53 (text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6)))
54 (annotation_block (location)(rect 64 136 128 152))
55)
56(pin
57 (output)
58 (rect 456 104 632 120)
59 (text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
60 (text "xti_mclk" (rect 90 0 131 11)(font "Arial" ))
61 (pt 0 8)
62 (drawing
63 (line (pt 0 8)(pt 52 8))
64 (line (pt 52 4)(pt 78 4))
65 (line (pt 52 12)(pt 78 12))
66 (line (pt 52 12)(pt 52 4))
67 (line (pt 78 4)(pt 82 8))
68 (line (pt 82 8)(pt 78 12))
69 (line (pt 78 12)(pt 82 8))
70 )
71 (annotation_block (location)(rect 632 120 696 136))
72)
73(symbol
74 (rect 296 80 456 160)
75 (text "clock_divider" (rect 5 0 71 11)(font "Arial" ))
76 (text "inst" (rect 8 64 26 75)(font "Arial" ))
77 (port
78 (pt 0 32)
79 (input)
80 (text "clk" (rect 0 0 15 11)(font "Arial" ))
81 (text "clk" (rect 21 27 36 38)(font "Arial" ))
82 (line (pt 0 32)(pt 16 32))
83 )
84 (port
85 (pt 0 48)
86 (input)
87 (text "resetn" (rect 0 0 31 11)(font "Arial" ))
88 (text "resetn" (rect 21 43 52 54)(font "Arial" ))
89 (line (pt 0 48)(pt 16 48))
90 )
91 (port
92 (pt 160 32)
93 (output)
94 (text "en_user" (rect 0 0 42 11)(font "Arial" ))
95 (text "en_user" (rect 104 27 146 38)(font "Arial" ))
96 (line (pt 160 32)(pt 144 32))
97 )
98 (parameter
99 "board_frequency"
100 "50000000.0"
101 ""
102 (type "PARAMETER_SIGNED_FLOAT") )
103 (parameter
104 "user_frequency"
105 "16666666.6"
106 ""
107 (type "PARAMETER_SIGNED_FLOAT") )
108 (drawing
109 (rectangle (rect 16 16 144 64))
110 )
111 (annotation_block (parameter)(rect 456 40 641 79))
112)
diff --git a/FPGA/codec_clock/codec_clock.bsf b/FPGA/codec_clock/codec_clock.bsf
new file mode 100644
index 0000000..c112470
--- /dev/null
+++ b/FPGA/codec_clock/codec_clock.bsf
@@ -0,0 +1,50 @@
1/*
2WARNING: Do NOT edit the input and output ports in this file in a text
3editor if you plan to continue editing the block that represents it in
4the Block Editor! File corruption is VERY likely to occur.
5*/
6/*
7Copyright (C) 1991-2013 Altera Corporation
8Your use of Altera Corporation's design tools, logic functions
9and other software and tools, and its AMPP partner logic
10functions, and any output files from any of the foregoing
11(including device programming or simulation files), and any
12associated documentation or information are expressly subject
13to the terms and conditions of the Altera Program License
14Subscription Agreement, Altera MegaCore Function License
15Agreement, or other applicable license agreement, including,
16without limitation, that your use is for the sole purpose of
17programming logic devices manufactured by Altera and sold by
18Altera or its authorized distributors. Please refer to the
19applicable agreement for further details.
20*/
21(header "symbol" (version "1.2"))
22(symbol
23 (rect 16 16 152 112)
24 (text "codec_clock" (rect 5 0 76 13)(font "Arial" (font_size 8)))
25 (text "inst" (rect 8 81 26 92)(font "Arial" ))
26 (port
27 (pt 0 32)
28 (input)
29 (text "clk" (rect 0 0 18 13)(font "Arial" (font_size 8)))
30 (text "clk" (rect 21 27 39 40)(font "Arial" (font_size 8)))
31 (line (pt 0 32)(pt 16 32))
32 )
33 (port