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

📄 beep.map.eqn

📁 vhdl的很多例子
💻 EQN
📖 第 1 页 / 共 2 页
字号:
--operation mode is normal

B1_clk_div1[0]_lut_out = !B1_clk_div1[0] & (B1_clk_div1[1] # !B1_clk_div1[2] # !B1_clk_div1[3]);
B1_clk_div1[0] = DFFEAS(B1_clk_div1[0]_lut_out, clk, reset, , , , , , );


--B1_clk_div1[1] is buzzer:inst|clk_div1[1]
--operation mode is normal

B1_clk_div1[1]_lut_out = B1_clk_div1[1] $ B1_clk_div1[0];
B1_clk_div1[1] = DFFEAS(B1_clk_div1[1]_lut_out, clk, reset, , , , , , );


--B1_clk_div1[2] is buzzer:inst|clk_div1[2]
--operation mode is normal

B1_clk_div1[2]_lut_out = B1_clk_div1[1] & (B1_clk_div1[2] $ B1_clk_div1[0]) # !B1_clk_div1[1] & B1_clk_div1[2] & (B1_clk_div1[0] # !B1_clk_div1[3]);
B1_clk_div1[2] = DFFEAS(B1_clk_div1[2]_lut_out, clk, reset, , , , , , );


--B1L106 is buzzer:inst|Equal~800
--operation mode is normal

B1L106 = B1_clk_div1[3] & B1_clk_div1[0] & !B1_clk_div1[1] & !B1_clk_div1[2];


--B1_cnt[20] is buzzer:inst|cnt[20]
--operation mode is arithmetic

B1_cnt[20]_carry_eqn = B1L78;
B1_cnt[20]_lut_out = B1_cnt[20] $ (!B1_cnt[20]_carry_eqn);
B1_cnt[20] = DFFEAS(B1_cnt[20]_lut_out, clk, reset, , B1L106, , , , );

--B1L80 is buzzer:inst|cnt[20]~177
--operation mode is arithmetic

B1L80 = CARRY(B1_cnt[20] & (!B1L78));


--B1_cnt[21] is buzzer:inst|cnt[21]
--operation mode is normal

B1_cnt[21]_carry_eqn = B1L80;
B1_cnt[21]_lut_out = B1_cnt[21] $ (B1_cnt[21]_carry_eqn);
B1_cnt[21] = DFFEAS(B1_cnt[21]_lut_out, clk, reset, , B1L106, , , , );


--B1_cnt[0] is buzzer:inst|cnt[0]
--operation mode is arithmetic

B1_cnt[0]_lut_out = !B1_cnt[0];
B1_cnt[0] = DFFEAS(B1_cnt[0]_lut_out, clk, reset, , B1L106, , , , );

--B1L40 is buzzer:inst|cnt[0]~185
--operation mode is arithmetic

B1L40 = CARRY(B1_cnt[0]);


--B1_cnt[1] is buzzer:inst|cnt[1]
--operation mode is arithmetic

B1_cnt[1]_carry_eqn = B1L40;
B1_cnt[1]_lut_out = B1_cnt[1] $ (B1_cnt[1]_carry_eqn);
B1_cnt[1] = DFFEAS(B1_cnt[1]_lut_out, clk, reset, , B1L106, , , , );

--B1L42 is buzzer:inst|cnt[1]~189
--operation mode is arithmetic

B1L42 = CARRY(!B1L40 # !B1_cnt[1]);


--B1_cnt[2] is buzzer:inst|cnt[2]
--operation mode is arithmetic

B1_cnt[2]_carry_eqn = B1L42;
B1_cnt[2]_lut_out = B1_cnt[2] $ (!B1_cnt[2]_carry_eqn);
B1_cnt[2] = DFFEAS(B1_cnt[2]_lut_out, clk, reset, , B1L106, , , , );

--B1L44 is buzzer:inst|cnt[2]~193
--operation mode is arithmetic

B1L44 = CARRY(B1_cnt[2] & (!B1L42));


--B1_cnt[3] is buzzer:inst|cnt[3]
--operation mode is arithmetic

B1_cnt[3]_carry_eqn = B1L44;
B1_cnt[3]_lut_out = B1_cnt[3] $ (B1_cnt[3]_carry_eqn);
B1_cnt[3] = DFFEAS(B1_cnt[3]_lut_out, clk, reset, , B1L106, , , , );

--B1L46 is buzzer:inst|cnt[3]~197
--operation mode is arithmetic

B1L46 = CARRY(!B1L44 # !B1_cnt[3]);


--B1L107 is buzzer:inst|Equal~801
--operation mode is normal

B1L107 = B1_cnt[0] & B1_cnt[1] & B1_cnt[2] & B1_cnt[3];


--B1_cnt[4] is buzzer:inst|cnt[4]
--operation mode is arithmetic

B1_cnt[4]_carry_eqn = B1L46;
B1_cnt[4]_lut_out = B1_cnt[4] $ (!B1_cnt[4]_carry_eqn);
B1_cnt[4] = DFFEAS(B1_cnt[4]_lut_out, clk, reset, , B1L106, , , , );

--B1L48 is buzzer:inst|cnt[4]~201
--operation mode is arithmetic

B1L48 = CARRY(B1_cnt[4] & (!B1L46));


--B1_cnt[5] is buzzer:inst|cnt[5]
--operation mode is arithmetic

B1_cnt[5]_carry_eqn = B1L48;
B1_cnt[5]_lut_out = B1_cnt[5] $ (B1_cnt[5]_carry_eqn);
B1_cnt[5] = DFFEAS(B1_cnt[5]_lut_out, clk, reset, , B1L106, , , , );

--B1L50 is buzzer:inst|cnt[5]~205
--operation mode is arithmetic

B1L50 = CARRY(!B1L48 # !B1_cnt[5]);


--B1_cnt[6] is buzzer:inst|cnt[6]
--operation mode is arithmetic

B1_cnt[6]_carry_eqn = B1L50;
B1_cnt[6]_lut_out = B1_cnt[6] $ (!B1_cnt[6]_carry_eqn);
B1_cnt[6] = DFFEAS(B1_cnt[6]_lut_out, clk, reset, , B1L106, , , , );

--B1L52 is buzzer:inst|cnt[6]~209
--operation mode is arithmetic

B1L52 = CARRY(B1_cnt[6] & (!B1L50));


--B1_cnt[7] is buzzer:inst|cnt[7]
--operation mode is arithmetic

B1_cnt[7]_carry_eqn = B1L52;
B1_cnt[7]_lut_out = B1_cnt[7] $ (B1_cnt[7]_carry_eqn);
B1_cnt[7] = DFFEAS(B1_cnt[7]_lut_out, clk, reset, , B1L106, , , , );

--B1L54 is buzzer:inst|cnt[7]~213
--operation mode is arithmetic

B1L54 = CARRY(!B1L52 # !B1_cnt[7]);


--B1L108 is buzzer:inst|Equal~802
--operation mode is normal

B1L108 = B1_cnt[4] & B1_cnt[5] & B1_cnt[6] & B1_cnt[7];


--B1_cnt[8] is buzzer:inst|cnt[8]
--operation mode is arithmetic

B1_cnt[8]_carry_eqn = B1L54;
B1_cnt[8]_lut_out = B1_cnt[8] $ (!B1_cnt[8]_carry_eqn);
B1_cnt[8] = DFFEAS(B1_cnt[8]_lut_out, clk, reset, , B1L106, , , , );

--B1L56 is buzzer:inst|cnt[8]~217
--operation mode is arithmetic

B1L56 = CARRY(B1_cnt[8] & (!B1L54));


--B1_cnt[9] is buzzer:inst|cnt[9]
--operation mode is arithmetic

B1_cnt[9]_carry_eqn = B1L56;
B1_cnt[9]_lut_out = B1_cnt[9] $ (B1_cnt[9]_carry_eqn);
B1_cnt[9] = DFFEAS(B1_cnt[9]_lut_out, clk, reset, , B1L106, , , , );

--B1L58 is buzzer:inst|cnt[9]~221
--operation mode is arithmetic

B1L58 = CARRY(!B1L56 # !B1_cnt[9]);


--B1_cnt[10] is buzzer:inst|cnt[10]
--operation mode is arithmetic

B1_cnt[10]_carry_eqn = B1L58;
B1_cnt[10]_lut_out = B1_cnt[10] $ (!B1_cnt[10]_carry_eqn);
B1_cnt[10] = DFFEAS(B1_cnt[10]_lut_out, clk, reset, , B1L106, , , , );

--B1L60 is buzzer:inst|cnt[10]~225
--operation mode is arithmetic

B1L60 = CARRY(B1_cnt[10] & (!B1L58));


--B1_cnt[11] is buzzer:inst|cnt[11]
--operation mode is arithmetic

B1_cnt[11]_carry_eqn = B1L60;
B1_cnt[11]_lut_out = B1_cnt[11] $ (B1_cnt[11]_carry_eqn);
B1_cnt[11] = DFFEAS(B1_cnt[11]_lut_out, clk, reset, , B1L106, , , , );

--B1L62 is buzzer:inst|cnt[11]~229
--operation mode is arithmetic

B1L62 = CARRY(!B1L60 # !B1_cnt[11]);


--B1L109 is buzzer:inst|Equal~803
--operation mode is normal

B1L109 = B1_cnt[8] & B1_cnt[9] & B1_cnt[10] & B1_cnt[11];


--B1_cnt[12] is buzzer:inst|cnt[12]
--operation mode is arithmetic

B1_cnt[12]_carry_eqn = B1L62;
B1_cnt[12]_lut_out = B1_cnt[12] $ (!B1_cnt[12]_carry_eqn);
B1_cnt[12] = DFFEAS(B1_cnt[12]_lut_out, clk, reset, , B1L106, , , , );

--B1L64 is buzzer:inst|cnt[12]~233
--operation mode is arithmetic

B1L64 = CARRY(B1_cnt[12] & (!B1L62));


--B1_cnt[13] is buzzer:inst|cnt[13]
--operation mode is arithmetic

B1_cnt[13]_carry_eqn = B1L64;
B1_cnt[13]_lut_out = B1_cnt[13] $ (B1_cnt[13]_carry_eqn);
B1_cnt[13] = DFFEAS(B1_cnt[13]_lut_out, clk, reset, , B1L106, , , , );

--B1L66 is buzzer:inst|cnt[13]~237
--operation mode is arithmetic

B1L66 = CARRY(!B1L64 # !B1_cnt[13]);


--B1_cnt[14] is buzzer:inst|cnt[14]
--operation mode is arithmetic

B1_cnt[14]_carry_eqn = B1L66;
B1_cnt[14]_lut_out = B1_cnt[14] $ (!B1_cnt[14]_carry_eqn);
B1_cnt[14] = DFFEAS(B1_cnt[14]_lut_out, clk, reset, , B1L106, , , , );

--B1L68 is buzzer:inst|cnt[14]~241
--operation mode is arithmetic

B1L68 = CARRY(B1_cnt[14] & (!B1L66));


--B1_cnt[15] is buzzer:inst|cnt[15]
--operation mode is arithmetic

B1_cnt[15]_carry_eqn = B1L68;
B1_cnt[15]_lut_out = B1_cnt[15] $ (B1_cnt[15]_carry_eqn);
B1_cnt[15] = DFFEAS(B1_cnt[15]_lut_out, clk, reset, , B1L106, , , , );

--B1L70 is buzzer:inst|cnt[15]~245
--operation mode is arithmetic

B1L70 = CARRY(!B1L68 # !B1_cnt[15]);


--B1L110 is buzzer:inst|Equal~804
--operation mode is normal

B1L110 = B1_cnt[12] & B1_cnt[13] & B1_cnt[14] & B1_cnt[15];


--B1L111 is buzzer:inst|Equal~805
--operation mode is normal

B1L111 = B1L107 & B1L108 & B1L109 & B1L110;


--B1_cnt[16] is buzzer:inst|cnt[16]
--operation mode is arithmetic

B1_cnt[16]_carry_eqn = B1L70;
B1_cnt[16]_lut_out = B1_cnt[16] $ (!B1_cnt[16]_carry_eqn);
B1_cnt[16] = DFFEAS(B1_cnt[16]_lut_out, clk, reset, , B1L106, , , , );

--B1L72 is buzzer:inst|cnt[16]~249
--operation mode is arithmetic

B1L72 = CARRY(B1_cnt[16] & (!B1L70));


--B1_cnt[17] is buzzer:inst|cnt[17]
--operation mode is arithmetic

B1_cnt[17]_carry_eqn = B1L72;
B1_cnt[17]_lut_out = B1_cnt[17] $ (B1_cnt[17]_carry_eqn);
B1_cnt[17] = DFFEAS(B1_cnt[17]_lut_out, clk, reset, , B1L106, , , , );

--B1L74 is buzzer:inst|cnt[17]~253
--operation mode is arithmetic

B1L74 = CARRY(!B1L72 # !B1_cnt[17]);


--B1_cnt[18] is buzzer:inst|cnt[18]
--operation mode is arithmetic

B1_cnt[18]_carry_eqn = B1L74;
B1_cnt[18]_lut_out = B1_cnt[18] $ (!B1_cnt[18]_carry_eqn);
B1_cnt[18] = DFFEAS(B1_cnt[18]_lut_out, clk, reset, , B1L106, , , , );

--B1L76 is buzzer:inst|cnt[18]~257
--operation mode is arithmetic

B1L76 = CARRY(B1_cnt[18] & (!B1L74));


--B1_cnt[19] is buzzer:inst|cnt[19]
--operation mode is arithmetic

B1_cnt[19]_carry_eqn = B1L76;
B1_cnt[19]_lut_out = B1_cnt[19] $ (B1_cnt[19]_carry_eqn);
B1_cnt[19] = DFFEAS(B1_cnt[19]_lut_out, clk, reset, , B1L106, , , , );

--B1L78 is buzzer:inst|cnt[19]~261
--operation mode is arithmetic

B1L78 = CARRY(!B1L76 # !B1_cnt[19]);


--B1L112 is buzzer:inst|Equal~806
--operation mode is normal

B1L112 = B1_cnt[16] & B1_cnt[17] & B1_cnt[18] & B1_cnt[19];


--B1L113 is buzzer:inst|Equal~807
--operation mode is normal

B1L113 = B1_cnt[20] & B1_cnt[21] & B1L111 & B1L112;


--B1L9 is buzzer:inst|clk_div2[0]~2615
--operation mode is normal

B1L9 = B1_state[0] & B1L97 # !B1_state[0] & (B1L95 # !B1L94);


--B1L10 is buzzer:inst|clk_div2[0]~2616
--operation mode is normal

B1L10 = B1_state[0] & B1L85 # !B1_state[0] & (B1L91 # !B1L90);


--B1L11 is buzzer:inst|clk_div2[0]~2617
--operation mode is normal

B1L11 = B1_state[0] & B1L99 # !B1_state[0] & (B1L100 # !B1L94);


--B1L12 is buzzer:inst|clk_div2[0]~2618
--operation mode is normal

B1L12 = B1_state[0] & B1L105 # !B1_state[0] & (B1L103);


--B1L13 is buzzer:inst|clk_div2[0]~2619
--operation mode is normal

B1L13 = B1_state[2] & B1_state[1] # !B1_state[2] & (B1_state[1] & (B1L12) # !B1_state[1] & B1L11);


--B1L14 is buzzer:inst|clk_div2[0]~2620
--operation mode is normal

B1L14 = B1_state[2] & (B1L13 & !B1L9 # !B1L13 & (!B1L10)) # !B1_state[2] & (!B1L13);


--clk is clk
--operation mode is input

clk = INPUT();


--reset is reset
--operation mode is input

reset = INPUT();


--beep is beep
--operation mode is output

beep = OUTPUT(B1_out_bit_tmp);


⌨️ 快捷键说明

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