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

📄 keyled.fit.eqn

📁 很多vhdl例程代码
💻 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.
--A1L72 is reduce_nor~91 at LC_X34_Y4_N5
--operation mode is normal

A1L72 = key[2] & key[7] & key[1];


--A1L82 is reduce_nor~92 at LC_X34_Y4_N1
--operation mode is normal

A1L82 = key[4] & (key[6] & key[5]);


--A1L91 is reduce_nor~0 at LC_X34_Y4_N2
--operation mode is normal

A1L91 = key[0] # !A1L72 # !key[3] # !A1L82;


--A1L92 is reduce_nor~93 at LC_X34_Y4_N8
--operation mode is normal

A1L92 = key[3] & key[0] & A1L82;


--A1L02 is reduce_nor~1 at LC_X34_Y4_N9
--operation mode is normal

A1L02 = key[1] # !A1L92 # !key[2] # !key[7];


--A1L12 is reduce_nor~2 at LC_X34_Y4_N0
--operation mode is normal

A1L12 = key[2] # !key[1] # !A1L92 # !key[7];


--A1L22 is reduce_nor~3 at LC_X34_Y4_N3
--operation mode is normal

A1L22 = key[3] # !A1L72 # !key[0] # !A1L82;


--A1L03 is reduce_nor~94 at LC_X34_Y4_N6
--operation mode is normal

A1L03 = key[3] & key[0] & A1L72;


--A1L32 is reduce_nor~4 at LC_X34_Y4_N7
--operation mode is normal

A1L32 = key[4] # !A1L03 # !key[6] # !key[5];


--A1L42 is reduce_nor~5 at LC_X34_Y5_N2
--operation mode is normal

A1L42 = key[5] # !key[6] # !key[4] # !A1L03;


--A1L52 is reduce_nor~6 at LC_X34_Y5_N4
--operation mode is normal

A1L52 = key[6] # !key[4] # !key[5] # !A1L03;


--A1L62 is reduce_nor~7 at LC_X34_Y4_N4
--operation mode is normal

A1L62 = key[7] # !key[1] # !A1L92 # !key[2];


--key[0] is key[0] at PIN_121
--operation mode is input

key[0] = INPUT();


--key[3] is key[3] at PIN_124
--operation mode is input

key[3] = INPUT();


--key[7] is key[7] at PIN_156
--operation mode is input

key[7] = INPUT();


--key[2] is key[2] at PIN_123
--operation mode is input

key[2] = INPUT();


--key[1] is key[1] at PIN_122
--operation mode is input

key[1] = INPUT();


--key[4] is key[4] at PIN_143
--operation mode is input

key[4] = INPUT();


--key[5] is key[5] at PIN_141
--operation mode is input

key[5] = INPUT();


--key[6] is key[6] at PIN_158
--operation mode is input

key[6] = INPUT();


--led[0] is led[0] at PIN_50
--operation mode is output

led[0] = OUTPUT(A1L91);


--led[1] is led[1] at PIN_53
--operation mode is output

led[1] = OUTPUT(A1L02);


--led[2] is led[2] at PIN_54
--operation mode is output

led[2] = OUTPUT(A1L12);


--led[3] is led[3] at PIN_55
--operation mode is output

led[3] = OUTPUT(A1L22);


--led[4] is led[4] at PIN_176
--operation mode is output

led[4] = OUTPUT(A1L32);


--led[5] is led[5] at PIN_47
--operation mode is output

led[5] = OUTPUT(A1L42);


--led[6] is led[6] at PIN_48
--operation mode is output

led[6] = OUTPUT(A1L52);


--led[7] is led[7] at PIN_49
--operation mode is output

led[7] = OUTPUT(A1L62);




⌨️ 快捷键说明

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