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

📄 lcd_v.map.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
--operation mode is normal

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


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

C1_lcd_rs_lut_out = C1_lcd_rs & (C1L98 # !C1_state.IDLE) # !C1_lcd_rs & C1L98 & (!C1L29);
C1_lcd_rs = DFFEAS(C1_lcd_rs_lut_out, C1_clk_int, VCC, , rst, , , , );


--C1_clkdiv is lcd:inst1|clkdiv
--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
--operation mode is normal

C1_state.WRITERAM_lut_out = C1_state.WRITERAM & !C1_address[5] & !C1L29 # !C1L99;
C1_state.WRITERAM = DFFEAS(C1_state.WRITERAM_lut_out, C1_clk_int, rst, , , , , , );


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

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


--C1L98 is lcd:inst1|state~84
--operation mode is normal

C1L98 = C1_state.WRITERAM & (!C1_address[5]);


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

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


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

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


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

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


--C1L29 is lcd:inst1|always4~135
--operation mode is normal

C1L29 = C1_address[4] & C1_flag1;


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

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


--C1L73Q is lcd:inst1|data[7]~reg0
--operation mode is normal

C1L73Q_lut_out = !C1L99;
C1L73Q = DFFEAS(C1L73Q_lut_out, C1_clk_int, VCC, , C1L30, , , , );


--C1L28Q is lcd:inst1|always4~2
--operation mode is normal

C1L28Q_lut_out = C1_state.IDLE;
C1L28Q = DFFEAS(C1L28Q_lut_out, C1_clk_int, VCC, , C1L30, , , , );


--C1L72Q is lcd:inst1|data[6]~reg0
--operation mode is normal

C1L72Q_lut_out = C1_state.SETDDRAM1 # C1L98 & (!C1_address[3] # !C1L78);
C1L72Q = DFFEAS(C1L72Q_lut_out, C1_clk_int, VCC, , C1L30, , , , );


--C1L71Q is lcd:inst1|data[5]~reg0
--operation mode is normal

C1L71Q_lut_out = C1_state.SETFUNCTION # C1L98 & (C1_address[2] # C1L79);
C1L71Q = DFFEAS(C1L71Q_lut_out, C1_clk_int, VCC, , C1L30, , , , );


--C1L70Q is lcd:inst1|data[4]~reg0
--operation mode is normal

C1L70Q_lut_out = C1_state.SETFUNCTION # C1_state.SHIFT # C1L1 & C1_state.WRITERAM;
C1L70Q = DFFEAS(C1L70Q_lut_out, C1_clk_int, VCC, , C1L30, , , , );


--C1L69Q is lcd:inst1|data[3]~reg0
--operation mode is normal

C1L69Q_lut_out = C1L5 # C1L98 & C1_address[2] & C1L81;
C1L69Q = DFFEAS(C1L69Q_lut_out, C1_clk_int, VCC, , C1L30, , , , );


--C1L68Q is lcd:inst1|data[2]~reg0
--operation mode is normal

C1L68Q_lut_out = C1_state.SETMODE # !C1_address[5] & C1L8 # !C1L4;
C1L68Q = DFFEAS(C1L68Q_lut_out, C1_clk_int, VCC, , C1L30, , , , );


--C1L67Q is lcd:inst1|data[1]~reg0
--operation mode is normal

C1L67Q_lut_out = C1L6 # C1L98 & !C1_address[0] & !C1L85;
C1L67Q = DFFEAS(C1L67Q_lut_out, C1_clk_int, VCC, , C1L30, , , , );


--C1L66Q is lcd:inst1|data[0]~reg0
--operation mode is normal

C1L66Q_lut_out = C1L7 # C1L98 & !C1_address[0] & !C1L87;
C1L66Q = DFFEAS(C1L66Q_lut_out, C1_clk_int, VCC, , C1L30, , , , );


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

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

--C1L34 is lcd:inst1|clkcnt[0]~361
--operation mode is arithmetic

C1L34 = CARRY(C1_clkcnt[0]);


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

C1_clkcnt[1]_carry_eqn = C1L34;
C1_clkcnt[1]_lut_out = C1_clkcnt[1] $ (C1_clkcnt[1]_carry_eqn);
C1_clkcnt[1] = DFFEAS(C1_clkcnt[1]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L36 is lcd:inst1|clkcnt[1]~365
--operation mode is arithmetic

C1L36 = CARRY(!C1L34 # !C1_clkcnt[1]);


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

C1_clkcnt[2]_carry_eqn = C1L36;
C1_clkcnt[2]_lut_out = C1_clkcnt[2] $ (!C1_clkcnt[2]_carry_eqn);
C1_clkcnt[2] = DFFEAS(C1_clkcnt[2]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L38 is lcd:inst1|clkcnt[2]~369
--operation mode is arithmetic

C1L38 = CARRY(C1_clkcnt[2] & (!C1L36));


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

C1_clkcnt[3]_carry_eqn = C1L38;
C1_clkcnt[3]_lut_out = C1_clkcnt[3] $ (C1_clkcnt[3]_carry_eqn);
C1_clkcnt[3] = DFFEAS(C1_clkcnt[3]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L40 is lcd:inst1|clkcnt[3]~373
--operation mode is arithmetic

C1L40 = CARRY(!C1L38 # !C1_clkcnt[3]);


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

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


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

C1_clkcnt[4]_carry_eqn = C1L40;
C1_clkcnt[4]_lut_out = C1_clkcnt[4] $ (!C1_clkcnt[4]_carry_eqn);
C1_clkcnt[4] = DFFEAS(C1_clkcnt[4]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L42 is lcd:inst1|clkcnt[4]~377
--operation mode is arithmetic

C1L42 = CARRY(C1_clkcnt[4] & (!C1L40));


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

C1_clkcnt[5]_carry_eqn = C1L42;
C1_clkcnt[5]_lut_out = C1_clkcnt[5] $ (C1_clkcnt[5]_carry_eqn);
C1_clkcnt[5] = DFFEAS(C1_clkcnt[5]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L44 is lcd:inst1|clkcnt[5]~381
--operation mode is arithmetic

C1L44 = CARRY(!C1L42 # !C1_clkcnt[5]);


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

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

--C1L48 is lcd:inst1|clkcnt[7]~385
--operation mode is arithmetic

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


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

C1_clkcnt[6]_carry_eqn = C1L44;
C1_clkcnt[6]_lut_out = C1_clkcnt[6] $ (!C1_clkcnt[6]_carry_eqn);
C1_clkcnt[6] = DFFEAS(C1_clkcnt[6]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L46 is lcd:inst1|clkcnt[6]~389
--operation mode is arithmetic

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


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

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


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

C1_clkcnt[8]_carry_eqn = C1L48;
C1_clkcnt[8]_lut_out = C1_clkcnt[8] $ (!C1_clkcnt[8]_carry_eqn);
C1_clkcnt[8] = DFFEAS(C1_clkcnt[8]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L50 is lcd:inst1|clkcnt[8]~393
--operation mode is arithmetic

C1L50 = CARRY(C1_clkcnt[8] & (!C1L48));


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

C1_clkcnt[9]_carry_eqn = C1L50;
C1_clkcnt[9]_lut_out = C1_clkcnt[9] $ (C1_clkcnt[9]_carry_eqn);
C1_clkcnt[9] = DFFEAS(C1_clkcnt[9]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L52 is lcd:inst1|clkcnt[9]~397
--operation mode is arithmetic

C1L52 = CARRY(!C1L50 # !C1_clkcnt[9]);


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

C1_clkcnt[10]_carry_eqn = C1L52;
C1_clkcnt[10]_lut_out = C1_clkcnt[10] $ (!C1_clkcnt[10]_carry_eqn);
C1_clkcnt[10] = DFFEAS(C1_clkcnt[10]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L55 is lcd:inst1|clkcnt[10]~401
--operation mode is arithmetic

C1L55 = CARRY(C1_clkcnt[10] & (!C1L52));


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

C1_clkcnt[11]_carry_eqn = C1L55;
C1_clkcnt[11]_lut_out = C1_clkcnt[11] $ (C1_clkcnt[11]_carry_eqn);
C1_clkcnt[11] = DFFEAS(C1_clkcnt[11]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L57 is lcd:inst1|clkcnt[11]~405
--operation mode is arithmetic

C1L57 = CARRY(!C1L55 # !C1_clkcnt[11]);


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

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


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

C1_clkcnt[13]_carry_eqn = C1L59;
C1_clkcnt[13]_lut_out = C1_clkcnt[13] $ (C1_clkcnt[13]_carry_eqn);
C1_clkcnt[13] = DFFEAS(C1_clkcnt[13]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L61 is lcd:inst1|clkcnt[13]~409
--operation mode is arithmetic

C1L61 = CARRY(!C1L59 # !C1_clkcnt[13]);


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

C1_clkcnt[14]_carry_eqn = C1L61;
C1_clkcnt[14]_lut_out = C1_clkcnt[14] $ (!C1_clkcnt[14]_carry_eqn);
C1_clkcnt[14] = DFFEAS(C1_clkcnt[14]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L63 is lcd:inst1|clkcnt[14]~413
--operation mode is arithmetic

C1L63 = CARRY(C1_clkcnt[14] & (!C1L61));


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

C1_clkcnt[12]_carry_eqn = C1L57;
C1_clkcnt[12]_lut_out = C1_clkcnt[12] $ (!C1_clkcnt[12]_carry_eqn);
C1_clkcnt[12] = DFFEAS(C1_clkcnt[12]_lut_out, B1_count[3], VCC, , , , , C1L53, );

--C1L59 is lcd:inst1|clkcnt[12]~417
--operation mode is arithmetic

C1L59 = CARRY(C1_clkcnt[12] & (!C1L57));


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

C1_clkcnt[15]_carry_eqn = C1L63;
C1_clkcnt[15]_lut_out = C1_clkcnt[15] $ (C1_clkcnt[15]_carry_eqn);
C1_clkcnt[15] = DFFEAS(C1_clkcnt[15]_lut_out, B1_count[3], VCC, , , , , C1L53, );


--A1L18 is rtl~109
--operation mode is normal

A1L18 = C1_clkcnt[13] # C1_clkcnt[14] # !C1_clkcnt[15] # !C1_clkcnt[12];


--A1L19 is rtl~110
--operation mode is normal

A1L19 = !A1L15 & !A1L16 & !A1L17 & !A1L18;


--C1_state.SETDDRAM is lcd:inst1|state.SETDDRAM
--operation mode is normal

C1_state.SETDDRAM_lut_out = C1_state.SETMODE;
C1_state.SETDDRAM = DFFEAS(C1_state.SETDDRAM_lut_out, C1_clk_int, rst, , , , , , );


--C1_state.SETDDRAM1 is lcd:inst1|state.SETDDRAM1
--operation mode is normal

⌨️ 快捷键说明

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