cpld_for_lcd.map.eqn

来自「一个VEILOG HDL程序」· EQN 代码 · 共 566 行

EQN
566
字号
-- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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;


--A1L19 is VS$latch~10
A1L19_p1_out = LCD_VSYNC & MSTR_nRST;
A1L19_p2_out = !MSTR_nRST & A1L19;
A1L19_p3_out = LCD_VSYNC & A1L19;
A1L19_or_out = A1L19_p1_out # A1L19_p2_out # A1L19_p3_out;
A1L19 = A1L19_or_out;


--A1L33 is HS$latch~10
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
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
A1L07_or_out = A1L96;
A1L07 = A1L07_or_out;


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


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


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


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


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


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


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


--BUFFERED_CLOCK is BUFFERED_CLOCK
--operation mode is input

BUFFERED_CLOCK = INPUT();


--MSTR_nRST is MSTR_nRST
--operation mode is input

MSTR_nRST = INPUT();


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

LCD_TYPE[0] = INPUT();


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

LCD_TYPE[1] = INPUT();


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

LCD_TYPE[2] = INPUT();


--LCD_DON is LCD_DON
--operation mode is input

LCD_DON = INPUT();


--LCD_REV is LCD_REV
--operation mode is input

LCD_REV = INPUT();


--LCD_CLS is LCD_CLS
--operation mode is input

LCD_CLS = INPUT();


--LCD_PSAVE is LCD_PSAVE
--operation mode is input

LCD_PSAVE = INPUT();


--uP_PC6 is uP_PC6
--operation mode is input

uP_PC6 = INPUT();


--LCD_MOD is LCD_MOD
--operation mode is input

LCD_MOD = INPUT();


--LCD_MDISP is LCD_MDISP
--operation mode is input

LCD_MDISP = INPUT();


--LCD_HSYNC is LCD_HSYNC
--operation mode is input

LCD_HSYNC = INPUT();


--LCD_VSYNC is LCD_VSYNC
--operation mode is input

LCD_VSYNC = INPUT();


--LCD_SPL is LCD_SPL
--operation mode is input

LCD_SPL = INPUT();


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

LCD_D[0] = INPUT();


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

LCD_D[1] = INPUT();


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

LCD_D[2] = INPUT();


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

LCD_D[3] = INPUT();


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

LCD_D[4] = INPUT();


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

LCD_D[5] = INPUT();


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

LCD_D[6] = INPUT();


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

LCD_D[7] = INPUT();


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

LCD_D[8] = INPUT();


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

LCD_D[9] = INPUT();


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

LCD_D[10] = INPUT();


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

LCD_D[11] = INPUT();


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

LCD_D[12] = INPUT();


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

LCD_D[13] = INPUT();


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

LCD_D[14] = INPUT();


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

LCD_D[15] = INPUT();


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

LCD_D[16] = INPUT();


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

LCD_D[17] = INPUT();


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

RED[0] = OUTPUT(A1L96);


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

RED[3] = OUTPUT(A1L18);


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

RED[4] = OUTPUT(A1L38);


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

RED[5] = OUTPUT(A1L58);


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

RED[6] = OUTPUT(A1L78);


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

RED[7] = OUTPUT(A1L98);


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

GREEN[3] = OUTPUT(A1L32);


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

GREEN[4] = OUTPUT(A1L52);


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

GREEN[5] = OUTPUT(A1L72);


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

GREEN[6] = OUTPUT(A1L92);


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

GREEN[7] = OUTPUT(A1L13);


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

BLUE[3] = OUTPUT(A1L6);


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

BLUE[4] = OUTPUT(A1L8);


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

BLUE[5] = OUTPUT(A1L01);


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

BLUE[6] = OUTPUT(A1L21);


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

BLUE[7] = OUTPUT(A1L41);


--VS is VS
--operation mode is output

VS = OUTPUT(A1L19);


--HS is HS
--operation mode is output

HS = OUTPUT(A1L33);


--DE is DE
--operation mode is output

DE = OUTPUT(A1L71);


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

RED[1] = OUTPUT(A1L77);


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

RED[2] = OUTPUT(A1L67);


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

GREEN[0] = OUTPUT(A1L57);


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

GREEN[1] = OUTPUT(A1L47);


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

GREEN[2] = OUTPUT(A1L37);


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

BLUE[0] = OUTPUT(A1L27);


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

BLUE[1] = OUTPUT(A1L17);


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

BLUE[2] = OUTPUT(A1L07);


⌨️ 快捷键说明

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