summaryrefslogtreecommitdiff
path: root/FPGA/sound_gene
diff options
context:
space:
mode:
Diffstat (limited to 'FPGA/sound_gene')
-rw-r--r--FPGA/sound_gene/codec_clock.bsf50
-rw-r--r--FPGA/sound_gene/codec_config.bsf75
-rw-r--r--FPGA/sound_gene/codec_dac.bsf113
-rw-r--r--FPGA/sound_gene/dds_sinus.bsf68
-rw-r--r--FPGA/sound_gene/sound_gene.bdf597
-rw-r--r--FPGA/sound_gene/sound_gene.qsf5
-rw-r--r--FPGA/sound_gene/sound_gene.qwsbin897 -> 2280 bytes
-rw-r--r--FPGA/sound_gene/sound_gene.tcl98
8 files changed, 378 insertions, 628 deletions
diff --git a/FPGA/sound_gene/codec_clock.bsf b/FPGA/sound_gene/codec_clock.bsf
deleted file mode 100644
index c112470..0000000
--- a/FPGA/sound_gene/codec_clock.bsf
+++ /dev/null
@@ -1,50 +0,0 @@
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
34 (pt 0 48)
35 (input)
36 (text "resetn" (rect 0 0 36 13)(font "Arial" (font_size 8)))
37 (text "resetn" (rect 21 43 57 56)(font "Arial" (font_size 8)))
38 (line (pt 0 48)(pt 16 48))
39 )
40 (port
41 (pt 136 32)
42 (output)
43 (text "xti_mclk" (rect 0 0 48 13)(font "Arial" (font_size 8)))
44 (text "xti_mclk" (rect 67 27 115 40)(font "Arial" (font_size 8)))
45 (line (pt 136 32)(pt 120 32))
46 )
47 (drawing
48 (rectangle (rect 16 16 120 80))
49 )
50)
diff --git a/FPGA/sound_gene/codec_config.bsf b/FPGA/sound_gene/codec_config.bsf
deleted file mode 100644
index b2b4d9f..0000000
--- a/FPGA/sound_gene/codec_config.bsf
+++ /dev/null
@@ -1,75 +0,0 @@
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 184 128)
24 (text "codec_config" (rect 5 0 58 12)(font "Arial" ))
25 (text "inst" (rect 8 96 20 108)(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 168 32)
42 (output)
43 (text "end_config" (rect 0 0 43 12)(font "Arial" ))
44 (text "end_config" (rect 104 27 147 39)(font "Arial" ))
45 (line (pt 168 32)(pt 152 32)(line_width 1))
46 )
47 (port
48 (pt 168 48)
49 (output)
50 (text "i2c_scl" (rect 0 0 27 12)(font "Arial" ))
51 (text "i2c_scl" (rect 120 43 147 55)(font "Arial" ))
52 (line (pt 168 48)(pt 152 48)(line_width 1))
53 )
54 (port
55 (pt 168 64)
56 (bidir)
57 (text "i2c_sda" (rect 0 0 30 12)(font "Arial" ))
58 (text "i2c_sda" (rect 117 59 147 71)(font "Arial" ))
59 (line (pt 168 64)(pt 152 64)(line_width 1))
60 )
61 (parameter
62 "system_frequency"
63 "50000000.0"
64 ""
65 (type "PARAMETER_SIGNED_FLOAT") )
66 (parameter
67 "i2c_rate"
68 "20000.0"
69 ""
70 (type "PARAMETER_SIGNED_FLOAT") )
71 (drawing
72 (rectangle (rect 16 16 152 96)(line_width 1))
73 )
74 (annotation_block (parameter)(rect 184 -64 284 16))
75)
diff --git a/FPGA/sound_gene/codec_dac.bsf b/FPGA/sound_gene/codec_dac.bsf
deleted file mode 100644
index 695e7d0..0000000
--- a/FPGA/sound_gene/codec_dac.bsf
+++ /dev/null
@@ -1,113 +0,0 @@
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 272 160)
24 (text "codec_dac" (rect 5 0 48 12)(font "Arial" ))
25 (text "inst" (rect 8 128 20 140)(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 0 64)
42 (input)
43 (text "go" (rect 0 0 9 12)(font "Arial" ))
44 (text "go" (rect 21 59 30 71)(font "Arial" ))
45 (line (pt 0 64)(pt 16 64)(line_width 1))
46 )
47 (port
48 (pt 0 80)
49 (input)
50 (text "data_in[data_width-1..0]" (rect 0 0 90 12)(font "Arial" ))
51 (text "data_in[data_width-1..0]" (rect 21 75 111 87)(font "Arial" ))
52 (line (pt 0 80)(pt 16 80)(line_width 3))
53 )
54 (port
55 (pt 256 32)
56 (output)
57 (text "tempo_dac" (rect 0 0 44 12)(font "Arial" ))
58 (text "tempo_dac" (rect 191 27 235 39)(font "Arial" ))
59 (line (pt 256 32)(pt 240 32)(line_width 1))
60 )
61 (port
62 (pt 256 48)
63 (output)
64 (text "end_dac" (rect 0 0 34 12)(font "Arial" ))
65 (text "end_dac" (rect 201 43 235 55)(font "Arial" ))
66 (line (pt 256 48)(pt 240 48)(line_width 1))
67 )
68 (port
69 (pt 256 64)
70 (output)
71 (text "codec_dac_bclk" (rect 0 0 64 12)(font "Arial" ))
72 (text "codec_dac_bclk" (rect 171 59 235 71)(font "Arial" ))
73 (line (pt 256 64)(pt 240 64)(line_width 1))
74 )
75 (port
76 (pt 256 80)
77 (output)
78 (text "codec_dac_data" (rect 0 0 66 12)(font "Arial" ))
79 (text "codec_dac_data" (rect 169 75 235 87)(font "Arial" ))
80 (line (pt 256 80)(pt 240 80)(line_width 1))
81 )
82 (port
83 (pt 256 96)
84 (output)
85 (text "codec_dac_lrck" (rect 0 0 63 12)(font "Arial" )) <