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

📄 ps2tolcd.fit.eqn

📁 基于EPM1270的PS2键盘鼠标驱动源码Verilog
💻 EQN
📖 第 1 页 / 共 5 页
字号:
-- 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_rx_ascii[6] is ps2_keyboard_interface:inst3|rx_ascii[6] at LC_X7_Y7_N7
--operation mode is normal

C1_rx_ascii[6]_lut_out = !C1L441;
C1_rx_ascii[6] = DFFEAS(C1_rx_ascii[6]_lut_out, GLOBAL(B1_clk), VCC, , C1L222, , , !reset, );


--C1_rx_ascii[5] is ps2_keyboard_interface:inst3|rx_ascii[5] at LC_X6_Y7_N6
--operation mode is normal

C1_rx_ascii[5]_lut_out = !C1L991;
C1_rx_ascii[5] = DFFEAS(C1_rx_ascii[5]_lut_out, GLOBAL(B1_clk), VCC, , C1L222, , , !reset, );


--C1_rx_ascii[3] is ps2_keyboard_interface:inst3|rx_ascii[3] at LC_X6_Y7_N9
--operation mode is normal

C1_rx_ascii[3]_lut_out = !C1L541;
C1_rx_ascii[3] = DFFEAS(C1_rx_ascii[3]_lut_out, GLOBAL(B1_clk), VCC, , C1L222, , , !reset, );


--C1_rx_ascii[0] is ps2_keyboard_interface:inst3|rx_ascii[0] at LC_X7_Y7_N8
--operation mode is normal

C1_rx_ascii[0]_lut_out = !C1L841;
C1_rx_ascii[0] = DFFEAS(C1_rx_ascii[0]_lut_out, GLOBAL(B1_clk), VCC, , C1L222, , , !reset, );


--C1_q[6] is ps2_keyboard_interface:inst3|q[6] at LC_X9_Y5_N6
--operation mode is normal

C1_q[6]_lut_out = C1_q[7] & (reset);
C1_q[6] = DFFEAS(C1_q[6]_lut_out, GLOBAL(B1_clk), VCC, , C1L74, , , , );


--C1_q[3] is ps2_keyboard_interface:inst3|q[3] at LC_X9_Y6_N8
--operation mode is normal

C1_q[3]_lut_out = C1_q[4] & (reset);
C1_q[3] = DFFEAS(C1_q[3]_lut_out, GLOBAL(B1_clk), VCC, , C1L74, , , , );


--C1_q[2] is ps2_keyboard_interface:inst3|q[2] at LC_X9_Y6_N2
--operation mode is normal

C1_q[2]_lut_out = C1_q[3] & (reset);
C1_q[2] = DFFEAS(C1_q[2]_lut_out, GLOBAL(B1_clk), VCC, , C1L74, , , , );


--C1_q[4] is ps2_keyboard_interface:inst3|q[4] at LC_X9_Y6_N3
--operation mode is normal

C1_q[4]_lut_out = C1_q[5] & reset;
C1_q[4] = DFFEAS(C1_q[4]_lut_out, GLOBAL(B1_clk), VCC, , C1L74, , , , );


--C1_left_shift_key is ps2_keyboard_interface:inst3|left_shift_key at LC_X8_Y6_N9
--operation mode is normal

C1_left_shift_key_lut_out = C1L2 & (C1_left_shift_key) # !C1L2 & !C1_hold_released;
C1_left_shift_key = DFFEAS(C1_left_shift_key_lut_out, GLOBAL(B1_clk), VCC, , , , , !reset, );


--C1_right_shift_key is ps2_keyboard_interface:inst3|right_shift_key at LC_X8_Y6_N6
--operation mode is normal

C1_right_shift_key_lut_out = C1L3 & C1_right_shift_key # !C1L3 & (!C1_hold_released);
C1_right_shift_key = DFFEAS(C1_right_shift_key_lut_out, GLOBAL(B1_clk), VCC, , , , , !reset, );


--C1L922 is ps2_keyboard_interface:inst3|rx_shift_key_on~0 at LC_X8_Y6_N0
--operation mode is normal

C1L922 = C1_right_shift_key # C1_left_shift_key;


--C1_q[1] is ps2_keyboard_interface:inst3|q[1] at LC_X10_Y6_N4
--operation mode is normal

C1_q[1]_lut_out = reset & C1_q[2];
C1_q[1] = DFFEAS(C1_q[1]_lut_out, GLOBAL(B1_clk), VCC, , C1L74, , , , );


--C1L57 is ps2_keyboard_interface:inst3|reduce_nor~4901 at LC_X9_Y7_N7
--operation mode is normal

C1L57 = C1_q[2] & !C1_q[1] & C1_q[4] & !C1L922;


--C1_q[5] is ps2_keyboard_interface:inst3|q[5] at LC_X9_Y5_N9
--operation mode is normal

C1_q[5]_lut_out = C1_q[6] & reset;
C1_q[5] = DFFEAS(C1_q[5]_lut_out, GLOBAL(B1_clk), VCC, , C1L74, , , , );


--C1_q[8] is ps2_keyboard_interface:inst3|q[8] at LC_X9_Y5_N8
--operation mode is normal

C1_q[8]_lut_out = C1_q[9] & reset;
C1_q[8] = DFFEAS(C1_q[8]_lut_out, GLOBAL(B1_clk), VCC, , C1L74, , , , );


--C1_q[7] is ps2_keyboard_interface:inst3|q[7] at LC_X9_Y5_N3
--operation mode is normal

C1_q[7]_lut_out = C1_q[8] & (reset);
C1_q[7] = DFFEAS(C1_q[7]_lut_out, GLOBAL(B1_clk), VCC, , C1L74, , , , );


--C1L67 is ps2_keyboard_interface:inst3|reduce_nor~4902 at LC_X8_Y5_N5
--operation mode is normal

C1L67 = C1_q[5] & !C1_q[7] & !C1_q[8];


--C1L65 is ps2_keyboard_interface:inst3|reduce_nor~32 at LC_X9_Y7_N1
--operation mode is normal

C1L65 = !C1L67 # !C1L57 # !C1_q[3] # !C1_q[6];


--C1L77 is ps2_keyboard_interface:inst3|reduce_nor~4903 at LC_X10_Y6_N2
--operation mode is normal

C1L77 = !C1_q[1] & C1_q[2] & C1_q[3] & !C1_q[4];


--C1L87 is ps2_keyboard_interface:inst3|reduce_nor~4904 at LC_X9_Y6_N5
--operation mode is normal

C1L87 = !C1_q[2] & (C1_q[3]);


--C1L97 is ps2_keyboard_interface:inst3|reduce_nor~4905 at LC_X9_Y6_N9
--operation mode is normal

C1L97 = !C1_q[4] & C1_q[1] & C1L87 & !C1L922;


--C1L08 is ps2_keyboard_interface:inst3|reduce_nor~4906 at LC_X9_Y5_N4
--operation mode is normal

C1L08 = !C1_q[8] & C1_q[5] & !C1_q[6] & C1_q[7];


--C1L18 is ps2_keyboard_interface:inst3|reduce_nor~4907 at LC_X9_Y5_N7
--operation mode is normal

C1L18 = !C1_q[8] & !C1_q[5] & C1_q[6] & !C1_q[7];


--C1L28 is ps2_keyboard_interface:inst3|reduce_nor~4908 at LC_X10_Y6_N6
--operation mode is normal

C1L28 = !C1_q[1] & (!C1_left_shift_key & !C1_right_shift_key);


--C1L38 is ps2_keyboard_interface:inst3|reduce_nor~4909 at LC_X10_Y6_N9
--operation mode is normal

C1L38 = C1_q[2] & C1_q[4] & C1L28 & C1L18;


--C1L941 is ps2_keyboard_interface:inst3|reduce_or~1258 at LC_X11_Y6_N3
--operation mode is normal

C1L941 = C1_q[3] & (C1L38 # C1L97 & C1L08) # !C1_q[3] & C1L97 & C1L08;


--C1L48 is ps2_keyboard_interface:inst3|reduce_nor~4910 at LC_X9_Y6_N0
--operation mode is normal

C1L48 = !C1_q[3] & !C1_q[2] & !C1_q[4] & C1_q[1];


--C1L032 is ps2_keyboard_interface:inst3|rx_shift_key_on~674 at LC_X9_Y5_N5
--operation mode is normal

C1L032 = !C1_q[8] & !C1_q[5] & !C1_q[6] & C1_q[7];


--C1L58 is ps2_keyboard_interface:inst3|reduce_nor~4911 at LC_X9_Y5_N1
--operation mode is normal

C1L58 = !C1_q[8] & C1_q[5] & !C1_q[6] & !C1_q[7];


--C1L051 is ps2_keyboard_interface:inst3|reduce_or~1259 at LC_X11_Y6_N4
--operation mode is normal

C1L051 = C1L922 & C1L48 & (C1L032) # !C1L922 & (C1L58 # C1L032);


--C1L151 is ps2_keyboard_interface:inst3|reduce_or~1260 at LC_X11_Y6_N2
--operation mode is normal

C1L151 = !C1L941 & (!C1L77 & !C1L922 # !C1L051);


--C1L68 is ps2_keyboard_interface:inst3|reduce_nor~4912 at LC_X10_Y5_N7
--operation mode is normal

C1L68 = C1_q[7] & !C1_q[8] & C1_q[6];


--C1L15 is ps2_keyboard_interface:inst3|reduce_nor~4 at LC_X10_Y5_N6
--operation mode is normal

C1L15 = C1_q[5] # !C1L77 # !C1L68;


--C1L78 is ps2_keyboard_interface:inst3|reduce_nor~4913 at LC_X11_Y6_N1
--operation mode is normal

C1L78 = C1_q[3] # C1_q[1] # !C1_q[2] # !C1_q[4];


--C1L251 is ps2_keyboard_interface:inst3|reduce_or~1261 at LC_X10_Y8_N6
--operation mode is normal

C1L251 = C1L15 & (C1L78 # !C1L08);


--C1L351 is ps2_keyboard_interface:inst3|reduce_or~1262 at LC_X11_Y6_N9
--operation mode is normal

C1L351 = !C1L251 # !C1L65 # !C1L151;


--C1L88 is ps2_keyboard_interface:inst3|reduce_nor~4914 at LC_X9_Y7_N8
--operation mode is normal

C1L88 = !C1_q[4] & C1_q[1] & C1L922 & C1L87;


--C1L98 is ps2_keyboard_interface:inst3|reduce_nor~4915 at LC_X9_Y8_N0
--operation mode is normal

C1L98 = C1_q[4] & C1L032 & C1_q[2] & C1L28;


--C1L09 is ps2_keyboard_interface:inst3|reduce_nor~4916 at LC_X8_Y5_N1
--operation mode is normal

C1L09 = !C1_q[5] & !C1_q[7] & !C1_q[8];


--C1L19 is ps2_keyboard_interface:inst3|reduce_nor~4917 at LC_X9_Y8_N9
--operation mode is normal

C1L19 = C1_q[1] & !C1_q[2] & C1_q[4] & !C1_q[3];


--C1L29 is ps2_keyboard_interface:inst3|reduce_nor~4918 at LC_X9_Y6_N4
--operation mode is normal

C1L29 = C1_q[3] & !C1_q[2] & C1_q[4] & C1_q[1];


--C1L451 is ps2_keyboard_interface:inst3|reduce_or~1263 at LC_X10_Y5_N4
--operation mode is normal

C1L451 = C1L09 & (C1_q[6] & C1L19 # !C1_q[6] & (C1L29));


--C1L551 is ps2_keyboard_interface:inst3|reduce_or~1264 at LC_X11_Y6_N6
--operation mode is normal

C1L551 = C1L922 & C1L77 # !C1L922 & (C1L48 & C1L032);


--C1L651 is ps2_keyboard_interface:inst3|reduce_or~1265 at LC_X10_Y5_N1
--operation mode is normal

C1L651 = C1L032 & (C1L97 # C1L551) # !C1L032 & (C1L58 & C1L551);


--C1L751 is ps2_keyboard_interface:inst3|reduce_or~1266 at LC_X10_Y5_N2
--operation mode is normal

C1L751 = C1L451 # C1L651 # C1L97 & C1L18;


--C1L39 is ps2_keyboard_interface:inst3|reduce_nor~4919 at LC_X10_Y6_N7
--operation mode is normal

C1L39 = !C1_q[1] & C1_q[2] & (C1_left_shift_key # C1_right_shift_key);


--C1L35 is ps2_keyboard_interface:inst3|reduce_nor~13 at LC_X10_Y6_N5
--operation mode is normal

C1L35 = !C1L18 # !C1L39 # !C1_q[4] # !C1_q[3];


--C1L49 is ps2_keyboard_interface:inst3|reduce_nor~4920 at LC_X9_Y6_N1
--operation mode is normal

C1L49 = !C1_q[3] & C1_q[2] & !C1_q[4] & !C1_q[1];


--C1L132 is ps2_keyboard_interface:inst3|rx_shift_key_on~675 at LC_X9_Y6_N6
--operation mode is normal

C1L132 = !C1_q[3] & C1_q[2] & (C1_q[1]);


--C1L59 is ps2_keyboard_interface:inst3|reduce_nor~4921 at LC_X11_Y6_N5
--operation mode is normal

C1L59 = !C1L922 & (C1L77 # C1L132 & !C1_q[4]);


--C1L69 is ps2_keyboard_interface:inst3|reduce_nor~4922 at LC_X8_Y6_N5
--operation mode is normal

C1L69 = !C1_q[4] & !C1_q[1] & C1L922 & C1L87;


--C1L79 is ps2_keyboard_interface:inst3|reduce_nor~4923 at LC_X9_Y5_N0
--operation mode is normal

C1L79 = !C1_q[8] & C1_q[5] & C1_q[6] & !C1_q[7];


--C1L89 is ps2_keyboard_interface:inst3|reduce_nor~4924 at LC_X10_Y7_N3
--operation mode is normal

C1L89 = C1L88 & (C1L79 # C1L08) # !C1L88 & (C1L08 & C1L69);


--C1L56 is ps2_keyboard_interface:inst3|reduce_nor~57 at LC_X10_Y7_N4
--operation mode is normal

C1L56 = !C1L88 # !C1L58;


--C1L99 is ps2_keyboard_interface:inst3|reduce_nor~4925 at LC_X10_Y7_N2
--operation mode is normal

C1L99 = C1L531 & C1L06 & (!C1L97 # !C1L58);


--C1L001 is ps2_keyboard_interface:inst3|reduce_nor~4926 at LC_X10_Y7_N7
--operation mode is normal

C1L001 = C1L56 & C1L99 & (C1_q[1] # !C1L431);


--C1L101 is ps2_keyboard_interface:inst3|reduce_nor~4927 at LC_X10_Y7_N0
--operation mode is normal

C1L101 = C1L77 & (C1L58 # C1L18) # !C1L77 & C1L58 & (C1L132);


--C1L201 is ps2_keyboard_interface:inst3|reduce_nor~4928 at LC_X10_Y7_N8
--operation mode is normal

C1L201 = C1L001 & (!C1_q[4] & !C1L77 # !C1L101);


--C1L25 is ps2_keyboard_interface:inst3|reduce_nor~7 at LC_X10_Y5_N8
--operation mode is normal

C1L25 = !C1L68 # !C1L77 # !C1_q[5];


--C1L301 is ps2_keyboard_interface:inst3|reduce_nor~4929 at LC_X10_Y5_N9
--operation mode is normal

C1L301 = C1L25 & (C1_q[6] # !C1L29 # !C1L09);


--C1L401 is ps2_keyboard_interface:inst3|reduce_nor~4930 at LC_X9_Y7_N2
--operation mode is normal

C1L401 = C1L032 & (C1_right_shift_key # C1_left_shift_key);


--C1L501 is ps2_keyboard_interface:inst3|reduce_nor~4931 at LC_X10_Y5_N5
--operation mode is normal

C1L501 = C1L301 & (C1_q[4] # !C1L401 # !C1L132);


--C1L601 is ps2_keyboard_interface:inst3|reduce_nor~4932 at LC_X8_Y9_N6
--operation mode is normal

C1L601 = !C1L922 & !C1_q[4] & !C1_q[1] & C1L87;


--C1L17 is ps2_keyboard_interface:inst3|reduce_nor~67 at LC_X8_Y9_N7
--operation mode is normal

C1L17 = !C1L601 # !C1L08;

⌨️ 快捷键说明

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