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

📄 scan_led.map.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]
--operation mode is normal

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


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

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


--CLK is CLK
--operation mode is input

CLK = INPUT();


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

SG[0] = OUTPUT(!A1L15);


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

SG[1] = OUTPUT(!A1L16);


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

SG[2] = OUTPUT(!A1L17);


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

SG[3] = OUTPUT(!A1L18);


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

SG[4] = OUTPUT(!A1L19);


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

SG[5] = OUTPUT(A1L20);


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

SG[6] = OUTPUT(A1L21);


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

BT[0] = OUTPUT(A1L22);


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

BT[1] = OUTPUT(A1L23);


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

BT[2] = OUTPUT(A1L24);


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

BT[3] = OUTPUT(A1L25);


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

BT[4] = OUTPUT(A1L26);


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

BT[5] = OUTPUT(A1L27);


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

BT[6] = OUTPUT(A1L28);


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

BT[7] = OUTPUT(A1L17);


⌨️ 快捷键说明

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