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

📄 proj.fit.eqn

📁 基于ep1c6的vhdl的lcd控制程序实例
💻 EQN
📖 第 1 页 / 共 3 页
字号:
B1L602 = B1_clkcnt[3] # B1_clkcnt[5]_qfbk # B1_clkcnt[4] # !B1_clkcnt[6];

--B1_clkcnt[5] is lcd:inst|clkcnt[5] at LC_X9_Y11_N2
--operation mode is normal

B1_clkcnt[5] = DFFEAS(B1L602, GLOBAL(C1_count[3]), GLOBAL(SYS_RST), , , B1L06, , , VCC);


--B1_clkcnt[1] is lcd:inst|clkcnt[1] at LC_X10_Y12_N7
--operation mode is normal

B1_clkcnt[1]_lut_out = GND;
B1_clkcnt[1] = DFFEAS(B1_clkcnt[1]_lut_out, GLOBAL(C1_count[3]), GLOBAL(SYS_RST), , , B1L47, , , VCC);


--B1_clkcnt[0] is lcd:inst|clkcnt[0] at LC_X9_Y11_N1
--operation mode is normal

B1_clkcnt[0]_lut_out = !B1L802 & (B1L77);
B1_clkcnt[0] = DFFEAS(B1_clkcnt[0]_lut_out, GLOBAL(C1_count[3]), GLOBAL(SYS_RST), , , , , , );


--B1_clkcnt[15] is lcd:inst|clkcnt[15] at LC_X9_Y11_N8
--operation mode is normal

B1_clkcnt[15]_lut_out = !B1L802 & B1L08;
B1_clkcnt[15] = DFFEAS(B1_clkcnt[15]_lut_out, GLOBAL(C1_count[3]), GLOBAL(SYS_RST), , , , , , );


--B1L702 is lcd:inst|reduce_nor~379 at LC_X9_Y11_N6
--operation mode is normal

B1_clkcnt[2]_qfbk = B1_clkcnt[2];
B1L702 = B1_clkcnt[1] # B1_clkcnt[2]_qfbk # B1_clkcnt[0] # !B1_clkcnt[15];

--B1_clkcnt[2] is lcd:inst|clkcnt[2] at LC_X9_Y11_N6
--operation mode is normal

B1_clkcnt[2] = DFFEAS(B1L702, GLOBAL(C1_count[3]), GLOBAL(SYS_RST), , , B1L27, , , VCC);


--B1L802 is lcd:inst|reduce_nor~380 at LC_X9_Y11_N7
--operation mode is normal

B1L802 = !B1L602 & !B1L502 & !B1L402 & !B1L702;


--B1L83 is lcd:inst|add~885 at LC_X8_Y11_N6
--operation mode is arithmetic

B1L83_carry_eqn = (!B1L54 & B1L24) # (B1L54 & B1L34);
B1L83 = B1_clkcnt[14] $ !B1L83_carry_eqn;

--B1L93 is lcd:inst|add~887 at LC_X8_Y11_N6
--operation mode is arithmetic

B1L93_cout_0 = B1_clkcnt[14] & !B1L24;
B1L93 = CARRY(B1L93_cout_0);

--B1L04 is lcd:inst|add~887COUT1_983 at LC_X8_Y11_N6
--operation mode is arithmetic

B1L04_cout_1 = B1_clkcnt[14] & !B1L34;
B1L04 = CARRY(B1L04_cout_1);


--C1_count[3] is div16:inst2|count[3] at LC_X8_Y10_N6
--operation mode is normal

C1_count[3]_lut_out = !C1_count[3];
C1_count[3] = DFFEAS(C1_count[3]_lut_out, GLOBAL(clk), GLOBAL(SYS_RST), , C1L1, , , , );


--B1L14 is lcd:inst|add~890 at LC_X8_Y11_N5
--operation mode is arithmetic

B1L14_carry_eqn = B1L54;
B1L14 = B1_clkcnt[13] $ B1L14_carry_eqn;

--B1L24 is lcd:inst|add~892 at LC_X8_Y11_N5
--operation mode is arithmetic

B1L24_cout_0 = !B1L54 # !B1_clkcnt[13];
B1L24 = CARRY(B1L24_cout_0);

--B1L34 is lcd:inst|add~892COUT1_982 at LC_X8_Y11_N5
--operation mode is arithmetic

B1L34_cout_1 = !B1L54 # !B1_clkcnt[13];
B1L34 = CARRY(B1L34_cout_1);


--B1L44 is lcd:inst|add~895 at LC_X8_Y11_N4
--operation mode is arithmetic

B1L44_carry_eqn = (!B1L65 & B1L74) # (B1L65 & B1L84);
B1L44 = B1_clkcnt[12] $ !B1L44_carry_eqn;

--B1L54 is lcd:inst|add~897 at LC_X8_Y11_N4
--operation mode is arithmetic

B1L54 = CARRY(B1_clkcnt[12] & !B1L84);


--B1L64 is lcd:inst|add~900 at LC_X8_Y11_N3
--operation mode is arithmetic

B1L64_carry_eqn = (!B1L65 & B1L85) # (B1L65 & B1L95);
B1L64 = B1_clkcnt[11] $ (B1L64_carry_eqn);

--B1L74 is lcd:inst|add~902 at LC_X8_Y11_N3
--operation mode is arithmetic

B1L74_cout_0 = !B1L85 # !B1_clkcnt[11];
B1L74 = CARRY(B1L74_cout_0);

--B1L84 is lcd:inst|add~902COUT1_981 at LC_X8_Y11_N3
--operation mode is arithmetic

B1L84_cout_1 = !B1L95 # !B1_clkcnt[11];
B1L84 = CARRY(B1L84_cout_1);


--B1L94 is lcd:inst|add~905 at LC_X8_Y11_N1
--operation mode is arithmetic

B1L94_carry_eqn = (!B1L65 & B1L35) # (B1L65 & B1L45);
B1L94 = B1_clkcnt[9] $ B1L94_carry_eqn;

--B1L05 is lcd:inst|add~907 at LC_X8_Y11_N1
--operation mode is arithmetic

B1L05_cout_0 = !B1L35 # !B1_clkcnt[9];
B1L05 = CARRY(B1L05_cout_0);

--B1L15 is lcd:inst|add~907COUT1_979 at LC_X8_Y11_N1
--operation mode is arithmetic

B1L15_cout_1 = !B1L45 # !B1_clkcnt[9];
B1L15 = CARRY(B1L15_cout_1);


--B1L25 is lcd:inst|add~910 at LC_X8_Y11_N0
--operation mode is arithmetic

B1L25_carry_eqn = B1L65;
B1L25 = B1_clkcnt[8] $ (!B1L25_carry_eqn);

--B1L35 is lcd:inst|add~912 at LC_X8_Y11_N0
--operation mode is arithmetic

B1L35_cout_0 = B1_clkcnt[8] & (!B1L65);
B1L35 = CARRY(B1L35_cout_0);

--B1L45 is lcd:inst|add~912COUT1_978 at LC_X8_Y11_N0
--operation mode is arithmetic

B1L45_cout_1 = B1_clkcnt[8] & (!B1L65);
B1L45 = CARRY(B1L45_cout_1);


--B1L55 is lcd:inst|add~915 at LC_X8_Y12_N9
--operation mode is arithmetic

B1L55_carry_eqn = (!B1L37 & B1L07) # (B1L37 & B1L17);
B1L55 = B1_clkcnt[7] $ B1L55_carry_eqn;

--B1L65 is lcd:inst|add~917 at LC_X8_Y12_N9
--operation mode is arithmetic

B1L65 = CARRY(!B1L17 # !B1_clkcnt[7]);


--B1L75 is lcd:inst|add~920 at LC_X8_Y11_N2
--operation mode is arithmetic

B1L75_carry_eqn = (!B1L65 & B1L05) # (B1L65 & B1L15);
B1L75 = B1_clkcnt[10] $ !B1L75_carry_eqn;

--B1L85 is lcd:inst|add~922 at LC_X8_Y11_N2
--operation mode is arithmetic

B1L85_cout_0 = B1_clkcnt[10] & !B1L05;
B1L85 = CARRY(B1L85_cout_0);

--B1L95 is lcd:inst|add~922COUT1_980 at LC_X8_Y11_N2
--operation mode is arithmetic

B1L95_cout_1 = B1_clkcnt[10] & !B1L15;
B1L95 = CARRY(B1L95_cout_1);


--B1L06 is lcd:inst|add~925 at LC_X8_Y12_N7
--operation mode is arithmetic

B1L06_carry_eqn = (!B1L37 & B1L46) # (B1L37 & B1L56);
B1L06 = B1_clkcnt[5] $ (B1L06_carry_eqn);

--B1L16 is lcd:inst|add~927 at LC_X8_Y12_N7
--operation mode is arithmetic

B1L16_cout_0 = !B1L46 # !B1_clkcnt[5];
B1L16 = CARRY(B1L16_cout_0);

--B1L26 is lcd:inst|add~927COUT1_976 at LC_X8_Y12_N7
--operation mode is arithmetic

B1L26_cout_1 = !B1L56 # !B1_clkcnt[5];
B1L26 = CARRY(B1L26_cout_1);


--B1L36 is lcd:inst|add~930 at LC_X8_Y12_N6
--operation mode is arithmetic

B1L36_carry_eqn = (!B1L37 & B1L76) # (B1L37 & B1L86);
B1L36 = B1_clkcnt[4] $ (!B1L36_carry_eqn);

--B1L46 is lcd:inst|add~932 at LC_X8_Y12_N6
--operation mode is arithmetic

B1L46_cout_0 = B1_clkcnt[4] & (!B1L76);
B1L46 = CARRY(B1L46_cout_0);

--B1L56 is lcd:inst|add~932COUT1_975 at LC_X8_Y12_N6
--operation mode is arithmetic

B1L56_cout_1 = B1_clkcnt[4] & (!B1L86);
B1L56 = CARRY(B1L56_cout_1);


--B1L66 is lcd:inst|add~935 at LC_X8_Y12_N5
--operation mode is arithmetic

B1L66_carry_eqn = B1L37;
B1L66 = B1_clkcnt[3] $ B1L66_carry_eqn;

--B1L76 is lcd:inst|add~937 at LC_X8_Y12_N5
--operation mode is arithmetic

B1L76_cout_0 = !B1L37 # !B1_clkcnt[3];
B1L76 = CARRY(B1L76_cout_0);

--B1L86 is lcd:inst|add~937COUT1_974 at LC_X8_Y12_N5
--operation mode is arithmetic

B1L86_cout_1 = !B1L37 # !B1_clkcnt[3];
B1L86 = CARRY(B1L86_cout_1);


--B1L96 is lcd:inst|add~940 at LC_X8_Y12_N8
--operation mode is arithmetic

B1L96_carry_eqn = (!B1L37 & B1L16) # (B1L37 & B1L26);
B1L96 = B1_clkcnt[6] $ (!B1L96_carry_eqn);

--B1L07 is lcd:inst|add~942 at LC_X8_Y12_N8
--operation mode is arithmetic

B1L07_cout_0 = B1_clkcnt[6] & (!B1L16);
B1L07 = CARRY(B1L07_cout_0);

--B1L17 is lcd:inst|add~942COUT1_977 at LC_X8_Y12_N8
--operation mode is arithmetic

B1L17_cout_1 = B1_clkcnt[6] & (!B1L26);
B1L17 = CARRY(B1L17_cout_1);


--B1L27 is lcd:inst|add~945 at LC_X8_Y12_N4
--operation mode is arithmetic

B1L27 = B1_clkcnt[2] $ !B1L57;

--B1L37 is lcd:inst|add~947 at LC_X8_Y12_N4
--operation mode is arithmetic

B1L37 = CARRY(B1_clkcnt[2] & !B1L67);


--B1L47 is lcd:inst|add~950 at LC_X8_Y12_N3
--operation mode is arithmetic

B1L47 = B1_clkcnt[1] $ B1L87;

--B1L57 is lcd:inst|add~952 at LC_X8_Y12_N3
--operation mode is arithmetic

B1L57_cout_0 = !B1L87 # !B1_clkcnt[1];
B1L57 = CARRY(B1L57_cout_0);

--B1L67 is lcd:inst|add~952COUT1_973 at LC_X8_Y12_N3
--operation mode is arithmetic

B1L67_cout_1 = !B1L97 # !B1_clkcnt[1];
B1L67 = CARRY(B1L67_cout_1);


--B1L77 is lcd:inst|add~955 at LC_X8_Y12_N2
--operation mode is arithmetic

B1L77 = !B1_clkcnt[0];

--B1L87 is lcd:inst|add~957 at LC_X8_Y12_N2
--operation mode is arithmetic

B1L87_cout_0 = B1_clkcnt[0];
B1L87 = CARRY(B1L87_cout_0);

--B1L97 is lcd:inst|add~957COUT1_972 at LC_X8_Y12_N2
--operation mode is arithmetic

B1L97_cout_1 = B1_clkcnt[0];
B1L97 = CARRY(B1L97_cout_1);


--B1L08 is lcd:inst|add~960 at LC_X8_Y11_N7
--operation mode is normal

B1L08_carry_eqn = (!B1L54 & B1L93) # (B1L54 & B1L04);
B1L08 = B1L08_carry_eqn $ B1_clkcnt[15];


--C1_count[2] is div16:inst2|count[2] at LC_X8_Y9_N2
--operation mode is normal

C1_count[2]_lut_out = !C1_count[2];
C1_count[2] = DFFEAS(C1_count[2]_lut_out, GLOBAL(clk), GLOBAL(SYS_RST), , C1L2, , , , );


--C1_count[1] is div16:inst2|count[1] at LC_X8_Y10_N5
--operation mode is normal

C1_count[1]_lut_out = !C1_count[1];
C1_count[1] = DFFEAS(C1_count[1]_lut_out, GLOBAL(clk), GLOBAL(SYS_RST), , C1_count[0], , , , );


--C1_count[0] is div16:inst2|count[0] at LC_X9_Y13_N2
--operation mode is normal

C1_count[0]_lut_out = !C1_count[0];
C1_count[0] = DFFEAS(C1_count[0]_lut_out, GLOBAL(clk), GLOBAL(SYS_RST), , , , , , );


--C1L1 is div16:inst2|add~77 at LC_X8_Y10_N2
--operation mode is normal

C1L1 = C1_count[1] & C1_count[0] & C1_count[2];


--C1L2 is div16:inst2|add~78 at LC_X8_Y10_N4
--operation mode is normal

C1L2 = C1_count[0] & C1_count[1];


--B1L071 is lcd:inst|data~1222 at LC_X2_Y15_N8
--operation mode is normal

B1L071 = B1L791 & (B1_counter[5] # B1_counter[3] # !B1L012);


--B1L69 is lcd:inst|char_addr[5]~1529 at LC_X3_Y16_N9
--operation mode is normal

B1L69 = !B1L79 & !B1L102 & (B1L201 # B1L301);


--B1L171 is lcd:inst|data~1223 at LC_X2_Y14_N8
--operation mode is normal

B1L171 = B1L151 & !B1L841;


--B1L271 is lcd:inst|data~1224 at LC_X2_Y14_N3
--operation mode is normal

B1L271 = B1L461 # B1L151 & (B1L591 # !B1L841);


--B1L371 is lcd:inst|data~1225 at LC_X1_Y14_N4
--operation mode is normal

B1L371 = B1L28 & (B1L48 # !B1L19) # !B1L28 & (B1L68 $ (B1L19 # !B1L48));


--B1L471 is lcd:inst|data~1226 at LC_X1_Y14_N0
--operation mode is normal

B1L471 = B1L98 & !B1L19 & (B1L371 $ !B1L68) # !B1L98 & (B1L371 # !B1L19 & B1L68);


--B1L571 is lcd:inst|data~1227 at LC_X1_Y15_N2
--operation mode is normal

B1L571 = B1L451 & (B1L98 & D1L1 # !B1L98 & (!D1L2));


--B1L671 is lcd:inst|data~1228 at LC_X1_Y15_N0
--operation mode is normal

B1L671 = B1L491 & (!B1L591 & B1L571 # !B1L391) # !B1L491 & !B1L591 & B1L571;


--SYS_RST is SYS_RST at PIN_131
--operation mode is input

SYS_RST = INPUT();


--clk is clk at PIN_153
--operation mode is input

clk = INPUT();


--LCD_RS is LCD_RS at PIN_2
--operation mode is output

LCD_RS = OUTPUT(!B1L102);


--LCD_RW is LCD_RW at PIN_3
--operation mode is output

LCD_RW = OUTPUT(B1L881);


--LCD_E is LCD_E at PIN_4
--operation mode is output

LCD_E = OUTPUT(B1_lcd_e);


--LCD_DIR is LCD_DIR at PIN_233
--operation mode is output

LCD_DIR = OUTPUT(VCC);


--LCD_D[7] is LCD_D[7] at PIN_42
--operation mode is output

LCD_D[7]_tri_out = TRI(B1L791, B1L741);
LCD_D[7] = OUTPUT(LCD_D[7]_tri_out);


--LCD_D[6] is LCD_D[6] at PIN_41
--operation mode is output

LCD_D[6]_tri_out = TRI(B1L751, B1L741);
LCD_D[6] = OUTPUT(LCD_D[6]_tri_out);


--LCD_D[5] is LCD_D[5] at PIN_23
--operation mode is output

LCD_D[5]_tri_out = TRI(B1L061, B1L741);
LCD_D[5] = OUTPUT(LCD_D[5]_tri_out);


--LCD_D[4] is LCD_D[4] at PIN_21
--operation mode is output

LCD_D[4]_tri_out = TRI(B1L361, B1L741);
LCD_D[4] = OUTPUT(LCD_D[4]_tri_out);


--LCD_D[3] is LCD_D[3] at PIN_20
--operation mode is output

LCD_D[3]_tri_out = TRI(B1L271, B1L741);
LCD_D[3] = OUTPUT(LCD_D[3]_tri_out);


--LCD_D[2] is LCD_D[2] at PIN_19
--operation mode is output

LCD_D[2]_tri_out = TRI(B1L761, B1L741);
LCD_D[2] = OUTPUT(LCD_D[2]_tri_out);


--LCD_D[1] is LCD_D[1] at PIN_18
--operation mode is output

LCD_D[1]_tri_out = TRI(B1L671, B1L741);
LCD_D[1] = OUTPUT(LCD_D[1]_tri_out);


--LCD_D[0] is LCD_D[0] at PIN_17
--operation mode is output

LCD_D[0]_tri_out = TRI(B1L961, B1L741);
LCD_D[0] = OUTPUT(LCD_D[0]_tri_out);




⌨️ 快捷键说明

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