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

📄 song.fit.eqn

📁 用VHDL演示MUSIC的程序
💻 EQN
📖 第 1 页 / 共 2 页
字号:
L1_safe_q[6]_sload_eqn = (D1L7 & C1L53) # (!D1L7 & L1_safe_q[6]_lut_out);
L1_safe_q[6] = DFFEA(L1_safe_q[6]_sload_eqn, GLOBAL(D1L3), VCC, , , , );

--L1L04 is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|safe_q[6]~COUT0 at LC_X8_Y22_N1
--operation mode is arithmetic

L1L04_cout_0 = L1_safe_q[6] & !L1L73;
L1L04 = CARRY(L1L04_cout_0);

--L1L14 is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|safe_q[6]~COUT1 at LC_X8_Y22_N1
--operation mode is arithmetic

L1L14_cout_1 = L1_safe_q[6] & !L1L83;
L1L14 = CARRY(L1L14_cout_1);


--L1_safe_q[7] is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|safe_q[7] at LC_X8_Y22_N2
--operation mode is arithmetic

L1_safe_q[7]_carry_eqn = (!L1L01 & L1L04) # (L1L01 & L1L14);
L1_safe_q[7]_lut_out = L1_safe_q[7] $ L1_safe_q[7]_carry_eqn;
L1_safe_q[7]_sload_eqn = (D1L7 & C1L73) # (!D1L7 & L1_safe_q[7]_lut_out);
L1_safe_q[7] = DFFEA(L1_safe_q[7]_sload_eqn, GLOBAL(D1L3), VCC, , , , );

--L1L34 is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|safe_q[7]~COUT0 at LC_X8_Y22_N2
--operation mode is arithmetic

L1L34_cout_0 = !L1L04 # !L1_safe_q[7];
L1L34 = CARRY(L1L34_cout_0);

--L1L44 is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|safe_q[7]~COUT1 at LC_X8_Y22_N2
--operation mode is arithmetic

L1L44_cout_1 = !L1L14 # !L1_safe_q[7];
L1L44 = CARRY(L1L44_cout_1);


--D1L5 is speakera:u3|reduce_nor~69 at LC_X8_Y22_N9
--operation mode is normal

D1L5 = !L1_safe_q[4] # !L1_safe_q[7] # !L1_safe_q[5] # !L1_safe_q[6];


--L1_safe_q[9] is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|safe_q[9] at LC_X8_Y22_N4
--operation mode is arithmetic

L1_safe_q[9]_carry_eqn = (!L1L01 & L1L64) # (L1L01 & L1L74);
L1_safe_q[9]_lut_out = L1_safe_q[9] $ L1_safe_q[9]_carry_eqn;
L1_safe_q[9]_sload_eqn = (D1L7 & C1L14) # (!D1L7 & L1_safe_q[9]_lut_out);
L1_safe_q[9] = DFFEA(L1_safe_q[9]_sload_eqn, GLOBAL(D1L3), VCC, , , , );

--L1L02 is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|counter_cella9~COUT at LC_X8_Y22_N4
--operation mode is arithmetic

L1L02 = CARRY(!L1L74 # !L1_safe_q[9]);


--L1_safe_q[10] is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|safe_q[10] at LC_X8_Y22_N5
--operation mode is normal

L1_safe_q[10]_carry_eqn = L1L02;
L1_safe_q[10]_lut_out = L1_safe_q[10]_carry_eqn $ !L1_safe_q[10];
L1_safe_q[10]_sload_eqn = (D1L7 & C1L34) # (!D1L7 & L1_safe_q[10]_lut_out);
L1_safe_q[10] = DFFEA(L1_safe_q[10]_sload_eqn, GLOBAL(D1L3), VCC, , , , );


--D1L6 is speakera:u3|reduce_nor~70 at LC_X8_Y22_N8
--operation mode is normal

D1L6 = !L1_safe_q[10] # !L1_safe_q[9];


--L1_safe_q[8] is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|safe_q[8] at LC_X8_Y22_N3
--operation mode is arithmetic

L1_safe_q[8]_carry_eqn = (!L1L01 & L1L34) # (L1L01 & L1L44);
L1_safe_q[8]_lut_out = L1_safe_q[8] $ !L1_safe_q[8]_carry_eqn;
L1_safe_q[8]_sload_eqn = (D1L7 & C1L93) # (!D1L7 & L1_safe_q[8]_lut_out);
L1_safe_q[8] = DFFEA(L1_safe_q[8]_sload_eqn, GLOBAL(D1L3), VCC, , , , );

--L1L64 is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|safe_q[8]~COUT0 at LC_X8_Y22_N3
--operation mode is arithmetic

L1L64_cout_0 = L1_safe_q[8] & !L1L34;
L1L64 = CARRY(L1L64_cout_0);

--L1L74 is speakera:u3|lpm_counter:\genspks:count11[0]_rtl_0|cntr_7t7:auto_generated|safe_q[8]~COUT1 at LC_X8_Y22_N3
--operation mode is arithmetic

L1L74_cout_1 = L1_safe_q[8] & !L1L44;
L1L74 = CARRY(L1L74_cout_1);


--D1L7 is speakera:u3|reduce_nor~71 at LC_X8_Y22_N7
--operation mode is normal

D1L7 = !D1L6 & L1_safe_q[8] & !D1L5 & !D1L4;

--D1_fullspks is speakera:u3|fullspks at LC_X8_Y22_N7
--operation mode is normal

D1_fullspks = DFFEA(D1L7, GLOBAL(D1L3), VCC, , , , );


--K1_safe_q[2] is speakera:u3|lpm_counter:\divdeclk:count4[0]_rtl_1|cntr_ea7:auto_generated|safe_q[2] at LC_X8_Y21_N3
--operation mode is arithmetic

K1_safe_q[2]_lut_out = K1_safe_q[2] $ !K1L31;
K1_safe_q[2] = DFFEA(K1_safe_q[2]_lut_out, GLOBAL(clk12mhz), !GLOBAL(D1L3), , , , );

--K1L61 is speakera:u3|lpm_counter:\divdeclk:count4[0]_rtl_1|cntr_ea7:auto_generated|safe_q[2]~COUT0 at LC_X8_Y21_N3
--operation mode is arithmetic

K1L61_cout_0 = K1_safe_q[2] & !K1L31;
K1L61 = CARRY(K1L61_cout_0);

--K1L71 is speakera:u3|lpm_counter:\divdeclk:count4[0]_rtl_1|cntr_ea7:auto_generated|safe_q[2]~COUT1 at LC_X8_Y21_N3
--operation mode is arithmetic

K1L71_cout_1 = K1_safe_q[2] & !K1L41;
K1L71 = CARRY(K1L71_cout_1);


--K1_safe_q[3] is speakera:u3|lpm_counter:\divdeclk:count4[0]_rtl_1|cntr_ea7:auto_generated|safe_q[3] at LC_X8_Y21_N4
--operation mode is normal

K1_safe_q[3]_lut_out = K1_safe_q[3] $ K1L61;
K1_safe_q[3] = DFFEA(K1_safe_q[3]_lut_out, GLOBAL(clk12mhz), !GLOBAL(D1L3), , , , );


--D1L3 is speakera:u3|preclk~15 at LC_X8_Y21_N5
--operation mode is normal

D1L3 = K1_safe_q[3] & K1_safe_q[2];


--B1L2 is notetabs:u1|reduce_nor~47 at LC_X35_Y18_N2
--operation mode is normal

B1L2 = !G1_safe_q[0] & G1_safe_q[1];


--B1L3 is notetabs:u1|reduce_nor~48 at LC_X35_Y19_N9
--operation mode is normal

B1L3 = !G1_safe_q[6] & !G1_safe_q[4] & G1_safe_q[7] & !G1_safe_q[5];


--B1L1 is notetabs:u1|reduce_nor~0 at LC_X35_Y19_N8
--operation mode is normal

B1L1 = B1L3 & G1_safe_q[3] & !G1_safe_q[2] & B1L2;


--K1_safe_q[1] is speakera:u3|lpm_counter:\divdeclk:count4[0]_rtl_1|cntr_ea7:auto_generated|safe_q[1] at LC_X8_Y21_N2
--operation mode is arithmetic

K1_safe_q[1]_lut_out = K1_safe_q[1] $ K1L01;
K1_safe_q[1] = DFFEA(K1_safe_q[1]_lut_out, GLOBAL(clk12mhz), !GLOBAL(D1L3), , , , );

--K1L31 is speakera:u3|lpm_counter:\divdeclk:count4[0]_rtl_1|cntr_ea7:auto_generated|safe_q[1]~COUT0 at LC_X8_Y21_N2
--operation mode is arithmetic

K1L31_cout_0 = !K1L01 # !K1_safe_q[1];
K1L31 = CARRY(K1L31_cout_0);

--K1L41 is speakera:u3|lpm_counter:\divdeclk:count4[0]_rtl_1|cntr_ea7:auto_generated|safe_q[1]~COUT1 at LC_X8_Y21_N2
--operation mode is arithmetic

K1L41_cout_1 = !K1L11 # !K1_safe_q[1];
K1L41 = CARRY(K1L41_cout_1);


--C1L32 is tonetaba:u2|tone[0]~302 at LC_X9_Y22_N9
--operation mode is normal

C1L32 = LCELL(C1L9 & C1L32 # !C1L9 & !J1_q_a[1] & !J1_q_a[3]);


--C1L31 is tonetaba:u2|Mux~126 at LC_X9_Y22_N3
--operation mode is normal

C1L31 = J1_q_a[0] # J1_q_a[1] & (J1_q_a[2] $ !J1_q_a[3]) # !J1_q_a[1] & J1_q_a[2] & !J1_q_a[3];


--C1L52 is tonetaba:u2|tone[1]~303 at LC_X7_Y23_N3
--operation mode is normal

C1L52 = LCELL(C1L52 & (C1L9 # !C1L31) # !C1L52 & !C1L31 & !C1L9);


--C1L41 is tonetaba:u2|Mux~128 at LC_X7_Y22_N4
--operation mode is normal

C1L41 = J1_q_a[2] & (J1_q_a[3] & J1_q_a[1] # !J1_q_a[3] & !J1_q_a[0]) # !J1_q_a[2] & (J1_q_a[3] $ (J1_q_a[1] & !J1_q_a[0]));


--C1L72 is tonetaba:u2|tone[2]~304 at LC_X7_Y23_N6
--operation mode is normal

C1L72 = LCELL(C1L72 & (C1L9 # !C1L41) # !C1L72 & !C1L41 & !C1L9);


--C1L51 is tonetaba:u2|Mux~130 at LC_X7_Y22_N1
--operation mode is normal

C1L51 = J1_q_a[0] & (J1_q_a[3] $ (!J1_q_a[1] & !J1_q_a[2])) # !J1_q_a[0] & (J1_q_a[3] # J1_q_a[1] $ J1_q_a[2]);


--C1L92 is tonetaba:u2|tone[3]~305 at LC_X7_Y23_N8
--operation mode is normal

C1L92 = LCELL(C1L9 & C1L92 # !C1L9 & !C1L51);


--C1L61 is tonetaba:u2|Mux~132 at LC_X7_Y22_N2
--operation mode is normal

C1L61 = J1_q_a[1] & (J1_q_a[3] # J1_q_a[2] $ J1_q_a[0]) # !J1_q_a[1] & (J1_q_a[0] # J1_q_a[2] $ J1_q_a[3]);


--C1L13 is tonetaba:u2|tone[4]~306 at LC_X7_Y23_N5
--operation mode is normal

C1L13 = LCELL(C1L13 & (C1L9 # !C1L61) # !C1L13 & !C1L61 & !C1L9);


--C1L71 is tonetaba:u2|Mux~134 at LC_X7_Y22_N8
--operation mode is normal

C1L71 = J1_q_a[1] # J1_q_a[3] # J1_q_a[2] $ J1_q_a[0];


--C1L33 is tonetaba:u2|tone[5]~307 at LC_X8_Y23_N3
--operation mode is normal

C1L33 = LCELL(C1L33 & (C1L9 # !C1L71) # !C1L33 & !C1L9 & !C1L71);


--C1L81 is tonetaba:u2|Mux~136 at LC_X9_Y22_N8
--operation mode is normal

C1L81 = J1_q_a[1] & (!J1_q_a[0] # !J1_q_a[2]) # !J1_q_a[1] & (J1_q_a[2] & (J1_q_a[0] # !J1_q_a[3]) # !J1_q_a[2] & (J1_q_a[3] $ J1_q_a[0]));


--C1L53 is tonetaba:u2|tone[6]~308 at LC_X8_Y23_N1
--operation mode is normal

C1L53 = LCELL(C1L9 & C1L53 # !C1L9 & !C1L81);


--C1L91 is tonetaba:u2|Mux~138 at LC_X7_Y22_N6
--operation mode is normal

C1L91 = J1_q_a[2] & (J1_q_a[1] & !J1_q_a[3] # !J1_q_a[0]) # !J1_q_a[2] & (J1_q_a[3] & J1_q_a[1] # !J1_q_a[3] & J1_q_a[0]);


--C1L73 is tonetaba:u2|tone[7]~309 at LC_X8_Y23_N0
--operation mode is normal

C1L73 = LCELL(C1L73 & (C1L9 # !C1L91) # !C1L73 & !C1L9 & !C1L91);


--C1L12 is tonetaba:u2|Mux~142 at LC_X9_Y22_N4
--operation mode is normal

C1L12 = J1_q_a[1] & (J1_q_a[2] & (!J1_q_a[0] # !J1_q_a[3]) # !J1_q_a[2] & J1_q_a[0]) # !J1_q_a[1] & (J1_q_a[2] $ J1_q_a[3]);


--C1L14 is tonetaba:u2|tone[9]~310 at LC_X9_Y22_N7
--operation mode is normal

C1L14 = LCELL(C1L12 & C1L14 & C1L9 # !C1L12 & (C1L14 # !C1L9));


--C1L22 is tonetaba:u2|Mux~144 at LC_X9_Y22_N6
--operation mode is normal

C1L22 = !J1_q_a[2] & !J1_q_a[3] & (J1_q_a[1] $ J1_q_a[0]);


--C1L34 is tonetaba:u2|tone[10]~311 at LC_X8_Y23_N4
--operation mode is normal

C1L34 = LCELL(C1L34 & (C1L9 # !C1L22) # !C1L34 & !C1L9 & !C1L22);


--C1L02 is tonetaba:u2|Mux~140 at LC_X9_Y22_N2
--operation mode is normal

C1L02 = J1_q_a[1] & (J1_q_a[3] # !J1_q_a[2] & J1_q_a[0]) # !J1_q_a[1] & J1_q_a[2];


--C1L93 is tonetaba:u2|tone[8]~312 at LC_X9_Y22_N1
--operation mode is normal

C1L93 = LCELL(C1L93 & (C1L9 # !C1L02) # !C1L93 & !C1L02 & !C1L9);


--K1_safe_q[0] is speakera:u3|lpm_counter:\divdeclk:count4[0]_rtl_1|cntr_ea7:auto_generated|safe_q[0] at LC_X8_Y21_N1
--operation mode is arithmetic

K1_safe_q[0]_lut_out = !K1_safe_q[0];
K1_safe_q[0] = DFFEA(K1_safe_q[0]_lut_out, GLOBAL(clk12mhz), !GLOBAL(D1L3), , , , );

--K1L01 is speakera:u3|lpm_counter:\divdeclk:count4[0]_rtl_1|cntr_ea7:auto_generated|safe_q[0]~COUT0 at LC_X8_Y21_N1
--operation mode is arithmetic

K1L01_cout_0 = K1_safe_q[0];
K1L01 = CARRY(K1L01_cout_0);

--K1L11 is speakera:u3|lpm_counter:\divdeclk:count4[0]_rtl_1|cntr_ea7:auto_generated|safe_q[0]~COUT1 at LC_X8_Y21_N1
--operation mode is arithmetic

K1L11_cout_1 = K1_safe_q[0];
K1L11 = CARRY(K1L11_cout_1);


--clk8hz is clk8hz at PIN_153
--operation mode is input

clk8hz = INPUT();


--clk12mhz is clk12mhz at PIN_29
--operation mode is input

clk12mhz = INPUT();


--code1[3] is code1[3] at PIN_16
--operation mode is output

code1[3] = OUTPUT(GND);


--code1[2] is code1[2] at PIN_15
--operation mode is output

code1[2] = OUTPUT(C1L5);


--code1[1] is code1[1] at PIN_14
--operation mode is output

code1[1] = OUTPUT(C1L3);


--code1[0] is code1[0] at PIN_13
--operation mode is output

code1[0] = OUTPUT(C1L1);


--high1 is high1 at PIN_1
--operation mode is output

high1 = OUTPUT(C1L7);


--spkout is spkout at PIN_174
--operation mode is output

spkout = OUTPUT(D1_\delayspks:count2);




⌨️ 快捷键说明

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