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

📄 songer.map.eqn

📁 基于ALTERA CYCLONE 系列的音乐播放示例实验教程.
💻 EQN
📖 第 1 页 / 共 2 页
字号:

B1L27 = F1_safe_q[3] & F1_safe_q[5] & !B1L66 # !F1_safe_q[3] & (!B1L56 # !F1_safe_q[5]);


--B1L37 is NoteTabs:u1|ToneIndex[3]~690
--operation mode is normal

B1L37 = B1L27 # !F1_safe_q[5] & !B1L76;


--B1L36 is NoteTabs:u1|ToneIndex[3]~96
--operation mode is normal

B1L36 = F1_safe_q[0] & (F1_safe_q[1] $ F1_safe_q[3] # !F1_safe_q[5]) # !F1_safe_q[0] & (F1_safe_q[1] # F1_safe_q[3]);


--B1L47 is NoteTabs:u1|ToneIndex[3]~691
--operation mode is normal

B1L47 = F1_safe_q[0] & F1_safe_q[1] & F1_safe_q[3] & !F1_safe_q[5];


--B1L57 is NoteTabs:u1|ToneIndex[3]~692
--operation mode is normal

B1L57 = !F1_safe_q[0] & !F1_safe_q[1] & !F1_safe_q[3] & !F1_safe_q[5];


--B1L07 is NoteTabs:u1|ToneIndex[3]~239
--operation mode is normal

B1L07 = F1_safe_q[2] & (F1_safe_q[4] # !B1L47) # !F1_safe_q[2] & !F1_safe_q[4] & !B1L57;


--B1L46 is NoteTabs:u1|ToneIndex[3]~99
--operation mode is normal

B1L46 = F1_safe_q[3] & F1_safe_q[5] & !F1_safe_q[0] & !F1_safe_q[1];


--B1L17 is NoteTabs:u1|ToneIndex[3]~240
--operation mode is normal

B1L17 = B1L07 & (!B1L46 # !F1_safe_q[4]) # !B1L07 & B1L36 & F1_safe_q[4];


--B1L86 is NoteTabs:u1|ToneIndex[3]~233
--operation mode is normal

B1L86 = F1_safe_q[7] & (F1_safe_q[6] # B1L17) # !F1_safe_q[7] & !F1_safe_q[6] & B1L77;


--B1L26 is NoteTabs:u1|ToneIndex[3]~21
--operation mode is normal

B1L26 = B1L57 & !F1_safe_q[2] & !F1_safe_q[4];


--B1L96 is NoteTabs:u1|ToneIndex[3]~234
--operation mode is normal

B1L96 = B1L86 & (B1L26 # !F1_safe_q[6]) # !B1L86 & B1L37 & F1_safe_q[6];


--C1L1 is ToneTaba:u2|Mux~172
--operation mode is normal

C1L1 = B1L65 $ (B1L32 & B1L93 & B1L96);


--C1L21 is ToneTaba:u2|Mux~218
--operation mode is normal

C1L21 = B1L93 $ (B1L32 & B1L96);


--C1L2 is ToneTaba:u2|Mux~174
--operation mode is normal

C1L2 = B1L32 & (B1L93 & B1L65 # !B1L96) # !B1L32 & B1L96;


--D1_\DelaySpkS:Count2 is Speakera:u3|\DelaySpkS:Count2
--operation mode is normal

D1_\DelaySpkS:Count2_lut_out = !D1_\DelaySpkS:Count2;
D1_\DelaySpkS:Count2 = DFFEA(D1_\DelaySpkS:Count2_lut_out, D1_FullSpkS, VCC, , , , );


--B1L2 is NoteTabs:u1|reduce_nor~32
--operation mode is normal

B1L2 = F1_safe_q[0] & F1_safe_q[1];


--B1L3 is NoteTabs:u1|reduce_nor~33
--operation mode is normal

B1L3 = F1_safe_q[7] & !F1_safe_q[4] & !F1_safe_q[3] & !F1_safe_q[5];


--B1L1 is NoteTabs:u1|reduce_nor~0
--operation mode is normal

B1L1 = F1_safe_q[6] & F1_safe_q[2] & B1L2 & B1L3;


--D1_FullSpkS is Speakera:u3|FullSpkS
--operation mode is normal

D1_FullSpkS_lut_out = D1L7;
D1_FullSpkS = DFFEA(D1_FullSpkS_lut_out, D1L3, VCC, , , , );


--H1_safe_q[0] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[0]
--operation mode is arithmetic

H1_safe_q[0]_lut_out = !H1_safe_q[0];
H1_safe_q[0]_sload_eqn = (D1L7 & C1L41) # (!D1L7 & H1_safe_q[0]_lut_out);
H1_safe_q[0] = DFFEA(H1_safe_q[0]_sload_eqn, D1L3, VCC, , , , );

--H1L2 is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|counter_cella0~COUT
--operation mode is arithmetic

H1L2 = CARRY(H1_safe_q[0]);


--H1_safe_q[1] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[1]
--operation mode is arithmetic

H1_safe_q[1]_carry_eqn = H1L2;
H1_safe_q[1]_lut_out = H1_safe_q[1] $ H1_safe_q[1]_carry_eqn;
H1_safe_q[1]_sload_eqn = (D1L7 & C1L3) # (!D1L7 & H1_safe_q[1]_lut_out);
H1_safe_q[1] = DFFEA(H1_safe_q[1]_sload_eqn, D1L3, VCC, , , , );

--H1L4 is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|counter_cella1~COUT
--operation mode is arithmetic

H1L4 = CARRY(!H1L2 # !H1_safe_q[1]);


--H1_safe_q[2] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[2]
--operation mode is arithmetic

H1_safe_q[2]_carry_eqn = H1L4;
H1_safe_q[2]_lut_out = H1_safe_q[2] $ !H1_safe_q[2]_carry_eqn;
H1_safe_q[2]_sload_eqn = (D1L7 & C1L4) # (!D1L7 & H1_safe_q[2]_lut_out);
H1_safe_q[2] = DFFEA(H1_safe_q[2]_sload_eqn, D1L3, VCC, , , , );

--H1L6 is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|counter_cella2~COUT
--operation mode is arithmetic

H1L6 = CARRY(H1_safe_q[2] & !H1L4);


--H1_safe_q[3] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[3]
--operation mode is arithmetic

H1_safe_q[3]_carry_eqn = H1L6;
H1_safe_q[3]_lut_out = H1_safe_q[3] $ H1_safe_q[3]_carry_eqn;
H1_safe_q[3]_sload_eqn = (D1L7 & C1L5) # (!D1L7 & H1_safe_q[3]_lut_out);
H1_safe_q[3] = DFFEA(H1_safe_q[3]_sload_eqn, D1L3, VCC, , , , );

--H1L8 is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|counter_cella3~COUT
--operation mode is arithmetic

H1L8 = CARRY(!H1L6 # !H1_safe_q[3]);


--D1L4 is Speakera:u3|reduce_nor~68
--operation mode is normal

D1L4 = !H1_safe_q[3] # !H1_safe_q[2] # !H1_safe_q[1] # !H1_safe_q[0];


--H1_safe_q[4] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[4]
--operation mode is arithmetic

H1_safe_q[4]_carry_eqn = H1L8;
H1_safe_q[4]_lut_out = H1_safe_q[4] $ !H1_safe_q[4]_carry_eqn;
H1_safe_q[4]_sload_eqn = (D1L7 & C1L6) # (!D1L7 & H1_safe_q[4]_lut_out);
H1_safe_q[4] = DFFEA(H1_safe_q[4]_sload_eqn, D1L3, VCC, , , , );

--H1L01 is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|counter_cella4~COUT
--operation mode is arithmetic

H1L01 = CARRY(H1_safe_q[4] & !H1L8);


--H1_safe_q[5] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[5]
--operation mode is arithmetic

H1_safe_q[5]_carry_eqn = H1L01;
H1_safe_q[5]_lut_out = H1_safe_q[5] $ H1_safe_q[5]_carry_eqn;
H1_safe_q[5]_sload_eqn = (D1L7 & C1L41) # (!D1L7 & H1_safe_q[5]_lut_out);
H1_safe_q[5] = DFFEA(H1_safe_q[5]_sload_eqn, D1L3, VCC, , , , );

--H1L21 is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|counter_cella5~COUT
--operation mode is arithmetic

H1L21 = CARRY(!H1L01 # !H1_safe_q[5]);


--H1_safe_q[6] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[6]
--operation mode is arithmetic

H1_safe_q[6]_carry_eqn = H1L21;
H1_safe_q[6]_lut_out = H1_safe_q[6] $ !H1_safe_q[6]_carry_eqn;
H1_safe_q[6]_sload_eqn = (D1L7 & C1L7) # (!D1L7 & H1_safe_q[6]_lut_out);
H1_safe_q[6] = DFFEA(H1_safe_q[6]_sload_eqn, D1L3, VCC, , , , );

--H1L41 is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|counter_cella6~COUT
--operation mode is arithmetic

H1L41 = CARRY(H1_safe_q[6] & !H1L21);


--H1_safe_q[7] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[7]
--operation mode is arithmetic

H1_safe_q[7]_carry_eqn = H1L41;
H1_safe_q[7]_lut_out = H1_safe_q[7] $ H1_safe_q[7]_carry_eqn;
H1_safe_q[7]_sload_eqn = (D1L7 & C1L8) # (!D1L7 & H1_safe_q[7]_lut_out);
H1_safe_q[7] = DFFEA(H1_safe_q[7]_sload_eqn, D1L3, VCC, , , , );

--H1L61 is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|counter_cella7~COUT
--operation mode is arithmetic

H1L61 = CARRY(!H1L41 # !H1_safe_q[7]);


--D1L5 is Speakera:u3|reduce_nor~69
--operation mode is normal

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


--H1_safe_q[9] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[9]
--operation mode is arithmetic

H1_safe_q[9]_carry_eqn = H1L81;
H1_safe_q[9]_lut_out = H1_safe_q[9] $ H1_safe_q[9]_carry_eqn;
H1_safe_q[9]_sload_eqn = (D1L7 & C1L01) # (!D1L7 & H1_safe_q[9]_lut_out);
H1_safe_q[9] = DFFEA(H1_safe_q[9]_sload_eqn, D1L3, VCC, , , , );

--H1L02 is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|counter_cella9~COUT
--operation mode is arithmetic

H1L02 = CARRY(!H1L81 # !H1_safe_q[9]);


--H1_safe_q[10] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[10]
--operation mode is normal

H1_safe_q[10]_carry_eqn = H1L02;
H1_safe_q[10]_lut_out = H1_safe_q[10] $ !H1_safe_q[10]_carry_eqn;
H1_safe_q[10]_sload_eqn = (D1L7 & C1L11) # (!D1L7 & H1_safe_q[10]_lut_out);
H1_safe_q[10] = DFFEA(H1_safe_q[10]_sload_eqn, D1L3, VCC, , , , );


--D1L6 is Speakera:u3|reduce_nor~70
--operation mode is normal

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


--H1_safe_q[8] is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|safe_q[8]
--operation mode is arithmetic

H1_safe_q[8]_carry_eqn = H1L61;
H1_safe_q[8]_lut_out = H1_safe_q[8] $ !H1_safe_q[8]_carry_eqn;
H1_safe_q[8]_sload_eqn = (D1L7 & C1L9) # (!D1L7 & H1_safe_q[8]_lut_out);
H1_safe_q[8] = DFFEA(H1_safe_q[8]_sload_eqn, D1L3, VCC, , , , );

--H1L81 is Speakera:u3|lpm_counter:\GenSpkS:Count11[0]_rtl_1|cntr_7t7:auto_generated|counter_cella8~COUT
--operation mode is arithmetic

H1L81 = CARRY(H1_safe_q[8] & !H1L61);


--D1L7 is Speakera:u3|reduce_nor~71
--operation mode is normal

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


--G1_safe_q[2] is Speakera:u3|lpm_counter:\DivideCLK:Count4[0]_rtl_2|cntr_ea7:auto_generated|safe_q[2]
--operation mode is arithmetic

G1_safe_q[2]_carry_eqn = G1L4;
G1_safe_q[2]_lut_out = G1_safe_q[2] $ !G1_safe_q[2]_carry_eqn;
G1_safe_q[2] = DFFEA(G1_safe_q[2]_lut_out, CLK12MHZ, !D1L3, , , , );

--G1L6 is Speakera:u3|lpm_counter:\DivideCLK:Count4[0]_rtl_2|cntr_ea7:auto_generated|counter_cella2~COUT
--operation mode is arithmetic

G1L6 = CARRY(G1_safe_q[2] & !G1L4);


--G1_safe_q[3] is Speakera:u3|lpm_counter:\DivideCLK:Count4[0]_rtl_2|cntr_ea7:auto_generated|safe_q[3]
--operation mode is normal

G1_safe_q[3]_carry_eqn = G1L6;
G1_safe_q[3]_lut_out = G1_safe_q[3] $ G1_safe_q[3]_carry_eqn;
G1_safe_q[3] = DFFEA(G1_safe_q[3]_lut_out, CLK12MHZ, !D1L3, , , , );


--D1L3 is Speakera:u3|PreCLK~15
--operation mode is normal

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


--C1L3 is ToneTaba:u2|Mux~178
--operation mode is normal

C1L3 = B1L32 & B1L93 & B1L65 & B1L96 # !B1L32 & (B1L96 # B1L93 $ !B1L65);


--C1L4 is ToneTaba:u2|Mux~180
--operation mode is normal

C1L4 = B1L32 & (!B1L93 & B1L65 # !B1L96) # !B1L32 & (B1L93 $ (B1L65 # !B1L96));


--C1L5 is ToneTaba:u2|Mux~182
--operation mode is normal

C1L5 = B1L32 & (B1L96 $ (B1L93 # B1L65)) # !B1L32 & (B1L93 & B1L65 # !B1L93 & !B1L96);


--C1L6 is ToneTaba:u2|Mux~184
--operation mode is normal

C1L6 = B1L65 & (B1L32 $ (B1L96 # !B1L93)) # !B1L65 & !B1L32 & !B1L96;


--C1L7 is ToneTaba:u2|Mux~188
--operation mode is normal

C1L7 = B1L32 & (B1L65 & B1L93 # !B1L65 & B1L96) # !B1L32 & !B1L93 & (B1L65 # !B1L96);


--C1L8 is ToneTaba:u2|Mux~190
--operation mode is normal

C1L8 = B1L65 & (B1L93 & B1L96 # !B1L93 & B1L32) # !B1L65 & (B1L96 & !B1L93 # !B1L96 & !B1L32);


--C1L01 is ToneTaba:u2|Mux~194
--operation mode is normal

C1L01 = B1L93 & (B1L96 # !B1L32 & !B1L65) # !B1L93 & (B1L65 $ !B1L96);


--C1L11 is ToneTaba:u2|Mux~196
--operation mode is normal

C1L11 = B1L65 # B1L96 # B1L32 $ !B1L93;


--C1L9 is ToneTaba:u2|Mux~192
--operation mode is normal

C1L9 = B1L93 & !B1L96 & (B1L65 # !B1L32) # !B1L93 & !B1L65;


--G1_safe_q[1] is Speakera:u3|lpm_counter:\DivideCLK:Count4[0]_rtl_2|cntr_ea7:auto_generated|safe_q[1]
--operation mode is arithmetic

G1_safe_q[1]_carry_eqn = G1L2;
G1_safe_q[1]_lut_out = G1_safe_q[1] $ G1_safe_q[1]_carry_eqn;
G1_safe_q[1] = DFFEA(G1_safe_q[1]_lut_out, CLK12MHZ, !D1L3, , , , );

--G1L4 is Speakera:u3|lpm_counter:\DivideCLK:Count4[0]_rtl_2|cntr_ea7:auto_generated|counter_cella1~COUT
--operation mode is arithmetic

G1L4 = CARRY(!G1L2 # !G1_safe_q[1]);


--G1_safe_q[0] is Speakera:u3|lpm_counter:\DivideCLK:Count4[0]_rtl_2|cntr_ea7:auto_generated|safe_q[0]
--operation mode is arithmetic

G1_safe_q[0]_lut_out = !G1_safe_q[0];
G1_safe_q[0] = DFFEA(G1_safe_q[0]_lut_out, CLK12MHZ, !D1L3, , , , );

--G1L2 is Speakera:u3|lpm_counter:\DivideCLK:Count4[0]_rtl_2|cntr_ea7:auto_generated|counter_cella0~COUT
--operation mode is arithmetic

G1L2 = CARRY(G1_safe_q[0]);


--C1L31 is ToneTaba:u2|Mux~303
--operation mode is normal

C1L31 = !F1_safe_q[5] & !F1_safe_q[3];


--C1L41 is ToneTaba:u2|Mux~308
--operation mode is normal

C1L41 = F1_safe_q[7] & F1_safe_q[6] & (F1_safe_q[4] # !C1L31);


--B1L67 is NoteTabs:u1|ToneIndex[3]~693
--operation mode is normal

B1L67 = F1_safe_q[1] & (F1_safe_q[5] # F1_safe_q[2] $ F1_safe_q[0]) # !F1_safe_q[1] & F1_safe_q[2];


--B1L77 is NoteTabs:u1|ToneIndex[3]~694
--operation mode is normal

B1L77 = B1L67 # F1_safe_q[2] & (!F1_safe_q[4] # !F1_safe_q[3]) # !F1_safe_q[2] & (F1_safe_q[3] # F1_safe_q[4]);


--CLK8HZ is CLK8HZ
--operation mode is input

CLK8HZ = INPUT();


--CLK12MHZ is CLK12MHZ
--operation mode is input

CLK12MHZ = INPUT();


--CODE1[3] is CODE1[3]
--operation mode is output

CODE1[3] = OUTPUT(GND);


--CODE1[2] is CODE1[2]
--operation mode is output

CODE1[2] = OUTPUT(C1L1);


--CODE1[1] is CODE1[1]
--operation mode is output

CODE1[1] = OUTPUT(C1L21);


--CODE1[0] is CODE1[0]
--operation mode is output

CODE1[0] = OUTPUT(C1L2);


--HIGH1 is HIGH1
--operation mode is output

HIGH1 = OUTPUT(B1L96);


--SPKOUT is SPKOUT
--operation mode is output

SPKOUT = OUTPUT(D1_\DelaySpkS:Count2);


⌨️ 快捷键说明

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