From 70318492f3472ff2ec3b1735cf69a4eef1f6a51d Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Fri, 13 Jun 2014 16:06:19 +0200 Subject: Update project --- FPGA/sound_gene/sound_gene.bdf | 927 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 927 insertions(+) create mode 100644 FPGA/sound_gene/sound_gene.bdf (limited to 'FPGA/sound_gene/sound_gene.bdf') diff --git a/FPGA/sound_gene/sound_gene.bdf b/FPGA/sound_gene/sound_gene.bdf new file mode 100644 index 0000000..d66c011 --- /dev/null +++ b/FPGA/sound_gene/sound_gene.bdf @@ -0,0 +1,927 @@ +/* +WARNING: Do NOT edit the input and output ports in this file in a text +editor if you plan to continue editing the block that represents it in +the Block Editor! File corruption is VERY likely to occur. +*/ +/* +Copyright (C) 1991-2013 Altera Corporation +Your use of Altera Corporation's design tools, logic functions +and other software and tools, and its AMPP partner logic +functions, and any output files from any of the foregoing +(including device programming or simulation files), and any +associated documentation or information are expressly subject +to the terms and conditions of the Altera Program License +Subscription Agreement, Altera MegaCore Function License +Agreement, or other applicable license agreement, including, +without limitation, that your use is for the sole purpose of +programming logic devices manufactured by Altera and sold by +Altera or its authorized distributors. Please refer to the +applicable agreement for further details. +*/ +(header "graphic" (version "1.4")) +(pin + (input) + (rect 88 56 256 72) + (text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6))) + (text "clk" (rect 5 0 20 11)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 84 12)(pt 109 12)) + (line (pt 84 4)(pt 109 4)) + (line (pt 113 8)(pt 168 8)) + (line (pt 84 12)(pt 84 4)) + (line (pt 109 4)(pt 113 8)) + (line (pt 109 12)(pt 113 8)) + ) + (text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 32 72 88 88)) +) +(pin + (input) + (rect 88 72 256 88) + (text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6))) + (text "resetn" (rect 5 0 36 11)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 84 12)(pt 109 12)) + (line (pt 84 4)(pt 109 4)) + (line (pt 113 8)(pt 168 8)) + (line (pt 84 12)(pt 84 4)) + (line (pt 109 4)(pt 113 8)) + (line (pt 109 12)(pt 113 8)) + ) + (text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 24 88 88 104)) +) +(pin + (input) + (rect 88 88 256 104) + (text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6))) + (text "alarm" (rect 5 0 34 11)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 84 12)(pt 109 12)) + (line (pt 84 4)(pt 109 4)) + (line (pt 113 8)(pt 168 8)) + (line (pt 84 12)(pt 84 4)) + (line (pt 109 4)(pt 113 8)) + (line (pt 109 12)(pt 113 8)) + ) + (text "VCC" (rect 128 7 149 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 16 104 88 120)) +) +(pin + (output) + (rect 88 104 264 120) + (text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6))) + (text "end_config" (rect 90 0 145 11)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)) + (line (pt 52 4)(pt 78 4)) + (line (pt 52 12)(pt 78 12)) + (line (pt 52 12)(pt 52 4)) + (line (pt 78 4)(pt 82 8)) + (line (pt 82 8)(pt 78 12)) + (line (pt 78 12)(pt 82 8)) + ) + (annotation_block (location)(rect 264 120 336 136)) +) +(pin + (output) + (rect 88 136 264 152) + (text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6))) + (text "i2c_sclk" (rect 90 0 131 11)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)) + (line (pt 52 4)(pt 78 4)) + (line (pt 52 12)(pt 78 12)) + (line (pt 52 12)(pt 52 4)) + (line (pt 78 4)(pt 82 8)) + (line (pt 82 8)(pt 78 12)) + (line (pt 78 12)(pt 82 8)) + ) + (annotation_block (location)(rect 264 152 320 168)) +) +(pin + (output) + (rect 88 152 264 168) + (text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6))) + (text "aud_bclk" (rect 90 0 136 11)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)) + (line (pt 52 4)(pt 78 4)) + (line (pt 52 12)(pt 78 12)) + (line (pt 52 12)(pt 52 4)) + (line (pt 78 4)(pt 82 8)) + (line (pt 82 8)(pt 78 12)) + (line (pt 78 12)(pt 82 8)) + ) + (annotation_block (location)(rect 264 168 320 184)) +) +(pin + (output) + (rect 88 168 264 184) + (text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6))) + (text "aud_dacdat" (rect 90 0 149 11)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)) + (line (pt 52 4)(pt 78 4)) + (line (pt 52 12)(pt 78 12)) + (line (pt 52 12)(pt 52 4)) + (line (pt 78 4)(pt 82 8)) + (line (pt 82 8)(pt 78 12)) + (line (pt 78 12)(pt 82 8)) + ) + (annotation_block (location)(rect 264 184 320 200)) +) +(pin + (output) + (rect 88 184 264 200) + (text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6))) + (text "aud_daclrck" (rect 90 0 151 11)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)) + (line (pt 52 4)(pt 78 4)) + (line (pt 52 12)(pt 78 12)) + (line (pt 52 12)(pt 52 4)) + (line (pt 78 4)(pt 82 8)) + (line (pt 82 8)(pt 78 12)) + (line (pt 78 12)(pt 82 8)) + ) + (annotation_block (location)(rect 264 200 320 216)) +) +(pin + (output) + (rect 88 200 264 216) + (text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6))) + (text "aud_xck" (rect 90 0 132 11)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)) + (line (pt 52 4)(pt 78 4)) + (line (pt 52 12)(pt 78 12)) + (line (pt 52 12)(pt 52 4)) + (line (pt 78 4)(pt 82 8)) + (line (pt 82 8)(pt 78 12)) + (line (pt 78 12)(pt 82 8)) + ) + (annotation_block (location)(rect 264 216 320 232)) +) +(pin + (output) + (rect 88 216 264 232) + (text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6))) + (text "xti_mclk" (rect 90 0 131 11)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)) + (line (pt 52 4)(pt 78 4)) + (line (pt 52 12)(pt 78 12)) + (line (pt 52 12)(pt 52 4)) + (line (pt 78 4)(pt 82 8)) + (line (pt 82 8)(pt 78 12)) + (line (pt 78 12)(pt 82 8)) + ) + (annotation_block (location)(rect 264 232 328 248)) +) +(pin + (output) + (rect 88 232 264 248) + (text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6))) + (text "end_tempo" (rect 90 0 146 11)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)) + (line (pt 52 4)(pt 78 4)) + (line (pt 52 12)(pt 78 12)) + (line (pt 52 12)(pt 52 4)) + (line (pt 78 4)(pt 82 8)) + (line (pt 82 8)(pt 78 12)) + (line (pt 78 12)(pt 82 8)) + ) +) +(pin + (bidir) + (rect 88 120 264 136) + (text "BIDIR" (rect 1 0 28 10)(font "Arial" (font_size 6))) + (text "i2c_sdat" (rect 90 0 132 11)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 56 4)(pt 78 4)) + (line (pt 0 8)(pt 52 8)) + (line (pt 56 12)(pt 78 12)) + (line (pt 78 4)(pt 82 8)) + (line (pt 78 12)(pt 82 8)) + (line (pt 56 4)(pt 52 8)) + (line (pt 52 8)(pt 56 12)) + ) + (text "VCC" (rect 4 7 25 17)(font "Arial" (font_size 6))) + (annotation_block (location)(rect 264 136 320 152)) +) +(symbol + (rect 568 24 704 120) + (text "codec_clock" (rect 5 0 76 13)(font "Arial" (font_size 8))) + (text "inst" (rect 8 81 26 92)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "clk" (rect 0 0 18 13)(font "Arial" (font_size 8))) + (text "clk" (rect 21 27 39 40)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)) + ) + (port + (pt 0 48) + (input) + (text "resetn" (rect 0 0 36 13)(font "Arial" (font_size 8))) + (text "resetn" (rect 21 43 57 56)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)) + ) + (port + (pt 136 32) + (output) + (text "xti_mclk" (rect 0 0 48 13)(font "Arial" (font_size 8))) + (text "xti_mclk" (rect 67 27 115 40)(font "Arial" (font_size 8))) + (line (pt 136 32)(pt 120 32)) + ) + (drawing + (rectangle (rect 16 16 120 80)) + ) +) +(symbol + (rect 544 664 752 776) + (text "dds_sinus" (rect 5 0 55 11)(font "Arial" )) + (text "inst2" (rect 8 96 32 107)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "resetn" (rect 0 0 31 11)(font "Arial" )) + (text "resetn" (rect 21 27 52 38)(font "Arial" )) + (line (pt 0 32)(pt 16 32)) + ) + (port + (pt 0 48) + (input) + (text "clk" (rect 0 0 15 11)(font "Arial" )) + (text "clk" (rect 21 43 36 54)(font "Arial" )) + (line (pt 0 48)(pt 16 48)) + ) + (port + (pt 0 64) + (input) + (text "en" (rect 0 0 14 11)(font "Arial" )) + (text "en" (rect 21 59 35 70)(font "Arial" )) + (line (pt 0 64)(pt 16 64)) + ) + (port + (pt 208 32) + (output) + (text "dds_out[n_data-1..0]" (rect 0 0 101 11)(font "Arial" )) + (text "dds_out[n_data-1..0]" (rect 102 27 203 38)(font "Arial" )) + (line (pt 208 32)(pt 192 32)(line_width 3)) + ) + (parameter + "N_data" + "16" + "" + (type "PARAMETER_SIGNED_DEC") ) + (parameter + "M" + "12" + "" + (type "PARAMETER_SIGNED_DEC") ) + (drawing + (rectangle (rect 16 16 192 96)) + ) + (annotation_block (parameter)(rect 752 624 928 664)) +) +(symbol + (rect 512 216 768 360) + (text "codec_dac" (rect 5 0 60 11)(font "Arial" )) + (text "inst3" (rect 8 128 32 139)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "clk" (rect 0 0 15 11)(font "Arial" )) + (text "clk" (rect 21 27 36 38)(font "Arial" )) + (line (pt 0 32)(pt 16 32)) + ) + (port + (pt 0 48) + (input) + (text "resetn" (rect 0 0 31 11)(font "Arial" )) + (text "resetn" (rect 21 43 52 54)(font "Arial" )) + (line (pt 0 48)(pt 16 48)) + ) + (port + (pt 0 64) + (input) + (text "go" (rect 0 0 14 11)(font "Arial" )) + (text "go" (rect 21 59 35 70)(font "Arial" )) + (line (pt 0 64)(pt 16 64)) + ) + (port + (pt 0 80) + (input) + (text "data_in[data_width-1..0]" (rect 0 0 118 11)(font "Arial" )) + (text "data_in[data_width-1..0]" (rect 21 75 139 86)(font "Arial" )) + (line (pt 0 80)(pt 16 80)(line_width 3)) + ) + (port + (pt 256 32) + (output) + (text "tempo_dac" (rect 0 0 56 11)(font "Arial" )) + (text "tempo_dac" (rect 188 27 244 38)(font "Arial" )) + (line (pt 256 32)(pt 240 32)) + ) + (port + (pt 256 48) + (output) + (text "end_dac" (rect 0 0 43 11)(font "Arial" )) + (text "end_dac" (rect 199 43 242 54)(font "Arial" )) + (line (pt 256 48)(pt 240 48)) + ) + (port + (pt 256 64) + (output) + (text "codec_dac_bclk" (rect 0 0 80 11)(font "Arial" )) + (text "codec_dac_bclk" (rect 168 59 248 70)(font "Arial" )) + (line (pt 256 64)(pt 240 64)) + ) + (port + (pt 256 80) + (output) + (text "codec_dac_data" (rect 0 0 82 11)(font "Arial" )) + (text "codec_dac_data" (rect 166 75 248 86)(font "Arial" )) + (line (pt 256 80)(pt 240 80)) + ) + (port + (pt 256 96) + (output) + (text "codec_dac_lrck" (rect 0 0 77 11)(font "Arial" )) + (text "codec_dac_lrck" (rect 170 91 247 102)(font "Arial" )) + (line (pt 256 96)(pt 240 96)) + ) + (parameter + "system_frequency" + "50000000.0" + "" + (type "PARAMETER_SIGNED_FLOAT") ) + (parameter + "sample_rate" + "48000.0" + "" + (type "PARAMETER_SIGNED_FLOAT") ) + (parameter + "data_width" + "16" + "" + (type "PARAMETER_SIGNED_DEC") ) + (parameter + "channel_num" + "2" + "" + (type "PARAMETER_SIGNED_DEC") ) + (drawing + (rectangle (rect 16 16 240 128)) + ) + (annotation_block (parameter)(rect 768 144 1016 216)) +) +(symbol + (rect 560 456 728 568) + (text "codec_config" (rect 5 0 71 11)(font "Arial" )) + (text "inst4" (rect 8 96 32 107)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "clk" (rect 0 0 15 11)(font "Arial" )) + (text "clk" (rect 21 27 36 38)(font "Arial" )) + (line (pt 0 32)(pt 16 32)) + ) + (port + (pt 0 48) + (input) + (text "resetn" (rect 0 0 31 11)(font "Arial" )) + (text "resetn" (rect 21 43 52 54)(font "Arial" )) + (line (pt 0 48)(pt 16 48)) + ) + (port + (pt 168 32) + (output) + (text "end_config" (rect 0 0 55 11)(font "Arial" )) + (text "end_config" (rect 101 27 156 38)(font "Arial" )) + (line (pt 168 32)(pt 152 32)) + ) + (port + (pt 168 48) + (output) + (text "i2c_scl" (rect 0 0 35 11)(font "Arial" )) + (text "i2c_scl" (rect 118 43 153 54)(font "Arial" )) + (line (pt 168 48)(pt 152 48)) + ) + (port + (pt 168 64) + (bidir) + (text "i2c_sda" (rect 0 0 40 11)(font "Arial" )) + (text "i2c_sda" (rect 117 59 157 70)(font "Arial" )) + (line (pt 168 64)(pt 152 64)) + ) + (parameter + "system_frequency" + "50000000.0" + "" + (type "PARAMETER_SIGNED_FLOAT") ) + (parameter + "i2c_rate" + "20000.0" + "" + (type "PARAMETER_SIGNED_FLOAT") ) + (drawing + (rectangle (rect 16 16 152 96)) + ) + (annotation_block (parameter)(rect 728 416 920 456)) +) +(symbol + (rect 616 160 664 192) + (text "WIRE" (rect 1 0 26 10)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 21 27 32)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 17 18)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 17 18)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible)) + (line (pt 32 16)(pt 48 16)) + ) + (drawing + (line (pt 14 7)(pt 32 16)) + (line (pt 14 25)(pt 14 7)) + (line (pt 14 25)(pt 32 16)) + ) +) +(symbol + (rect 608 584 672 632) + (text "AND2" (rect 1 0 29 10)(font "Arial" (font_size 6))) + (text "inst1" (rect 3 37 26 48)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 22 18)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 22 18)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 22 34)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 22 34)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 69 26)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 69 26)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)) + ) + (drawing + (line (pt 14 12)(pt 30 12)) + (line (pt 14 37)(pt 31 37)) + (line (pt 14 12)(pt 14 37)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)) + ) +) +(symbol + (rect 288 1160 352 1240) + (text "DFFE" (rect 1 0 26 10)(font "Arial" (font_size 6))) + (text "inst10" (rect 3 68 33 79)(font "Arial" )) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 45 24)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 45 22)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)) + ) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 49 70)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 49 69)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 22 31)(font "Courier New" (bold))) + (text "D" (rect 14 20 22 31)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 2 28 23 39)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 2 28 23 39)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)) + ) + (port + (pt 0 56) + (input) + (text "ENA" (rect 14 50 35 61)(font "Courier New" (bold))) + (text "ENA" (rect 14 50 35 61)(font "Courier New" (bold))) + (line (pt 0 56)(pt 12 56)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 44 20 52 31)(font "Courier New" (bold))) + (text "Q" (rect 42 20 50 31)(font "Courier New" (bold))) + (line (pt 53 24)(pt 64 24)) + ) + (drawing + (line (pt 12 68)(pt 52 68)) + (line (pt 12 12)(pt 52 12)) + (line (pt 52 68)(pt 52 12)) + (line (pt 12 68)(pt 12 12)) + (line (pt 12 34)(pt 19 41)) + (line (pt 18 41)(pt 12 47)) + (circle (rect 28 4 36 12)) + (circle (rect 28 68 36 76)) + ) +) +(symbol + (rect 296 1104 344 1136) + (text "NOT" (rect 1 0 22 10)(font "Arial" (font_size 6))) + (text "inst12" (rect 3 21 33 32)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 17 18)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 17 18)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)) + ) + (port + (pt 48 16) + (output) + (text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible)) + (line (pt 39 16)(pt 48 16)) + ) + (drawing + (line (pt 13 25)(pt 13 7)) + (line (pt 13 7)(pt 31 16)) + (line (pt 13 25)(pt 31 16)) + (circle (rect 31 12 39 20)) + ) +) +(symbol + (rect 552 -80 712 0) + (text "clock_divider" (rect 5 0 71 11)(font "Arial" )) + (text "inst7" (rect 8 64 32 75)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "clk" (rect 0 0 15 11)(font "Arial" )) + (text "clk" (rect 21 27 36 38)(font "Arial" )) + (line (pt 0 32)(pt 16 32)) + ) + (port + (pt 0 48) + (input) + (text "resetn" (rect 0 0 31 11)(font "Arial" )) + (text "resetn" (rect 21 43 52 54)(font "Arial" )) + (line (pt 0 48)(pt 16 48)) + ) + (port + (pt 160 32) + (output) + (text "en_user" (rect 0 0 42 11)(font "Arial" )) + (text "en_user" (rect 104 27 146 38)(font "Arial" )) + (line (pt 160 32)(pt 144 32)) + ) + (parameter + "board_frequency" + "50000000.0" + "" + (type "PARAMETER_SIGNED_FLOAT") ) + (parameter + "user_frequency" + "10000000.0" + "" + (type "PARAMETER_SIGNED_FLOAT") ) + (drawing + (rectangle (rect 16 16 144 64)) + ) + (annotation_block (parameter)(rect 712 -120 897 -81)) +) +(symbol + (rect 568 1016 680 1104) + (text "BUSMUX" (rect 28 0 96 16)(font "Arial" (font_size 10))) + (text "inst8" (rect 3 77 27 88)(font "Arial" )) + (port + (pt 0 64) + (input) + (text "datab[WIDTH-1..0]" (rect 6 51 112 64)(font "Arial" (font_size 8))) + (text "datab[]" (rect 6 51 46 64)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 44 64)(line_width 3)) + ) + (port + (pt 56 88) + (input) + (text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8))) + (text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8))) + (line (pt 56 88)(pt 56 72)) + ) + (port + (pt 0 32) + (input) + (text "dataa[WIDTH-1..0]" (rect 6 19 112 32)(font "Arial" (font_size 8))) + (text "dataa[]" (rect 6 19 46 32)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 44 32)(line_width 3)) + ) + (port + (pt 112 48) + (output) + (text "result[WIDTH-1..0]" (rect 75 35 181 48)(font "Arial" (font_size 8))) + (text "result[]" (rect 75 35 113 48)(font "Arial" (font_size 8))) + (line (pt 68 48)(pt 112 48)(line_width 3)) + ) + (parameter + "WIDTH" + "1" + "Width of I/O, any integer > 0" + " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64" + ) + (drawing + (text "0" (rect 52 31 60 41)(font "Arial" (font_size 6))) + (text "1" (rect 52 55 57 65)(font "Arial" (font_size 6))) + (line (pt 68 64)(pt 68 32)) + (line (pt 44 80)(pt 44 16)) + (line (pt 44 16)(pt 68 32)) + (line (pt 44 80)(pt 68 64)) + ) + (annotation_block (parameter)(rect 680 984 803 1010)) +) +(symbol + (rect 128 968 288 1048) + (text "clock_divider" (rect 5 0 71 11)(font "Arial" )) + (text "inst9" (rect 8 64 32 75)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "clk" (rect 0 0 15 11)(font "Arial" )) + (text "clk" (rect 21 27 36 38)(font "Arial" )) + (line (pt 0 32)(pt 16 32)) + ) + (port + (pt 0 48) + (input) + (text "resetn" (rect 0 0 31 11)(font "Arial" )) + (text "resetn" (rect 21 43 52 54)(font "Arial" )) + (line (pt 0 48)(pt 16 48)) + ) + (port + (pt 160 32) + (output) + (text "en_user" (rect 0 0 42 11)(font "Arial" )) + (text "en_user" (rect 104 27 146 38)(font "Arial" )) + (line (pt 160 32)(pt 144 32)) + ) + (parameter + "board_frequency" + "50000000.0" + "" + (type "PARAMETER_SIGNED_FLOAT") ) + (parameter + "user_frequency" + "2" + "" + (type "PARAMETER_SIGNED_FLOAT") ) + (drawing + (rectangle (rect 16 16 144 64)) + ) + (annotation_block (parameter)(rect 288 928 473 967)) +) +(connector + (text "end_config" (rect 440 264 495 275)(font "Arial" )) + (pt 512 280) + (pt 432 280) +) +(connector + (text "clk" (rect 440 232 455 243)(font "Arial" )) + (pt 512 248) + (pt 432 248) +) +(connector + (text "resetn" (rect 440 248 471 259)(font "Arial" )) + (pt 512 264) + (pt 432 264) +) +(connector + (text "aud_bclk" (rect 776 264 822 275)(font "Arial" )) + (pt 768 280) + (pt 840 280) +) +(connector + (text "aud_dacdat" (rect 776 280 835 291)(font "Arial" )) + (pt 768 296) + (pt 840 296) +) +(connector + (text "aud_daclrck" (rect 776 296 837 307)(font "Arial" )) + (pt 768 312) + (pt 840 312) +) +(connector + (text "end_config" (rect 736 472 791 483)(font "Arial" )) + (pt 728 488) + (pt 816 488) +) +(connector + (text "i2c_sclk" (rect 736 488 777 499)(font "Arial" )) + (pt 728 504) + (pt 816 504) +) +(connector + (text "i2c_sdat" (rect 736 504 778 515)(font "Arial" )) + (pt 728 520) + (pt 816 520) +) +(connector + (text "clk" (rect 496 472 511 483)(font "Arial" )) + (pt 488 488) + (pt 560 488) +) +(connector + (text "resetn" (rect 496 488 527 499)(font "Arial" )) + (pt 488 504) + (pt 560 504) +) +(connector + (text "resetn" (rect 480 680 511 691)(font "Arial" )) + (pt 544 696) + (pt 472 696) +) +(connector + (text "clk" (rect 480 696 495 707)(font "Arial" )) + (pt 544 712) + (pt 472 712) +) +(connector + (text "clk" (rect 512 40 527 51)(font "Arial" )) + (pt 568 56) + (pt 504 56) +) +(connector + (text "resetn" (rect 512 56 543 67)(font "Arial" )) + (pt 504 72) + (pt 568 72) +) +(connector + (text "data[15..0]" (rect 440 280 493 291)(font "Arial" )) + (pt 512 296) + (pt 432 296) + (bus) +) +(connector + (text "xti_mclk" (rect 568 160 609 171)(font "Arial" )) + (pt 616 176) + (pt 560 176) +) +(connector + (text "aud_xck" (rect 672 160 714 171)(font "Arial" )) + (pt 664 176) + (pt 720 176) +) +(connector + (text "end_tempo" (rect 799 232 855 243)(font "Arial" )) + (pt 768 248) + (pt 840 248) +) +(connector + (text "xti_mclk" (rect 544 600 585 611)(font "Arial" )) + (pt 608 616) + (pt 536 616) +) +(connector + (text "alarm" (rect 544 584 573 595)(font "Arial" )) + (pt 608 600) + (pt 536 600) +) +(connector + (text "mksin" (rect 680 592 710 603)(font "Arial" )) + (pt 672 608) + (pt 728 608) +) +(connector + (text "mksin" (rect 480 712 510 723)(font "Arial" )) + (pt 544 728) + (pt 472 728) +) +(connector + (text "q" (rect 360 1168 368 1179)(font "Arial" )) + (pt 352 1184) + (pt 392 1184) +) +(connector + (text "d" (rect 232 1168 240 1179)(font "Arial" )) + (pt 288 1184) + (pt 224 1184) +) +(connector + (text "clk" (rect 232 1184 247 1195)(font "Arial" )) + (pt 288 1200) + (pt 224 1200) +) +(connector + (text "d_ena" (rect 232 1200 263 1211)(font "Arial" )) + (pt 288 1216) + (pt 224 1216) +) +(connector + (text "resetn" (rect 304 1237 315 1268)(font "Arial" )(vertical)) + (pt 320 1240) + (pt 320 1280) +) +(connector + (text "d" (rect 352 1104 360 1115)(font "Arial" )) + (pt 344 1120) + (pt 400 1120) +) +(connector + (text "q" (rect 248 1104 256 1115)(font "Arial" )) + (pt 296 1120) + (pt 240 1120) +) +(connector + (text "q" (rect 608 1129 619 1137)(font "Arial" )(vertical)) + (pt 624 1104) + (pt 624 1152) +) +(connector + (text "d_ena" (rect 296 984 327 995)(font "Arial" )) + (pt 288 1000) + (pt 352 1000) +) +(connector + (text "resetn" (rect 56 1000 87 1011)(font "Arial" )) + (pt 56 1016) + (pt 128 1016) +) +(connector + (text "clk" (rect 64 984 79 995)(font "Arial" )) + (pt 56 1000) + (pt 128 1000) +) +(connector + (text "data[15..0]" (rect 760 680 813 691)(font "Arial" )) + (pt 752 696) + (pt 784 696) + (bus) +) +(connector + (text "xti_mclk_a" (rect 712 40 765 51)(font "Arial" )) + (pt 704 56) + (pt 752 56) +) +(connector + (text "clk" (rect 488 -64 503 -53)(font "Arial" )) + (pt 552 -48) + (pt 480 -48) +) +(connector + (text "resetn" (rect 488 -48 519 -37)(font "Arial" )) + (pt 552 -32) + (pt 480 -32) +) +(connector + (text "xti_mclk_b" (rect 720 -64 773 -53)(font "Arial" )) + (pt 712 -48) + (pt 760 -48) +) +(connector + (text "xti_mclk" (rect 688 1048 729 1059)(font "Arial" )) + (pt 752 1064) + (pt 680 1064) +) +(connector + (text "xti_mclk_a" (rect 496 1032 549 1043)(font "Arial" )) + (pt 480 1048) + (pt 568 1048) + (bus) +) +(connector + (text "xti_mclk_b" (rect 488 1064 541 1075)(font "Arial" )) + (pt 456 1080) + (pt 568 1080) + (bus) +) -- cgit v1.2.3