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

📄 scan_led.fit.eqn

📁 Quartus环境下的7段扫描显示电路的源程序
💻 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.
--CNT8[2] is CNT8[2] at LC_X26_Y9_N0
--operation mode is normal

CNT8[2]_lut_out = CNT8[2] $ (CNT8[1] & CNT8[0]);
CNT8[2] = DFFEAS(CNT8[2]_lut_out, GLOBAL(CLK), VCC, , , , , , );


--CNT8[0] is CNT8[0] at LC_X26_Y9_N7
--operation mode is normal

CNT8[0]_lut_out = !CNT8[0];
CNT8[0] = DFFEAS(CNT8[0]_lut_out, GLOBAL(CLK), VCC, , , , , , );


--CNT8[1] is CNT8[1] at LC_X26_Y9_N5
--operation mode is normal

CNT8[1]_lut_out = CNT8[0] $ CNT8[1];
CNT8[1] = DFFEAS(CNT8[1]_lut_out, GLOBAL(CLK), VCC, , , , , , );


--A1L15 is Mux~380 at LC_X26_Y9_N4
--operation mode is normal

A1L15 = CNT8[1] & !CNT8[0] & CNT8[2] # !CNT8[1] & (CNT8[0] $ !CNT8[2]);


--A1L16 is Mux~381 at LC_X26_Y9_N9
--operation mode is normal

A1L16 = CNT8[0] & (CNT8[2]) # !CNT8[0] & CNT8[1] & !CNT8[2];


--A1L17 is Mux~382 at LC_X26_Y9_N6
--operation mode is normal

A1L17 = CNT8[1] & CNT8[0] & CNT8[2];


--A1L18 is Mux~383 at LC_X26_Y9_N3
--operation mode is normal

A1L18 = CNT8[1] & CNT8[0] # !CNT8[1] & !CNT8[0] & !CNT8[2];


--A1L19 is Mux~384 at LC_X26_Y9_N2
--operation mode is normal

A1L19 = !CNT8[1] & !CNT8[0] # !CNT8[2];


--A1L20 is Mux~385 at LC_X26_Y9_N1
--operation mode is normal

A1L20 = CNT8[2] $ (CNT8[1] & !CNT8[0]);


--A1L21 is Mux~386 at LC_X26_Y9_N8
--operation mode is normal

A1L21 = CNT8[2] # CNT8[1] $ CNT8[0];


--A1L22 is Mux~387 at LC_X26_Y5_N4
--operation mode is normal

A1L22 = !CNT8[1] & !CNT8[2] & !CNT8[0];


--A1L23 is Mux~388 at LC_X26_Y5_N5
--operation mode is normal

A1L23 = !CNT8[1] & !CNT8[2] & CNT8[0];


--A1L24 is Mux~389 at LC_X26_Y5_N2
--operation mode is normal

A1L24 = CNT8[1] & !CNT8[2] & !CNT8[0];


--A1L25 is Mux~390 at LC_X26_Y5_N8
--operation mode is normal

A1L25 = CNT8[1] & !CNT8[2] & CNT8[0];


--A1L26 is Mux~391 at LC_X26_Y5_N9
--operation mode is normal

A1L26 = !CNT8[1] & CNT8[2] & !CNT8[0];


--A1L27 is Mux~392 at LC_X26_Y5_N7
--operation mode is normal

A1L27 = !CNT8[1] & CNT8[2] & CNT8[0];


--A1L28 is Mux~393 at LC_X26_Y5_N6
--operation mode is normal

A1L28 = CNT8[1] & CNT8[2] & !CNT8[0];


--CLK is CLK at PIN_93
--operation mode is input

CLK = INPUT();


--SG[0] is SG[0] at PIN_108
--operation mode is output

SG[0] = OUTPUT(!A1L15);


--SG[1] is SG[1] at PIN_107
--operation mode is output

SG[1] = OUTPUT(!A1L16);


--SG[2] is SG[2] at PIN_106
--operation mode is output

SG[2] = OUTPUT(!A1L17);


--SG[3] is SG[3] at PIN_105
--operation mode is output

SG[3] = OUTPUT(!A1L18);


--SG[4] is SG[4] at PIN_103
--operation mode is output

SG[4] = OUTPUT(!A1L19);


--SG[5] is SG[5] at PIN_99
--operation mode is output

SG[5] = OUTPUT(A1L20);


--SG[6] is SG[6] at PIN_98
--operation mode is output

SG[6] = OUTPUT(A1L21);


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

BT[0] = OUTPUT(A1L22);


--BT[1] is BT[1] at PIN_85
--operation mode is output

BT[1] = OUTPUT(A1L23);


--BT[2] is BT[2] at PIN_84
--operation mode is output

BT[2] = OUTPUT(A1L24);


--BT[3] is BT[3] at PIN_83
--operation mode is output

BT[3] = OUTPUT(A1L25);


--BT[4] is BT[4] at PIN_78
--operation mode is output

BT[4] = OUTPUT(A1L26);


--BT[5] is BT[5] at PIN_77
--operation mode is output

BT[5] = OUTPUT(A1L27);


--BT[6] is BT[6] at PIN_76
--operation mode is output

BT[6] = OUTPUT(A1L28);


--BT[7] is BT[7] at PIN_75
--operation mode is output

BT[7] = OUTPUT(A1L17);




⌨️ 快捷键说明

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