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

📄 lcd_v.fit.eqn

📁 用EPM1270实现的1602液晶驱动Verilog
💻 EQN
📖 第 1 页 / 共 2 页
字号:
-- 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.
--C1_lcd_e is lcd:inst1|lcd_e at LC_X9_Y10_N1
--operation mode is normal

C1_lcd_e_lut_out = rst & !C1_lcd_e;
C1_lcd_e = DFFEAS(C1_lcd_e_lut_out, !GLOBAL(C1_clkdiv), VCC, , , , , , );


--C1_lcd_rs is lcd:inst1|lcd_rs at LC_X7_Y10_N3
--operation mode is normal

C1_lcd_rs_lut_out = C1_lcd_rs & (C1L116 # !C1_state.IDLE) # !C1_lcd_rs & !C1L35 & (C1L116);
C1_lcd_rs = DFFEAS(C1_lcd_rs_lut_out, GLOBAL(C1_clk_int), VCC, , rst, , , , );


--C1_clkdiv is lcd:inst1|clkdiv at LC_X15_Y6_N5
--operation mode is normal

C1_clkdiv_lut_out = !C1_clkdiv & rst;
C1_clkdiv = DFFEAS(C1_clkdiv_lut_out, A1L19, VCC, , , , , , );


--C1_state.WRITERAM is lcd:inst1|state.WRITERAM at LC_X11_Y10_N4
--operation mode is normal

C1_state.WRITERAM_lut_out = !C1_address[5] & C1_state.WRITERAM & !C1L35 # !C1L117;
C1_state.WRITERAM = DFFEAS(C1_state.WRITERAM_lut_out, GLOBAL(C1_clk_int), rst, , , , , , );


--C1_address[5] is lcd:inst1|address[5] at LC_X12_Y10_N4
--operation mode is normal

C1_address[5]_lut_out = C1L17 & !C1L115 & (!C1_flag1 # !C1_address[4]);
C1_address[5] = DFFEAS(C1_address[5]_lut_out, GLOBAL(C1_clk_int), rst, , , C1L115, , , C1_address[5]);


--C1L116 is lcd:inst1|state~84 at LC_X11_Y10_N8
--operation mode is normal

C1L116 = C1_state.WRITERAM & !C1_address[5];


--C1_state.IDLE is lcd:inst1|state.IDLE at LC_X11_Y10_N7
--operation mode is normal

C1_state.IDLE_lut_out = !C1_state.SHIFT;
C1_state.IDLE = DFFEAS(C1_state.IDLE_lut_out, GLOBAL(C1_clk_int), rst, , , , , , );


--C1_address[4] is lcd:inst1|address[4] at LC_X13_Y10_N0
--operation mode is normal

C1_address[4]_lut_out = C1L18 # C1_address[4] & C1_flag1;
C1_address[4] = DFFEAS(C1_address[4]_lut_out, GLOBAL(C1_clk_int), rst, , C1_state.WRITERAM, , , C1_address[5], );


--C1_flag1 is lcd:inst1|flag1 at LC_X11_Y10_N5
--operation mode is normal

C1_flag1_lut_out = C1L116 & (rst & !C1_address[4] # !rst & (C1_flag1)) # !C1L116 & (C1_flag1);
C1_flag1 = DFFEAS(C1_flag1_lut_out, GLOBAL(C1_clk_int), VCC, , , , , , );


--C1L35 is lcd:inst1|always4~135 at LC_X12_Y10_N8
--operation mode is normal

C1L35 = C1_address[4] & C1_flag1;


--C1_clk_int is lcd:inst1|clk_int at LC_X12_Y3_N2
--operation mode is normal

C1_clk_int_lut_out = !C1_clk_int & (rst);
C1_clk_int = DFFEAS(C1_clk_int_lut_out, GLOBAL(C1_clkdiv), VCC, , , , , , );


--C1L91Q is lcd:inst1|data[7]~reg0 at LC_X10_Y10_N3
--operation mode is normal

C1L91Q_lut_out = !C1L117;
C1L91Q = DFFEAS(C1L91Q_lut_out, GLOBAL(C1_clk_int), VCC, , C1L36, , , , );


--C1L34Q is lcd:inst1|always4~2 at LC_X11_Y10_N3
--operation mode is normal
--sload is tied to vcc, which is functionally the same as treating the sdata port as the data input.

C1L34Q_lut_out = GND;
C1L34Q = DFFEAS(C1L34Q_lut_out, GLOBAL(C1_clk_int), VCC, , C1L36, C1_state.IDLE, , , VCC);


--C1L90Q is lcd:inst1|data[6]~reg0 at LC_X11_Y10_N0
--operation mode is normal

C1L90Q_lut_out = C1_state.SETDDRAM1 # C1L116 & (!C1_address[3] # !C1L96);
C1L90Q = DFFEAS(C1L90Q_lut_out, GLOBAL(C1_clk_int), VCC, , C1L36, , , , );


--C1L89Q is lcd:inst1|data[5]~reg0 at LC_X11_Y10_N2
--operation mode is normal

C1L89Q_lut_out = C1_state.SETFUNCTION # C1L116 & (C1_address[2] # C1L97);
C1L89Q = DFFEAS(C1L89Q_lut_out, GLOBAL(C1_clk_int), VCC, , C1L36, , , , );


--C1L88Q is lcd:inst1|data[4]~reg0 at LC_X12_Y10_N2
--operation mode is normal

C1L88Q_lut_out = C1_state.SETFUNCTION # C1_state.SHIFT # C1_state.WRITERAM & C1L1;
C1L88Q = DFFEAS(C1L88Q_lut_out, GLOBAL(C1_clk_int), VCC, , C1L36, , , , );


--C1L87Q is lcd:inst1|data[3]~reg0 at LC_X13_Y10_N8
--operation mode is normal

C1L87Q_lut_out = C1L5 # C1_address[2] & C1L99 & C1L116;
C1L87Q = DFFEAS(C1L87Q_lut_out, GLOBAL(C1_clk_int), VCC, , C1L36, , , , );


--C1L86Q is lcd:inst1|data[2]~reg0 at LC_X15_Y10_N3
--operation mode is normal

C1L86Q_lut_out = C1_state.SETMODE # !C1_address[5] & C1L8 # !C1L4;
C1L86Q = DFFEAS(C1L86Q_lut_out, GLOBAL(C1_clk_int), VCC, , C1L36, , , , );


--C1L85Q is lcd:inst1|data[1]~reg0 at LC_X16_Y10_N8
--operation mode is normal

C1L85Q_lut_out = C1L6 # !C1_address[0] & C1L116 & !C1L103;
C1L85Q = DFFEAS(C1L85Q_lut_out, GLOBAL(C1_clk_int), VCC, , C1L36, , , , );


--C1L84Q is lcd:inst1|data[0]~reg0 at LC_X16_Y10_N2
--operation mode is normal

C1L84Q_lut_out = C1L7 # !C1_address[0] & C1L116 & !C1L105;
C1L84Q = DFFEAS(C1L84Q_lut_out, GLOBAL(C1_clk_int), VCC, , C1L36, , , , );


--C1_clkcnt[0] is lcd:inst1|clkcnt[0] at LC_X13_Y6_N2
--operation mode is arithmetic

C1_clkcnt[0]_lut_out = !C1_clkcnt[0];
C1_clkcnt[0] = DFFEAS(C1_clkcnt[0]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L40 is lcd:inst1|clkcnt[0]~361 at LC_X13_Y6_N2
--operation mode is arithmetic

C1L40_cout_0 = C1_clkcnt[0];
C1L40 = CARRY(C1L40_cout_0);

--C1L41 is lcd:inst1|clkcnt[0]~361COUT1_439 at LC_X13_Y6_N2
--operation mode is arithmetic

C1L41_cout_1 = C1_clkcnt[0];
C1L41 = CARRY(C1L41_cout_1);


--C1_clkcnt[1] is lcd:inst1|clkcnt[1] at LC_X13_Y6_N3
--operation mode is arithmetic

C1_clkcnt[1]_lut_out = C1_clkcnt[1] $ (C1L40);
C1_clkcnt[1] = DFFEAS(C1_clkcnt[1]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L43 is lcd:inst1|clkcnt[1]~365 at LC_X13_Y6_N3
--operation mode is arithmetic

C1L43_cout_0 = !C1L40 # !C1_clkcnt[1];
C1L43 = CARRY(C1L43_cout_0);

--C1L44 is lcd:inst1|clkcnt[1]~365COUT1_441 at LC_X13_Y6_N3
--operation mode is arithmetic

C1L44_cout_1 = !C1L41 # !C1_clkcnt[1];
C1L44 = CARRY(C1L44_cout_1);


--C1_clkcnt[2] is lcd:inst1|clkcnt[2] at LC_X13_Y6_N4
--operation mode is arithmetic

C1_clkcnt[2]_lut_out = C1_clkcnt[2] $ (!C1L43);
C1_clkcnt[2] = DFFEAS(C1_clkcnt[2]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L46 is lcd:inst1|clkcnt[2]~369 at LC_X13_Y6_N4
--operation mode is arithmetic

C1L46 = CARRY(C1_clkcnt[2] & (!C1L44));


--C1_clkcnt[3] is lcd:inst1|clkcnt[3] at LC_X13_Y6_N5
--operation mode is arithmetic

C1_clkcnt[3]_carry_eqn = C1L46;
C1_clkcnt[3]_lut_out = C1_clkcnt[3] $ (C1_clkcnt[3]_carry_eqn);
C1_clkcnt[3] = DFFEAS(C1_clkcnt[3]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L48 is lcd:inst1|clkcnt[3]~373 at LC_X13_Y6_N5
--operation mode is arithmetic

C1L48_cout_0 = !C1L46 # !C1_clkcnt[3];
C1L48 = CARRY(C1L48_cout_0);

--C1L49 is lcd:inst1|clkcnt[3]~373COUT1_443 at LC_X13_Y6_N5
--operation mode is arithmetic

C1L49_cout_1 = !C1L46 # !C1_clkcnt[3];
C1L49 = CARRY(C1L49_cout_1);


--A1L15 is rtl~106 at LC_X13_Y6_N1
--operation mode is normal

A1L15 = C1_clkcnt[3] # C1_clkcnt[0] # C1_clkcnt[2] # C1_clkcnt[1];


--C1_clkcnt[4] is lcd:inst1|clkcnt[4] at LC_X13_Y6_N6
--operation mode is arithmetic

C1_clkcnt[4]_carry_eqn = (!C1L46 & C1L48) # (C1L46 & C1L49);
C1_clkcnt[4]_lut_out = C1_clkcnt[4] $ (!C1_clkcnt[4]_carry_eqn);
C1_clkcnt[4] = DFFEAS(C1_clkcnt[4]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L51 is lcd:inst1|clkcnt[4]~377 at LC_X13_Y6_N6
--operation mode is arithmetic

C1L51_cout_0 = C1_clkcnt[4] & (!C1L48);
C1L51 = CARRY(C1L51_cout_0);

--C1L52 is lcd:inst1|clkcnt[4]~377COUT1_445 at LC_X13_Y6_N6
--operation mode is arithmetic

C1L52_cout_1 = C1_clkcnt[4] & (!C1L49);
C1L52 = CARRY(C1L52_cout_1);


--C1_clkcnt[5] is lcd:inst1|clkcnt[5] at LC_X13_Y6_N7
--operation mode is arithmetic

C1_clkcnt[5]_carry_eqn = (!C1L46 & C1L51) # (C1L46 & C1L52);
C1_clkcnt[5]_lut_out = C1_clkcnt[5] $ C1_clkcnt[5]_carry_eqn;
C1_clkcnt[5] = DFFEAS(C1_clkcnt[5]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L54 is lcd:inst1|clkcnt[5]~381 at LC_X13_Y6_N7
--operation mode is arithmetic

C1L54_cout_0 = !C1L51 # !C1_clkcnt[5];
C1L54 = CARRY(C1L54_cout_0);

--C1L55 is lcd:inst1|clkcnt[5]~381COUT1_447 at LC_X13_Y6_N7
--operation mode is arithmetic

C1L55_cout_1 = !C1L52 # !C1_clkcnt[5];
C1L55 = CARRY(C1L55_cout_1);


--C1_clkcnt[7] is lcd:inst1|clkcnt[7] at LC_X13_Y6_N9
--operation mode is arithmetic

C1_clkcnt[7]_carry_eqn = (!C1L46 & C1L57) # (C1L46 & C1L58);
C1_clkcnt[7]_lut_out = C1_clkcnt[7] $ C1_clkcnt[7]_carry_eqn;
C1_clkcnt[7] = DFFEAS(C1_clkcnt[7]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L60 is lcd:inst1|clkcnt[7]~385 at LC_X13_Y6_N9
--operation mode is arithmetic

C1L60 = CARRY(!C1L58 # !C1_clkcnt[7]);


--C1_clkcnt[6] is lcd:inst1|clkcnt[6] at LC_X13_Y6_N8
--operation mode is arithmetic

C1_clkcnt[6]_carry_eqn = (!C1L46 & C1L54) # (C1L46 & C1L55);
C1_clkcnt[6]_lut_out = C1_clkcnt[6] $ (!C1_clkcnt[6]_carry_eqn);
C1_clkcnt[6] = DFFEAS(C1_clkcnt[6]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L57 is lcd:inst1|clkcnt[6]~389 at LC_X13_Y6_N8
--operation mode is arithmetic

C1L57_cout_0 = C1_clkcnt[6] & (!C1L54);
C1L57 = CARRY(C1L57_cout_0);

--C1L58 is lcd:inst1|clkcnt[6]~389COUT1_449 at LC_X13_Y6_N8
--operation mode is arithmetic

C1L58_cout_1 = C1_clkcnt[6] & (!C1L55);
C1L58 = CARRY(C1L58_cout_1);


--A1L16 is rtl~107 at LC_X13_Y6_N0
--operation mode is normal

A1L16 = C1_clkcnt[4] # C1_clkcnt[7] # C1_clkcnt[5] # !C1_clkcnt[6];


--C1_clkcnt[8] is lcd:inst1|clkcnt[8] at LC_X14_Y6_N0
--operation mode is arithmetic

C1_clkcnt[8]_carry_eqn = C1L60;
C1_clkcnt[8]_lut_out = C1_clkcnt[8] $ !C1_clkcnt[8]_carry_eqn;
C1_clkcnt[8] = DFFEAS(C1_clkcnt[8]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L62 is lcd:inst1|clkcnt[8]~393 at LC_X14_Y6_N0
--operation mode is arithmetic

C1L62_cout_0 = C1_clkcnt[8] & !C1L60;
C1L62 = CARRY(C1L62_cout_0);

--C1L63 is lcd:inst1|clkcnt[8]~393COUT1_451 at LC_X14_Y6_N0
--operation mode is arithmetic

C1L63_cout_1 = C1_clkcnt[8] & !C1L60;
C1L63 = CARRY(C1L63_cout_1);


--C1_clkcnt[9] is lcd:inst1|clkcnt[9] at LC_X14_Y6_N1
--operation mode is arithmetic

C1_clkcnt[9]_carry_eqn = (!C1L60 & C1L62) # (C1L60 & C1L63);
C1_clkcnt[9]_lut_out = C1_clkcnt[9] $ C1_clkcnt[9]_carry_eqn;
C1_clkcnt[9] = DFFEAS(C1_clkcnt[9]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L65 is lcd:inst1|clkcnt[9]~397 at LC_X14_Y6_N1
--operation mode is arithmetic

C1L65_cout_0 = !C1L62 # !C1_clkcnt[9];
C1L65 = CARRY(C1L65_cout_0);

--C1L66 is lcd:inst1|clkcnt[9]~397COUT1_453 at LC_X14_Y6_N1
--operation mode is arithmetic

C1L66_cout_1 = !C1L63 # !C1_clkcnt[9];
C1L66 = CARRY(C1L66_cout_1);


--C1_clkcnt[10] is lcd:inst1|clkcnt[10] at LC_X14_Y6_N2
--operation mode is arithmetic

C1_clkcnt[10]_carry_eqn = (!C1L60 & C1L65) # (C1L60 & C1L66);
C1_clkcnt[10]_lut_out = C1_clkcnt[10] $ !C1_clkcnt[10]_carry_eqn;
C1_clkcnt[10] = DFFEAS(C1_clkcnt[10]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L69 is lcd:inst1|clkcnt[10]~401 at LC_X14_Y6_N2
--operation mode is arithmetic

C1L69_cout_0 = C1_clkcnt[10] & !C1L65;
C1L69 = CARRY(C1L69_cout_0);

--C1L70 is lcd:inst1|clkcnt[10]~401COUT1_455 at LC_X14_Y6_N2
--operation mode is arithmetic

C1L70_cout_1 = C1_clkcnt[10] & !C1L66;
C1L70 = CARRY(C1L70_cout_1);


--C1_clkcnt[11] is lcd:inst1|clkcnt[11] at LC_X14_Y6_N3
--operation mode is arithmetic

C1_clkcnt[11]_carry_eqn = (!C1L60 & C1L69) # (C1L60 & C1L70);
C1_clkcnt[11]_lut_out = C1_clkcnt[11] $ (C1_clkcnt[11]_carry_eqn);
C1_clkcnt[11] = DFFEAS(C1_clkcnt[11]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L72 is lcd:inst1|clkcnt[11]~405 at LC_X14_Y6_N3
--operation mode is arithmetic

C1L72_cout_0 = !C1L69 # !C1_clkcnt[11];
C1L72 = CARRY(C1L72_cout_0);

--C1L73 is lcd:inst1|clkcnt[11]~405COUT1_457 at LC_X14_Y6_N3
--operation mode is arithmetic

C1L73_cout_1 = !C1L70 # !C1_clkcnt[11];
C1L73 = CARRY(C1L73_cout_1);


--A1L17 is rtl~108 at LC_X14_Y6_N8
--operation mode is normal

A1L17 = C1_clkcnt[9] # C1_clkcnt[8] # !C1_clkcnt[10] # !C1_clkcnt[11];


--C1_clkcnt[13] is lcd:inst1|clkcnt[13] at LC_X14_Y6_N5
--operation mode is arithmetic

C1_clkcnt[13]_carry_eqn = C1L75;
C1_clkcnt[13]_lut_out = C1_clkcnt[13] $ (C1_clkcnt[13]_carry_eqn);
C1_clkcnt[13] = DFFEAS(C1_clkcnt[13]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L77 is lcd:inst1|clkcnt[13]~409 at LC_X14_Y6_N5
--operation mode is arithmetic

C1L77_cout_0 = !C1L75 # !C1_clkcnt[13];
C1L77 = CARRY(C1L77_cout_0);

--C1L78 is lcd:inst1|clkcnt[13]~409COUT1_459 at LC_X14_Y6_N5
--operation mode is arithmetic

C1L78_cout_1 = !C1L75 # !C1_clkcnt[13];
C1L78 = CARRY(C1L78_cout_1);


--C1_clkcnt[14] is lcd:inst1|clkcnt[14] at LC_X14_Y6_N6
--operation mode is arithmetic

C1_clkcnt[14]_carry_eqn = (!C1L75 & C1L77) # (C1L75 & C1L78);
C1_clkcnt[14]_lut_out = C1_clkcnt[14] $ (!C1_clkcnt[14]_carry_eqn);
C1_clkcnt[14] = DFFEAS(C1_clkcnt[14]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L80 is lcd:inst1|clkcnt[14]~413 at LC_X14_Y6_N6
--operation mode is arithmetic

C1L80_cout_0 = C1_clkcnt[14] & (!C1L77);
C1L80 = CARRY(C1L80_cout_0);

--C1L81 is lcd:inst1|clkcnt[14]~413COUT1_461 at LC_X14_Y6_N6
--operation mode is arithmetic

C1L81_cout_1 = C1_clkcnt[14] & (!C1L78);
C1L81 = CARRY(C1L81_cout_1);


--C1_clkcnt[12] is lcd:inst1|clkcnt[12] at LC_X14_Y6_N4
--operation mode is arithmetic

C1_clkcnt[12]_carry_eqn = (!C1L60 & C1L72) # (C1L60 & C1L73);
C1_clkcnt[12]_lut_out = C1_clkcnt[12] $ !C1_clkcnt[12]_carry_eqn;
C1_clkcnt[12] = DFFEAS(C1_clkcnt[12]_lut_out, GLOBAL(B1_count[3]), VCC, , , , , C1L67, );

--C1L75 is lcd:inst1|clkcnt[12]~417 at LC_X14_Y6_N4
--operation mode is arithmetic

C1L75 = CARRY(C1_clkcnt[12] & !C1L73);


--C1_clkcnt[15] is lcd:inst1|clkcnt[15] at LC_X14_Y6_N7
--operation mode is normal

⌨️ 快捷键说明

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