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

📄 proj.fit.eqn

📁 LCD1602显示源代码 1。源文件保存在src目录
💻 EQN
📖 第 1 页 / 共 3 页
字号:
-- 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.
--B1_state[9] is lcd:inst|state[9] at LC_X50_Y17_N7
--operation mode is normal

B1_state[9]_lut_out = B1L191 # B1L491 # B1L99 & !B1L602;
B1_state[9] = DFFEAS(B1_state[9]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , , , , , );


--B1_state[7] is lcd:inst|state[7] at LC_X50_Y17_N5
--operation mode is normal

B1_state[7]_lut_out = B1_counter[5] & B1L702 & !B1L891 & B1_counter[3];
B1_state[7] = DFFEAS(B1_state[7]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , , , , , );


--B1_state[5] is lcd:inst|state[5] at LC_X50_Y17_N1
--operation mode is normal

B1_state[5]_lut_out = !B1_flag & B1L591;
B1_state[5] = DFFEAS(B1_state[5]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , , , , , );


--B1_state[4] is lcd:inst|state[4] at LC_X50_Y17_N9
--operation mode is normal

B1_state[4]_lut_out = B1L881 & B1_flag & (B1L802) # !B1L881 & (B1_flag & B1L802 # !B1L891);
B1_state[4] = DFFEAS(B1_state[4]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , , , , , );


--B1L691 is lcd:inst|reduce_nor~366 at LC_X50_Y17_N2
--operation mode is normal

B1L691 = !B1_state[5] & !B1_state[4] & !B1_state[7];


--B1L791 is lcd:inst|reduce_nor~367 at LC_X50_Y17_N0
--operation mode is normal

B1_state[3]_qfbk = B1_state[3];
B1L791 = !B1_state[2] & !B1_state[3]_qfbk;

--B1_state[3] is lcd:inst|state[3] at LC_X50_Y17_N0
--operation mode is normal

B1_state[3] = DFFEAS(B1L791, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , , B1L391, , , VCC);


--B1L891 is lcd:inst|reduce_nor~368 at LC_X49_Y17_N0
--operation mode is normal

B1L891 = B1_state[0] # !B1_state[9] # !B1L691 # !B1L791;


--B1L281 is lcd:inst|lcd_rw~364 at LC_X51_Y17_N8
--operation mode is normal

B1L281 = B1_state[5] & !B1_state[4] & !B1_state[7] & !B1_state[9] # !B1_state[5] & (B1_state[4] & !B1_state[7] & !B1_state[9] # !B1_state[4] & (B1_state[7] $ B1_state[9]));


--B1L381 is lcd:inst|lcd_rw~365 at LC_X51_Y17_N9
--operation mode is normal

B1L381 = B1_state[0] & (B1_state[2] # B1_state[3]) # !B1_state[0] & (B1_state[2] & B1_state[3] # !B1_state[2] & !B1_state[3] & !B1L281);


--B1L481 is lcd:inst|lcd_rw~366 at LC_X51_Y12_N4
--operation mode is normal

B1L481 = B1_state[2] $ (B1_state[3]);


--B1L991 is lcd:inst|reduce_nor~369 at LC_X51_Y17_N1
--operation mode is normal

B1L991 = !B1_state[5] & !B1_state[4] & !B1_state[7] & !B1_state[9];


--B1L581 is lcd:inst|lcd_rw~367 at LC_X51_Y12_N2
--operation mode is normal

B1L581 = B1L381 # !B1L991 & (B1L481 # B1_state[0]);


--B1_lcd_e is lcd:inst|lcd_e at LC_X52_Y8_N2
--operation mode is normal

B1_lcd_e_lut_out = !B1_lcd_e;
B1_lcd_e = DFFEAS(B1_lcd_e_lut_out, !GLOBAL(B1_clkdiv), GLOBAL(SYS_RST), , , , , , );


--B1L191 is lcd:inst|reduce_nor~5 at LC_X51_Y17_N7
--operation mode is normal

B1L191 = !B1_state[0] & B1_state[2] & !B1_state[3] & B1L991;


--B1L002 is lcd:inst|reduce_nor~370 at LC_X51_Y17_N5
--operation mode is normal

B1L002 = !B1_state[0] & !B1_state[2] & !B1_state[3] & !B1_state[9];


--B1L491 is lcd:inst|reduce_nor~10 at LC_X51_Y17_N3
--operation mode is normal

B1L491 = !B1_state[5] & !B1_state[4] & B1_state[7] & B1L002;


--B1_counter[4] is lcd:inst|counter[4] at LC_X49_Y17_N5
--operation mode is arithmetic

B1_counter[4]_carry_eqn = (!B1L631 & GND) # (B1L631 & VCC);
B1_counter[4]_lut_out = B1_counter[4] $ !B1_counter[4]_carry_eqn;
B1_counter[4] = DFFEAS(B1_counter[4]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L821, , , B1L891, );

--B1L041 is lcd:inst|counter[4]~378 at LC_X49_Y17_N5
--operation mode is arithmetic

B1L041_cout_0 = B1_counter[4] & !B1L631;
B1L041 = CARRY(B1L041_cout_0);

--B1L141 is lcd:inst|counter[4]~378COUT1_410 at LC_X49_Y17_N5
--operation mode is arithmetic

B1L141_cout_1 = B1_counter[4] & !B1L631;
B1L141 = CARRY(B1L141_cout_1);


--B1_counter[5] is lcd:inst|counter[5] at LC_X49_Y17_N6
--operation mode is arithmetic

B1_counter[5]_carry_eqn = (!B1L631 & B1L041) # (B1L631 & B1L141);
B1_counter[5]_lut_out = B1_counter[5] $ (B1_counter[5]_carry_eqn);
B1_counter[5] = DFFEAS(B1_counter[5]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L821, , , B1L891, );

--B1L441 is lcd:inst|counter[5]~382 at LC_X49_Y17_N6
--operation mode is arithmetic

B1L441_cout_0 = !B1L041 # !B1_counter[5];
B1L441 = CARRY(B1L441_cout_0);

--B1L541 is lcd:inst|counter[5]~382COUT1_411 at LC_X49_Y17_N6
--operation mode is arithmetic

B1L541_cout_1 = !B1L141 # !B1_counter[5];
B1L541 = CARRY(B1L541_cout_1);


--B1L681 is lcd:inst|LessThan~389 at LC_X49_Y19_N5
--operation mode is normal

B1L681 = !B1_counter[4] & !B1_counter[5];


--B1_counter[0] is lcd:inst|counter[0] at LC_X49_Y17_N1
--operation mode is arithmetic

B1_counter[0]_lut_out = !B1_counter[0];
B1_counter[0] = DFFEAS(B1_counter[0]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L821, , , B1L891, );

--B1L621 is lcd:inst|counter[0]~386 at LC_X49_Y17_N1
--operation mode is arithmetic

B1L621_cout_0 = B1_counter[0];
B1L621 = CARRY(B1L621_cout_0);

--B1L721 is lcd:inst|counter[0]~386COUT1_408 at LC_X49_Y17_N1
--operation mode is arithmetic

B1L721_cout_1 = B1_counter[0];
B1L721 = CARRY(B1L721_cout_1);


--B1_counter[1] is lcd:inst|counter[1] at LC_X49_Y17_N2
--operation mode is arithmetic

B1_counter[1]_lut_out = B1_counter[1] $ (B1L621);
B1_counter[1] = DFFEAS(B1_counter[1]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L821, , , B1L891, );

--B1L031 is lcd:inst|counter[1]~390 at LC_X49_Y17_N2
--operation mode is arithmetic

B1L031_cout_0 = !B1L621 # !B1_counter[1];
B1L031 = CARRY(B1L031_cout_0);

--B1L131 is lcd:inst|counter[1]~390COUT1_409 at LC_X49_Y17_N2
--operation mode is arithmetic

B1L131_cout_1 = !B1L721 # !B1_counter[1];
B1L131 = CARRY(B1L131_cout_1);


--B1_counter[2] is lcd:inst|counter[2] at LC_X49_Y17_N3
--operation mode is arithmetic

B1_counter[2]_lut_out = B1_counter[2] $ !B1L031;
B1_counter[2] = DFFEAS(B1_counter[2]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L821, , , B1L891, );

--B1L331 is lcd:inst|counter[2]~394 at LC_X49_Y17_N3
--operation mode is arithmetic

B1L331_cout_0 = B1_counter[2] & !B1L031;
B1L331 = CARRY(B1L331_cout_0);

--B1L431 is lcd:inst|counter[2]~394COUT1 at LC_X49_Y17_N3
--operation mode is arithmetic

B1L431_cout_1 = B1_counter[2] & !B1L131;
B1L431 = CARRY(B1L431_cout_1);


--B1L89 is lcd:inst|char_addr~1495 at LC_X49_Y18_N5
--operation mode is normal

B1L89 = !B1_counter[1] & (!B1_counter[2] & !B1_counter[0]);


--B1_counter[3] is lcd:inst|counter[3] at LC_X49_Y17_N4
--operation mode is arithmetic

B1_counter[3]_lut_out = B1_counter[3] $ B1L331;
B1_counter[3] = DFFEAS(B1_counter[3]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L821, , , B1L891, );

--B1L631 is lcd:inst|counter[3]~398 at LC_X49_Y17_N4
--operation mode is arithmetic

B1L631 = B1L731;


--B1L781 is lcd:inst|LessThan~390 at LC_X49_Y18_N0
--operation mode is normal

B1L781 = !B1_counter[5] & (!B1_counter[3]);


--B1_counter[6] is lcd:inst|counter[6] at LC_X49_Y17_N7
--operation mode is normal

B1_counter[6]_carry_eqn = (!B1L631 & B1L441) # (B1L631 & B1L541);
B1_counter[6]_lut_out = B1_counter[6] $ (!B1_counter[6]_carry_eqn);
B1_counter[6] = DFFEAS(B1_counter[6]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L821, , , B1L891, );


--B1L881 is lcd:inst|LessThan~391 at LC_X49_Y17_N8
--operation mode is normal

B1L881 = B1L681 # B1L89 & B1L781 # !B1_counter[6];


--B1L99 is lcd:inst|char_addr~1496 at LC_X50_Y18_N3
--operation mode is normal

B1L99 = B1L881 & (!B1L891);


--B1L702 is lcd:inst|reduce_or~40 at LC_X49_Y18_N7
--operation mode is normal

B1L702 = !B1_counter[6] & (!B1_counter[4] & B1L89);


--B1L602 is lcd:inst|reduce_or~1 at LC_X49_Y18_N3
--operation mode is normal

B1L602 = B1_counter[5] & (B1L702 & B1_counter[3]);


--B1_clk_int is lcd:inst|clk_int at LC_X10_Y13_N2
--operation mode is normal

B1_clk_int_lut_out = !B1_clk_int;
B1_clk_int = DFFEAS(B1_clk_int_lut_out, GLOBAL(B1_clkdiv), GLOBAL(SYS_RST), , , , , , );


--B1_flag is lcd:inst|flag at LC_X49_Y16_N4
--operation mode is normal

B1_flag_lut_out = VCC;
B1_flag = DFFEAS(B1_flag_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L591, , , , );


--B1L591 is lcd:inst|reduce_nor~16 at LC_X50_Y17_N3
--operation mode is normal

B1L591 = !B1_state[0] & B1L791 & B1L691 & !B1_state[9];


--B1_div_counter[3] is lcd:inst|div_counter[3] at LC_X49_Y16_N0
--operation mode is normal

B1_div_counter[3]_lut_out = B1_flag & (B1_div_counter[3] $ (B1_div_counter[2] & B1L1));
B1_div_counter[3] = DFFEAS(B1_div_counter[3]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L591, , , , );


--B1_div_counter[2] is lcd:inst|div_counter[2] at LC_X49_Y16_N2
--operation mode is normal

B1_div_counter[2]_lut_out = B1_flag & (B1_div_counter[2] $ (B1_div_counter[1] & B1_div_counter[0]));
B1_div_counter[2] = DFFEAS(B1_div_counter[2]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L591, , , , );


--B1_div_counter[1] is lcd:inst|div_counter[1] at LC_X49_Y16_N7
--operation mode is normal

B1_div_counter[1]_lut_out = B1L671 & (B1_div_counter[0] $ B1_div_counter[1]);
B1_div_counter[1] = DFFEAS(B1_div_counter[1]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L591, , , , );


--B1_div_counter[0] is lcd:inst|div_counter[0] at LC_X49_Y16_N8
--operation mode is normal

B1_div_counter[0]_lut_out = B1_flag & !B1_div_counter[0];
B1_div_counter[0] = DFFEAS(B1_div_counter[0]_lut_out, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , B1L591, , , , );


--B1L1 is lcd:inst|add~822 at LC_X49_Y16_N5
--operation mode is normal

B1L1 = B1_div_counter[0] & B1_div_counter[1];


--B1L802 is lcd:inst|Select~259 at LC_X50_Y17_N8
--operation mode is normal

B1L802 = B1_div_counter[2] & B1L591 & B1L1 & B1_div_counter[3];


--B1L391 is lcd:inst|reduce_nor~8 at LC_X51_Y17_N2
--operation mode is normal

B1L391 = B1_state[5] & !B1_state[4] & !B1_state[7] & B1L002;


--B1L291 is lcd:inst|reduce_nor~6 at LC_X50_Y17_N6
--operation mode is normal

B1_state[0]_qfbk = B1_state[0];
B1L291 = B1L991 & !B1_state[2] & !B1_state[0]_qfbk & B1_state[3];

--B1_state[0] is lcd:inst|state[0] at LC_X50_Y17_N6
--operation mode is normal

B1_state[0] = DFFEAS(B1L291, GLOBAL(B1_clk_int), GLOBAL(SYS_RST), , , , , , );


--B1_clkdiv is lcd:inst|clkdiv at LC_X8_Y12_N0
--operation mode is normal

B1_clkdiv_lut_out = !B1_clkdiv;
B1_clkdiv = DFFEAS(B1_clkdiv_lut_out, B1L502, GLOBAL(SYS_RST), , , , , , );


--B1L841 is lcd:inst|data~791 at LC_X51_Y17_N4
--operation mode is normal

B1L841 = B1_state[0] & (B1_state[2] # B1_state[3]) # !B1_state[0] & (B1_state[2] $ !B1_state[3]) # !B1L991;


--B1L941 is lcd:inst|data~792 at LC_X51_Y17_N6
--operation mode is normal

B1L941 = B1_state[7] # B1_state[5] $ !B1_state[4] # !B1L002;


--B1L051 is lcd:inst|data~793 at LC_X51_Y19_N0
--operation mode is normal

B1L051 = !B1L491 & B1L941;


--B1L151 is lcd:inst|data~794 at LC_X49_Y18_N6
--operation mode is normal

B1L151 = !B1_counter[6] & B1L89 & !B1_counter[4] & B1L781;


--B1L251 is lcd:inst|data~795 at LC_X51_Y19_N8
--operation mode is normal

B1L251 = B1L941 & !B1L151 & B1L491 & B1L841;


--B1L001 is lcd:inst|char_addr~1497 at LC_X49_Y18_N2
--operation mode is normal

B1L001 = B1_counter[3] & (B1_counter[1] # B1_counter[0] # B1_counter[2]);


--B1L101 is lcd:inst|char_addr~1498 at LC_X49_Y18_N4
--operation mode is normal

B1L101 = !B1_counter[6] & B1_counter[5] & (B1_counter[4] # B1L001);


--B1L201 is lcd:inst|char_addr~1499 at LC_X49_Y18_N8
--operation mode is normal

B1L201 = B1_counter[6] & B1L681 & (B1L89 # !B1_counter[3]);


--B1L301 is lcd:inst|char_addr~1500 at LC_X50_Y18_N8
--operation mode is normal

B1L301 = !B1L891 & (B1L101 # B1L201);


--B1L241 is lcd:inst|counter[4]~405 at LC_X49_Y19_N9
--operation mode is normal

B1L241 = !B1_counter[4] & !B1_counter[3];


--B1L79 is lcd:inst|char_addr~16 at LC_X49_Y19_N0
--operation mode is normal

B1L79 = !B1_counter[6] & !B1L891 & (B1L241 # !B1_counter[5]);


--B1L2 is lcd:inst|add~823 at LC_X50_Y20_N6
--operation mode is normal

B1L2_carry_eqn = (!B1L4 & B1L8) # (B1L4 & B1L9);
B1L2 = B1L2_carry_eqn $ B1_counter[5];


--B1L3 is lcd:inst|add~828 at LC_X50_Y20_N4
--operation mode is arithmetic

B1L3 = B1_counter[3] $ B1L12;

--B1L4 is lcd:inst|add~830 at LC_X50_Y20_N4
--operation mode is arithmetic

B1L4 = B1L5;


--B1L7 is lcd:inst|add~833 at LC_X50_Y20_N5
--operation mode is arithmetic

B1L7_carry_eqn = (!B1L4 & GND) # (B1L4 & VCC);
B1L7 = B1_counter[4] $ (B1L7_carry_eqn);

--B1L8 is lcd:inst|add~835 at LC_X50_Y20_N5
--operation mode is arithmetic

B1L8_cout_0 = B1_counter[4] # !B1L4;
B1L8 = CARRY(B1L8_cout_0);

--B1L9 is lcd:inst|add~835COUT1_972 at LC_X50_Y20_N5
--operation mode is arithmetic

B1L9_cout_1 = B1_counter[4] # !B1L4;
B1L9 = CARRY(B1L9_cout_1);


--B1L01 is lcd:inst|add~838 at LC_X49_Y19_N8
--operation mode is normal

B1L01 = B1L2 $ (B1L3 & B1L7);


--B1L981 is lcd:inst|LessThan~392 at LC_X49_Y18_N9
--operation mode is normal

B1L981 = !B1_counter[1] & (!B1_counter[2]);


--B1L401 is lcd:inst|char_addr~1501 at LC_X49_Y18_N1
--operation mode is normal

B1L401 = B1_counter[6] & (!B1L981 & B1_counter[3] # !B1L681);


--B1L39 is lcd:inst|char_addr[5]~1502 at LC_X50_Y18_N5
--operation mode is normal

B1L39 = B1L401 & !B1L79 & !B1L301 & B1L99;


--B1L11 is lcd:inst|add~839 at LC_X50_Y19_N6
--operation mode is normal

B1L11_carry_eqn = (!B1L31 & B1L71) # (B1L31 & B1L81);
B1L11 = B1_counter[5] $ (!B1L11_carry_eqn);

⌨️ 快捷键说明

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