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

📄 deled.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.
--A1L9 is led~520 at LC_X4_Y26_N8
--operation mode is normal

A1L9 = num[0] & (num[2] $ (!num[1] & !num[3])) # !num[0] & (num[2] & !num[1] & !num[3] # !num[2] & num[1] & num[3]);


--A1L10 is led~521 at LC_X4_Y26_N9
--operation mode is normal

A1L10 = !num[3] & (num[0] & (num[1] # !num[2]) # !num[0] & !num[2] & num[1]);


--A1L11 is led~522 at LC_X4_Y26_N5
--operation mode is normal

A1L11 = num[0] & (num[3] # num[2] $ num[1]) # !num[0] & (num[1] # num[2] $ num[3]);


--A1L12 is led~523 at LC_X4_Y26_N2
--operation mode is normal

A1L12 = num[0] & !num[2] & (num[1] $ !num[3]) # !num[0] & num[2] & !num[1] & !num[3];


--A1L13 is led~524 at LC_X4_Y26_N7
--operation mode is normal

A1L13 = num[2] & (!num[3]) # !num[2] & (num[0] # num[3] # !num[1]);


--A1L14 is led~525 at LC_X4_Y26_N6
--operation mode is normal

A1L14 = num[1] & (num[0] & (!num[3]) # !num[0] & !num[2]) # !num[1] & (num[0] $ !num[3] # !num[2]);


--A1L15 is led~526 at LC_X4_Y26_N4
--operation mode is normal

A1L15 = num[0] & (!num[3] # !num[1]) # !num[0] & num[2] & !num[1] & !num[3];


--num[3] is num[3] at PIN_1
--operation mode is input

num[3] = INPUT();


--num[1] is num[1] at PIN_234
--operation mode is input

num[1] = INPUT();


--num[0] is num[0] at PIN_237
--operation mode is input

num[0] = INPUT();


--num[2] is num[2] at PIN_227
--operation mode is input

num[2] = INPUT();


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

led[0] = OUTPUT(!A1L12);


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

led[1] = OUTPUT(A1L14);


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

led[2] = OUTPUT(A1L13);


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

led[3] = OUTPUT(!A1L9);


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

led[4] = OUTPUT(!A1L15);


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

led[5] = OUTPUT(!A1L10);


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

led[6] = OUTPUT(A1L11);




⌨️ 快捷键说明

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