⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 speaker.fit.eqn

📁 用VHDL语言仿真音乐设计 用VHDL语言仿真音乐设计
💻 EQN
📖 第 1 页 / 共 2 页
字号:
-- Copyright (C) 1991-2005 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 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.
--D1_\delayspks:count2 is speaker:u3|\delayspks:count2 at LC_X10_Y8_N3
--operation mode is normal

D1_\delayspks:count2_lut_out = !D1_\delayspks:count2;
D1_\delayspks:count2 = DFFEAS(D1_\delayspks:count2_lut_out, D1_fullspks, VCC, , , , , , );


--D1_\genspks:count11[0] is speaker:u3|\genspks:count11[0] at LC_X10_Y8_N5
--operation mode is arithmetic

D1_\genspks:count11[0]_lut_out = !D1_\genspks:count11[0];
D1_\genspks:count11[0] = DFFEAS(D1_\genspks:count11[0]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[0], , , D1L24);

--D1L7 is speaker:u3|\genspks:count11[0]~15 at LC_X10_Y8_N5
--operation mode is arithmetic

D1L7_cout_0 = D1_\genspks:count11[0];
D1L7 = CARRY(D1L7_cout_0);

--D1L8 is speaker:u3|\genspks:count11[0]~15COUT1_19 at LC_X10_Y8_N5
--operation mode is arithmetic

D1L8_cout_1 = D1_\genspks:count11[0];
D1L8 = CARRY(D1L8_cout_1);


--D1_\genspks:count11[1] is speaker:u3|\genspks:count11[1] at LC_X10_Y8_N6
--operation mode is arithmetic

D1_\genspks:count11[1]_lut_out = D1_\genspks:count11[1] $ (D1L7);
D1_\genspks:count11[1] = DFFEAS(D1_\genspks:count11[1]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[1], , , D1L24);

--D1L01 is speaker:u3|\genspks:count11[1]~15 at LC_X10_Y8_N6
--operation mode is arithmetic

D1L01_cout_0 = !D1L7 # !D1_\genspks:count11[1];
D1L01 = CARRY(D1L01_cout_0);

--D1L11 is speaker:u3|\genspks:count11[1]~15COUT1_19 at LC_X10_Y8_N6
--operation mode is arithmetic

D1L11_cout_1 = !D1L8 # !D1_\genspks:count11[1];
D1L11 = CARRY(D1L11_cout_1);


--D1_\genspks:count11[2] is speaker:u3|\genspks:count11[2] at LC_X10_Y8_N7
--operation mode is arithmetic

D1_\genspks:count11[2]_lut_out = D1_\genspks:count11[2] $ (!D1L01);
D1_\genspks:count11[2] = DFFEAS(D1_\genspks:count11[2]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[2], , , D1L24);

--D1L31 is speaker:u3|\genspks:count11[2]~15 at LC_X10_Y8_N7
--operation mode is arithmetic

D1L31_cout_0 = D1_\genspks:count11[2] & (!D1L01);
D1L31 = CARRY(D1L31_cout_0);

--D1L41 is speaker:u3|\genspks:count11[2]~15COUT1_19 at LC_X10_Y8_N7
--operation mode is arithmetic

D1L41_cout_1 = D1_\genspks:count11[2] & (!D1L11);
D1L41 = CARRY(D1L41_cout_1);


--D1_\genspks:count11[3] is speaker:u3|\genspks:count11[3] at LC_X10_Y8_N8
--operation mode is arithmetic

D1_\genspks:count11[3]_lut_out = D1_\genspks:count11[3] $ D1L31;
D1_\genspks:count11[3] = DFFEAS(D1_\genspks:count11[3]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[3], , , D1L24);

--D1L61 is speaker:u3|\genspks:count11[3]~15 at LC_X10_Y8_N8
--operation mode is arithmetic

D1L61_cout_0 = !D1L31 # !D1_\genspks:count11[3];
D1L61 = CARRY(D1L61_cout_0);

--D1L71 is speaker:u3|\genspks:count11[3]~15COUT1_19 at LC_X10_Y8_N8
--operation mode is arithmetic

D1L71_cout_1 = !D1L41 # !D1_\genspks:count11[3];
D1L71 = CARRY(D1L71_cout_1);


--D1L93 is speaker:u3|reduce_nor~68 at LC_X10_Y8_N4
--operation mode is normal

D1L93 = !D1_\genspks:count11[1] # !D1_\genspks:count11[3] # !D1_\genspks:count11[0] # !D1_\genspks:count11[2];


--D1_\genspks:count11[4] is speaker:u3|\genspks:count11[4] at LC_X10_Y8_N9
--operation mode is arithmetic

D1_\genspks:count11[4]_lut_out = D1_\genspks:count11[4] $ (!D1L61);
D1_\genspks:count11[4] = DFFEAS(D1_\genspks:count11[4]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[4], , , D1L24);

--D1L91 is speaker:u3|\genspks:count11[4]~15 at LC_X10_Y8_N9
--operation mode is arithmetic

D1L91 = CARRY(D1_\genspks:count11[4] & (!D1L71));


--D1_\genspks:count11[5] is speaker:u3|\genspks:count11[5] at LC_X10_Y7_N0
--operation mode is arithmetic

D1_\genspks:count11[5]_carry_eqn = D1L91;
D1_\genspks:count11[5]_lut_out = D1_\genspks:count11[5] $ D1_\genspks:count11[5]_carry_eqn;
D1_\genspks:count11[5] = DFFEAS(D1_\genspks:count11[5]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[5], , , D1L24);

--D1L12 is speaker:u3|\genspks:count11[5]~15 at LC_X10_Y7_N0
--operation mode is arithmetic

D1L12_cout_0 = !D1L91 # !D1_\genspks:count11[5];
D1L12 = CARRY(D1L12_cout_0);

--D1L22 is speaker:u3|\genspks:count11[5]~15COUT1_19 at LC_X10_Y7_N0
--operation mode is arithmetic

D1L22_cout_1 = !D1L91 # !D1_\genspks:count11[5];
D1L22 = CARRY(D1L22_cout_1);


--D1_\genspks:count11[6] is speaker:u3|\genspks:count11[6] at LC_X10_Y7_N1
--operation mode is arithmetic

D1_\genspks:count11[6]_carry_eqn = (!D1L91 & D1L12) # (D1L91 & D1L22);
D1_\genspks:count11[6]_lut_out = D1_\genspks:count11[6] $ (!D1_\genspks:count11[6]_carry_eqn);
D1_\genspks:count11[6] = DFFEAS(D1_\genspks:count11[6]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[6], , , D1L24);

--D1L42 is speaker:u3|\genspks:count11[6]~15 at LC_X10_Y7_N1
--operation mode is arithmetic

D1L42_cout_0 = D1_\genspks:count11[6] & (!D1L12);
D1L42 = CARRY(D1L42_cout_0);

--D1L52 is speaker:u3|\genspks:count11[6]~15COUT1_19 at LC_X10_Y7_N1
--operation mode is arithmetic

D1L52_cout_1 = D1_\genspks:count11[6] & (!D1L22);
D1L52 = CARRY(D1L52_cout_1);


--D1_\genspks:count11[7] is speaker:u3|\genspks:count11[7] at LC_X10_Y7_N2
--operation mode is arithmetic

D1_\genspks:count11[7]_carry_eqn = (!D1L91 & D1L42) # (D1L91 & D1L52);
D1_\genspks:count11[7]_lut_out = D1_\genspks:count11[7] $ (D1_\genspks:count11[7]_carry_eqn);
D1_\genspks:count11[7] = DFFEAS(D1_\genspks:count11[7]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[7], , , D1L24);

--D1L72 is speaker:u3|\genspks:count11[7]~15 at LC_X10_Y7_N2
--operation mode is arithmetic

D1L72_cout_0 = !D1L42 # !D1_\genspks:count11[7];
D1L72 = CARRY(D1L72_cout_0);

--D1L82 is speaker:u3|\genspks:count11[7]~15COUT1_19 at LC_X10_Y7_N2
--operation mode is arithmetic

D1L82_cout_1 = !D1L52 # !D1_\genspks:count11[7];
D1L82 = CARRY(D1L82_cout_1);


--D1L04 is speaker:u3|reduce_nor~69 at LC_X10_Y8_N1
--operation mode is normal

D1L04 = !D1_\genspks:count11[7] # !D1_\genspks:count11[6] # !D1_\genspks:count11[5] # !D1_\genspks:count11[4];


--D1_\genspks:count11[9] is speaker:u3|\genspks:count11[9] at LC_X10_Y7_N4
--operation mode is arithmetic

D1_\genspks:count11[9]_carry_eqn = (!D1L91 & D1L03) # (D1L91 & D1L13);
D1_\genspks:count11[9]_lut_out = D1_\genspks:count11[9] $ D1_\genspks:count11[9]_carry_eqn;
D1_\genspks:count11[9] = DFFEAS(D1_\genspks:count11[9]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[9], , , D1L24);

--D1L33 is speaker:u3|\genspks:count11[9]~15 at LC_X10_Y7_N4
--operation mode is arithmetic

D1L33 = CARRY(!D1L13 # !D1_\genspks:count11[9]);


--D1_\genspks:count11[10] is speaker:u3|\genspks:count11[10] at LC_X10_Y7_N5
--operation mode is normal

D1_\genspks:count11[10]_carry_eqn = D1L33;
D1_\genspks:count11[10]_lut_out = D1_\genspks:count11[10]_carry_eqn $ !D1_\genspks:count11[10];
D1_\genspks:count11[10] = DFFEAS(D1_\genspks:count11[10]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[10], , , D1L24);


--D1L14 is speaker:u3|reduce_nor~70 at LC_X10_Y8_N2
--operation mode is normal

D1L14 = !D1_\genspks:count11[9] # !D1_\genspks:count11[10];


--D1_\genspks:count11[8] is speaker:u3|\genspks:count11[8] at LC_X10_Y7_N3
--operation mode is arithmetic

D1_\genspks:count11[8]_carry_eqn = (!D1L91 & D1L72) # (D1L91 & D1L82);
D1_\genspks:count11[8]_lut_out = D1_\genspks:count11[8] $ !D1_\genspks:count11[8]_carry_eqn;
D1_\genspks:count11[8] = DFFEAS(D1_\genspks:count11[8]_lut_out, GLOBAL(D1L83), VCC, , , C1_tone[8], , , D1L24);

--D1L03 is speaker:u3|\genspks:count11[8]~15 at LC_X10_Y7_N3
--operation mode is arithmetic

D1L03_cout_0 = D1_\genspks:count11[8] & !D1L72;
D1L03 = CARRY(D1L03_cout_0);

--D1L13 is speaker:u3|\genspks:count11[8]~15COUT1_19 at LC_X10_Y7_N3
--operation mode is arithmetic

D1L13_cout_1 = D1_\genspks:count11[8] & !D1L82;
D1L13 = CARRY(D1L13_cout_1);


--D1L24 is speaker:u3|reduce_nor~71 at LC_X10_Y8_N0
--operation mode is normal

D1L24 = !D1L14 & D1_\genspks:count11[8] & !D1L93 & !D1L04;

--D1_fullspks is speaker:u3|fullspks at LC_X10_Y8_N0
--operation mode is normal

D1_fullspks = DFFEAS(D1L24, GLOBAL(D1L83), VCC, , , , , , );


--D1_\divideclk:count4[3] is speaker:u3|\divideclk:count4[3] at LC_X8_Y6_N4
--operation mode is normal

D1_\divideclk:count4[3]_lut_out = !D1_\divideclk:count4[3];
D1_\divideclk:count4[3] = DFFEAS(D1_\divideclk:count4[3]_lut_out, GLOBAL(clk12MHZ), !GLOBAL(D1L83), , D1L53, , , , );


--D1_\divideclk:count4[2] is speaker:u3|\divideclk:count4[2] at LC_X8_Y6_N6
--operation mode is normal

D1_\divideclk:count4[2]_lut_out = !D1_\divideclk:count4[2];
D1_\divideclk:count4[2] = DFFEAS(D1_\divideclk:count4[2]_lut_out, GLOBAL(clk12MHZ), !GLOBAL(D1L83), , D1L63, , , , );


--D1L83 is speaker:u3|LessThan~40 at LC_X8_Y6_N5
--operation mode is normal

D1L83 = D1_\divideclk:count4[3] & D1_\divideclk:count4[2];


--D1_\divideclk:count4[1] is speaker:u3|\divideclk:count4[1] at LC_X8_Y5_N4
--operation mode is normal

D1_\divideclk:count4[1]_lut_out = !D1_\divideclk:count4[1];
D1_\divideclk:count4[1] = DFFEAS(D1_\divideclk:count4[1]_lut_out, GLOBAL(clk12MHZ), !GLOBAL(D1L83), , D1_\divideclk:count4[0], , , , );


--D1_\divideclk:count4[0] is speaker:u3|\divideclk:count4[0] at LC_X8_Y5_N2
--operation mode is normal

D1_\divideclk:count4[0]_lut_out = !D1_\divideclk:count4[0];
D1_\divideclk:count4[0] = DFFEAS(D1_\divideclk:count4[0]_lut_out, GLOBAL(clk12MHZ), !GLOBAL(D1L83), , , , , , );


--D1L53 is speaker:u3|add~265 at LC_X8_Y6_N8
--operation mode is normal

D1L53 = D1_\divideclk:count4[0] & D1_\divideclk:count4[1] & D1_\divideclk:count4[2];


--D1L63 is speaker:u3|add~266 at LC_X8_Y6_N2
--operation mode is normal

D1L63 = D1_\divideclk:count4[0] & D1_\divideclk:count4[1];


--G1_q_a[1] is notetabs:u1|music:u1|altsyncram:altsyncram_component|altsyncram_e1q:auto_generated|q_a[1] at M4K_X13_Y8
--RAM Block Operation Mode: ROM
--Port A Depth: 256, Port A Width: 4
--Port A Logical Depth: 256, Port A Logical Width: 4
--Port A Input: Registered, Port A Output: Registered
G1_q_a[1]_PORT_A_address = BUS(B1_counter[0], B1_counter[1], B1_counter[2], B1_counter[3], B1_counter[4], B1_counter[5], B1_counter[6], B1_counter[7]);
G1_q_a[1]_PORT_A_address_reg = DFFE(G1_q_a[1]_PORT_A_address, G1_q_a[1]_clock_0, , , );
G1_q_a[1]_clock_0 = GLOBAL(clk8HZ);
G1_q_a[1]_PORT_A_data_out = MEMORY(, , G1_q_a[1]_PORT_A_address_reg, , , , , , G1_q_a[1]_clock_0, , , , , );
G1_q_a[1]_PORT_A_data_out_reg = DFFE(G1_q_a[1]_PORT_A_data_out, G1_q_a[1]_clock_0, , , );
G1_q_a[1] = G1_q_a[1]_PORT_A_data_out_reg[0];

--G1_q_a[2] is notetabs:u1|music:u1|altsyncram:altsyncram_component|altsyncram_e1q:auto_generated|q_a[2] at M4K_X13_Y8
G1_q_a[1]_PORT_A_address = BUS(B1_counter[0], B1_counter[1], B1_counter[2], B1_counter[3], B1_counter[4], B1_counter[5], B1_counter[6], B1_counter[7]);
G1_q_a[1]_PORT_A_address_reg = DFFE(G1_q_a[1]_PORT_A_address, G1_q_a[1]_clock_0, , , );
G1_q_a[1]_clock_0 = GLOBAL(clk8HZ);
G1_q_a[1]_PORT_A_data_out = MEMORY(, , G1_q_a[1]_PORT_A_address_reg, , , , , , G1_q_a[1]_clock_0, , , , , );
G1_q_a[1]_PORT_A_data_out_reg = DFFE(G1_q_a[1]_PORT_A_data_out, G1_q_a[1]_clock_0, , , );
G1_q_a[2] = G1_q_a[1]_PORT_A_data_out_reg[3];

--G1_q_a[0] is notetabs:u1|music:u1|altsyncram:altsyncram_component|altsyncram_e1q:auto_generated|q_a[0] at M4K_X13_Y8
G1_q_a[1]_PORT_A_address = BUS(B1_counter[0], B1_counter[1], B1_counter[2], B1_counter[3], B1_counter[4], B1_counter[5], B1_counter[6], B1_counter[7]);
G1_q_a[1]_PORT_A_address_reg = DFFE(G1_q_a[1]_PORT_A_address, G1_q_a[1]_clock_0, , , );
G1_q_a[1]_clock_0 = GLOBAL(clk8HZ);
G1_q_a[1]_PORT_A_data_out = MEMORY(, , G1_q_a[1]_PORT_A_address_reg, , , , , , G1_q_a[1]_clock_0, , , , , );
G1_q_a[1]_PORT_A_data_out_reg = DFFE(G1_q_a[1]_PORT_A_data_out, G1_q_a[1]_clock_0, , , );
G1_q_a[0] = G1_q_a[1]_PORT_A_data_out_reg[2];

--G1_q_a[3] is notetabs:u1|music:u1|altsyncram:altsyncram_component|altsyncram_e1q:auto_generated|q_a[3] at M4K_X13_Y8
G1_q_a[1]_PORT_A_address = BUS(B1_counter[0], B1_counter[1], B1_counter[2], B1_counter[3], B1_counter[4], B1_counter[5], B1_counter[6], B1_counter[7]);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -