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

📄 cpld_for_lcd.fit.eqn

📁 一个VEILOG HDL程序
💻 EQN
字号:
-- 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.
--A1L96 is RED[0]$latch~26 at LC33
A1L96_p1_out = LCD_D[15] & MSTR_nRST;
A1L96_p2_out = !MSTR_nRST & A1L96;
A1L96_p3_out = LCD_D[15] & A1L96;
A1L96_or_out = A1L96_p1_out # A1L96_p2_out # A1L96_p3_out;
A1L96 = A1L96_or_out;


--A1L18 is RED[3]$latch~10 at LC41
A1L18_p1_out = LCD_D[0] & MSTR_nRST;
A1L18_p2_out = !MSTR_nRST & A1L18;
A1L18_p3_out = LCD_D[0] & A1L18;
A1L18_or_out = A1L18_p1_out # A1L18_p2_out # A1L18_p3_out;
A1L18 = A1L18_or_out;


--A1L38 is RED[4]$latch~10 at LC43
A1L38_p1_out = LCD_D[1] & MSTR_nRST;
A1L38_p2_out = !MSTR_nRST & A1L38;
A1L38_p3_out = LCD_D[1] & A1L38;
A1L38_or_out = A1L38_p1_out # A1L38_p2_out # A1L38_p3_out;
A1L38 = A1L38_or_out;


--A1L58 is RED[5]$latch~10 at LC21
A1L58_p1_out = LCD_D[2] & MSTR_nRST;
A1L58_p2_out = !MSTR_nRST & A1L58;
A1L58_p3_out = LCD_D[2] & A1L58;
A1L58_or_out = A1L58_p1_out # A1L58_p2_out # A1L58_p3_out;
A1L58 = A1L58_or_out;


--A1L78 is RED[6]$latch~10 at LC61
A1L78_p1_out = LCD_D[3] & MSTR_nRST;
A1L78_p2_out = !MSTR_nRST & A1L78;
A1L78_p3_out = LCD_D[3] & A1L78;
A1L78_or_out = A1L78_p1_out # A1L78_p2_out # A1L78_p3_out;
A1L78 = A1L78_or_out;


--A1L98 is RED[7]$latch~10 at LC19
A1L98_p1_out = LCD_D[4] & MSTR_nRST;
A1L98_p2_out = !MSTR_nRST & A1L98;
A1L98_p3_out = LCD_D[4] & A1L98;
A1L98_or_out = A1L98_p1_out # A1L98_p2_out # A1L98_p3_out;
A1L98 = A1L98_or_out;


--A1L32 is GREEN[3]$latch~10 at LC6
A1L32_p1_out = LCD_D[5] & MSTR_nRST;
A1L32_p2_out = !MSTR_nRST & A1L32;
A1L32_p3_out = LCD_D[5] & A1L32;
A1L32_or_out = A1L32_p1_out # A1L32_p2_out # A1L32_p3_out;
A1L32 = A1L32_or_out;


--A1L52 is GREEN[4]$latch~10 at LC8
A1L52_p1_out = LCD_D[6] & MSTR_nRST;
A1L52_p2_out = !MSTR_nRST & A1L52;
A1L52_p3_out = LCD_D[6] & A1L52;
A1L52_or_out = A1L52_p1_out # A1L52_p2_out # A1L52_p3_out;
A1L52 = A1L52_or_out;


--A1L72 is GREEN[5]$latch~10 at LC9
A1L72_p1_out = LCD_D[7] & MSTR_nRST;
A1L72_p2_out = !MSTR_nRST & A1L72;
A1L72_p3_out = LCD_D[7] & A1L72;
A1L72_or_out = A1L72_p1_out # A1L72_p2_out # A1L72_p3_out;
A1L72 = A1L72_or_out;


--A1L92 is GREEN[6]$latch~10 at LC29
A1L92_p1_out = LCD_D[8] & MSTR_nRST;
A1L92_p2_out = !MSTR_nRST & A1L92;
A1L92_p3_out = LCD_D[8] & A1L92;
A1L92_or_out = A1L92_p1_out # A1L92_p2_out # A1L92_p3_out;
A1L92 = A1L92_or_out;


--A1L13 is GREEN[7]$latch~10 at LC5
A1L13_p1_out = LCD_D[9] & MSTR_nRST;
A1L13_p2_out = !MSTR_nRST & A1L13;
A1L13_p3_out = LCD_D[9] & A1L13;
A1L13_or_out = A1L13_p1_out # A1L13_p2_out # A1L13_p3_out;
A1L13 = A1L13_or_out;


--A1L6 is BLUE[3]$latch~10 at LC104
A1L6_p1_out = LCD_D[10] & MSTR_nRST;
A1L6_p2_out = !MSTR_nRST & A1L6;
A1L6_p3_out = LCD_D[10] & A1L6;
A1L6_or_out = A1L6_p1_out # A1L6_p2_out # A1L6_p3_out;
A1L6 = A1L6_or_out;


--A1L8 is BLUE[4]$latch~10 at LC105
A1L8_p1_out = LCD_D[11] & MSTR_nRST;
A1L8_p2_out = !MSTR_nRST & A1L8;
A1L8_p3_out = LCD_D[11] & A1L8;
A1L8_or_out = A1L8_p1_out # A1L8_p2_out # A1L8_p3_out;
A1L8 = A1L8_or_out;


--A1L01 is BLUE[5]$latch~10 at LC109
A1L01_p1_out = LCD_D[12] & MSTR_nRST;
A1L01_p2_out = !MSTR_nRST & A1L01;
A1L01_p3_out = LCD_D[12] & A1L01;
A1L01_or_out = A1L01_p1_out # A1L01_p2_out # A1L01_p3_out;
A1L01 = A1L01_or_out;


--A1L21 is BLUE[6]$latch~10 at LC13
A1L21_p1_out = LCD_D[13] & MSTR_nRST;
A1L21_p2_out = !MSTR_nRST & A1L21;
A1L21_p3_out = LCD_D[13] & A1L21;
A1L21_or_out = A1L21_p1_out # A1L21_p2_out # A1L21_p3_out;
A1L21 = A1L21_or_out;


--A1L41 is BLUE[7]$latch~10 at LC14
A1L41_p1_out = LCD_D[14] & MSTR_nRST;
A1L41_p2_out = !MSTR_nRST & A1L41;
A1L41_p3_out = LCD_D[14] & A1L41;
A1L41_or_out = A1L41_p1_out # A1L41_p2_out # A1L41_p3_out;
A1L41 = A1L41_or_out;


--A1L59 is VS$latch~10 at LC17
A1L59_p1_out = LCD_VSYNC & MSTR_nRST;
A1L59_p2_out = !MSTR_nRST & A1L59;
A1L59_p3_out = LCD_VSYNC & A1L59;
A1L59_or_out = A1L59_p1_out # A1L59_p2_out # A1L59_p3_out;
A1L59 = A1L59_or_out;


--A1L33 is HS$latch~10 at LC46
A1L33_p1_out = LCD_HSYNC & MSTR_nRST;
A1L33_p2_out = !MSTR_nRST & A1L33;
A1L33_p3_out = LCD_HSYNC & A1L33;
A1L33_or_out = A1L33_p1_out # A1L33_p2_out # A1L33_p3_out;
A1L33 = A1L33_or_out;


--A1L71 is DE$latch~10 at LC59
A1L71_p1_out = LCD_MDISP & MSTR_nRST;
A1L71_p2_out = !MSTR_nRST & A1L71;
A1L71_p3_out = LCD_MDISP & A1L71;
A1L71_or_out = A1L71_p1_out # A1L71_p2_out # A1L71_p3_out;
A1L71 = A1L71_or_out;


--A1L07 is RED[0]$latch~28 at LC102
A1L07_or_out = A1L96;
A1L07 = A1L07_or_out;


--A1L17 is RED[0]$latch~30 at LC16
A1L17_or_out = A1L96;
A1L17 = A1L17_or_out;


--A1L27 is RED[0]$latch~32 at LC11
A1L27_or_out = A1L96;
A1L27 = A1L27_or_out;


--A1L37 is RED[0]$latch~34 at LC25
A1L37_or_out = A1L96;
A1L37 = A1L37_or_out;


--A1L47 is RED[0]$latch~36 at LC24
A1L47_or_out = A1L96;
A1L47 = A1L47_or_out;


--A1L57 is RED[0]$latch~38 at LC22
A1L57_or_out = A1L96;
A1L57 = A1L57_or_out;


--A1L67 is RED[0]$latch~40 at LC40
A1L67_or_out = A1L96;
A1L67 = A1L67_or_out;


--A1L77 is RED[0]$latch~42 at LC37
A1L77_or_out = A1L96;
A1L77 = A1L77_or_out;


--BUFFERED_CLOCK is BUFFERED_CLOCK at PIN_87
--operation mode is input

BUFFERED_CLOCK = INPUT();


--MSTR_nRST is MSTR_nRST at PIN_89
--operation mode is input

MSTR_nRST = INPUT();


--LCD_TYPE[0] is LCD_TYPE[0] at PIN_17
--operation mode is input

LCD_TYPE[0] = INPUT();


--LCD_TYPE[1] is LCD_TYPE[1] at PIN_75
--operation mode is input

LCD_TYPE[1] = INPUT();


--LCD_TYPE[2] is LCD_TYPE[2] at PIN_76
--operation mode is input

LCD_TYPE[2] = INPUT();


--LCD_DON is LCD_DON at PIN_36
--operation mode is input

LCD_DON = INPUT();


--LCD_REV is LCD_REV at PIN_42
--operation mode is input

LCD_REV = INPUT();


--LCD_CLS is LCD_CLS at PIN_46
--operation mode is input

LCD_CLS = INPUT();


--LCD_PSAVE is LCD_PSAVE at PIN_85
--operation mode is input

LCD_PSAVE = INPUT();


--uP_PC6 is uP_PC6 at PIN_84
--operation mode is input

uP_PC6 = INPUT();


--LCD_MOD is LCD_MOD at PIN_81
--operation mode is input

LCD_MOD = INPUT();


--LCD_MDISP is LCD_MDISP at PIN_64
--operation mode is input

LCD_MDISP = INPUT();


--LCD_HSYNC is LCD_HSYNC at PIN_57
--operation mode is input

LCD_HSYNC = INPUT();


--LCD_VSYNC is LCD_VSYNC at PIN_60
--operation mode is input

LCD_VSYNC = INPUT();


--LCD_SPL is LCD_SPL at PIN_54
--operation mode is input

LCD_SPL = INPUT();


--LCD_D[0] is LCD_D[0] at PIN_83
--operation mode is input

LCD_D[0] = INPUT();


--LCD_D[1] is LCD_D[1] at PIN_80
--operation mode is input

LCD_D[1] = INPUT();


--LCD_D[2] is LCD_D[2] at PIN_79
--operation mode is input

LCD_D[2] = INPUT();


--LCD_D[3] is LCD_D[3] at PIN_63
--operation mode is input

LCD_D[3] = INPUT();


--LCD_D[4] is LCD_D[4] at PIN_61
--operation mode is input

LCD_D[4] = INPUT();


--LCD_D[5] is LCD_D[5] at PIN_58
--operation mode is input

LCD_D[5] = INPUT();


--LCD_D[6] is LCD_D[6] at PIN_56
--operation mode is input

LCD_D[6] = INPUT();


--LCD_D[7] is LCD_D[7] at PIN_52
--operation mode is input

LCD_D[7] = INPUT();


--LCD_D[8] is LCD_D[8] at PIN_48
--operation mode is input

LCD_D[8] = INPUT();


--LCD_D[9] is LCD_D[9] at PIN_47
--operation mode is input

LCD_D[9] = INPUT();


--LCD_D[10] is LCD_D[10] at PIN_45
--operation mode is input

LCD_D[10] = INPUT();


--LCD_D[11] is LCD_D[11] at PIN_44
--operation mode is input

LCD_D[11] = INPUT();


--LCD_D[12] is LCD_D[12] at PIN_41
--operation mode is input

LCD_D[12] = INPUT();


--LCD_D[13] is LCD_D[13] at PIN_40
--operation mode is input

LCD_D[13] = INPUT();


--LCD_D[14] is LCD_D[14] at PIN_37
--operation mode is input

LCD_D[14] = INPUT();


--LCD_D[15] is LCD_D[15] at PIN_35
--operation mode is input

LCD_D[15] = INPUT();


--LCD_D[16] is LCD_D[16] at PIN_32
--operation mode is input

LCD_D[16] = INPUT();


--LCD_D[17] is LCD_D[17] at PIN_31
--operation mode is input

LCD_D[17] = INPUT();


--RED[0] is RED[0] at PIN_25
--operation mode is output

RED[0] = OUTPUT(A1L96);


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

RED[3] = OUTPUT(A1L18);


--RED[4] is RED[4] at PIN_19
--operation mode is output

RED[4] = OUTPUT(A1L38);


--RED[5] is RED[5] at PIN_12
--operation mode is output

RED[5] = OUTPUT(A1L58);


--RED[6] is RED[6] at PIN_29
--operation mode is output

RED[6] = OUTPUT(A1L78);


--RED[7] is RED[7] at PIN_13
--operation mode is output

RED[7] = OUTPUT(A1L98);


--GREEN[3] is GREEN[3] at PIN_99
--operation mode is output

GREEN[3] = OUTPUT(A1L32);


--GREEN[4] is GREEN[4] at PIN_98
--operation mode is output

GREEN[4] = OUTPUT(A1L52);


--GREEN[5] is GREEN[5] at PIN_97
--operation mode is output

GREEN[5] = OUTPUT(A1L72);


--GREEN[6] is GREEN[6] at PIN_6
--operation mode is output

GREEN[6] = OUTPUT(A1L92);


--GREEN[7] is GREEN[7] at PIN_100
--operation mode is output

GREEN[7] = OUTPUT(A1L13);


--BLUE[3] is BLUE[3] at PIN_68
--operation mode is output

BLUE[3] = OUTPUT(A1L6);


--BLUE[4] is BLUE[4] at PIN_69
--operation mode is output

BLUE[4] = OUTPUT(A1L8);


--BLUE[5] is BLUE[5] at PIN_71
--operation mode is output

BLUE[5] = OUTPUT(A1L01);


--BLUE[6] is BLUE[6] at PIN_94
--operation mode is output

BLUE[6] = OUTPUT(A1L21);


--BLUE[7] is BLUE[7] at PIN_93
--operation mode is output

BLUE[7] = OUTPUT(A1L41);


--VS is VS at PIN_14
--operation mode is output

VS = OUTPUT(A1L59);


--HS is HS at PIN_16
--operation mode is output

HS = OUTPUT(A1L33);


--DE is DE at PIN_30
--operation mode is output

DE = OUTPUT(A1L71);


--RED[1] is RED[1] at PIN_23
--operation mode is output

RED[1] = OUTPUT(A1L77);


--RED[2] is RED[2] at PIN_21
--operation mode is output

RED[2] = OUTPUT(A1L67);


--GREEN[0] is GREEN[0] at PIN_10
--operation mode is output

GREEN[0] = OUTPUT(A1L57);


--GREEN[1] is GREEN[1] at PIN_9
--operation mode is output

GREEN[1] = OUTPUT(A1L47);


--GREEN[2] is GREEN[2] at PIN_8
--operation mode is output

GREEN[2] = OUTPUT(A1L37);


--BLUE[0] is BLUE[0] at PIN_96
--operation mode is output

BLUE[0] = OUTPUT(A1L27);


--BLUE[1] is BLUE[1] at PIN_92
--operation mode is output

BLUE[1] = OUTPUT(A1L17);


--BLUE[2] is BLUE[2] at PIN_67
--operation mode is output

BLUE[2] = OUTPUT(A1L07);






⌨️ 快捷键说明

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