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

📄 cntshow.map.eqn

📁 Quartus环境下的12进制计数器的扫描显示电路
💻 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.
--B1_CQI[0] is CNT12:u1|CQI[0]
--operation mode is normal

B1_CQI[0]_lut_out = !B1_CQI[0] & (!B1_CQI[3] # !B1_CQI[2]);
B1_CQI[0] = DFFEAS(B1_CQI[0]_lut_out, CLK, !RST, , EN, , , , );


--B1_CQI[1] is CNT12:u1|CQI[1]
--operation mode is normal

B1_CQI[1]_lut_out = B1_CQI[2] & !B1_CQI[3] & (B1_CQI[0] $ B1_CQI[1]) # !B1_CQI[2] & (B1_CQI[0] $ B1_CQI[1]);
B1_CQI[1] = DFFEAS(B1_CQI[1]_lut_out, CLK, !RST, , EN, , , , );


--B1_CQI[2] is CNT12:u1|CQI[2]
--operation mode is normal

B1_CQI[2]_lut_out = !B1_CQI[3] & (B1_CQI[2] $ (B1_CQI[0] & B1_CQI[1]));
B1_CQI[2] = DFFEAS(B1_CQI[2]_lut_out, CLK, !RST, , EN, , , , );


--B1_CQI[3] is CNT12:u1|CQI[3]
--operation mode is normal

B1_CQI[3]_lut_out = B1_CQI[3] & !B1_CQI[2] & (!B1_CQI[1] # !B1_CQI[0]) # !B1_CQI[3] & B1_CQI[2] & B1_CQI[0] & B1_CQI[1];
B1_CQI[3] = DFFEAS(B1_CQI[3]_lut_out, CLK, !RST, , EN, , , , );


--C1L1 is DECL7S:u2|LED7S[0]~191
--operation mode is normal

C1L1 = B1_CQI[2] & !B1_CQI[1] & (B1_CQI[0] $ !B1_CQI[3]) # !B1_CQI[2] & B1_CQI[0] & (B1_CQI[1] $ !B1_CQI[3]);


--C1L2 is DECL7S:u2|LED7S[1]~192
--operation mode is normal

C1L2 = B1_CQI[1] & (B1_CQI[0] & (B1_CQI[3]) # !B1_CQI[0] & B1_CQI[2]) # !B1_CQI[1] & B1_CQI[2] & (B1_CQI[0] $ B1_CQI[3]);


--C1L3 is DECL7S:u2|LED7S[2]~193
--operation mode is normal

C1L3 = B1_CQI[2] & B1_CQI[3] & (B1_CQI[1] # !B1_CQI[0]) # !B1_CQI[2] & !B1_CQI[0] & B1_CQI[1] & !B1_CQI[3];


--C1L4 is DECL7S:u2|LED7S[3]~194
--operation mode is normal

C1L4 = B1_CQI[1] & (B1_CQI[0] & B1_CQI[2] # !B1_CQI[0] & !B1_CQI[2] & B1_CQI[3]) # !B1_CQI[1] & !B1_CQI[3] & (B1_CQI[0] $ B1_CQI[2]);


--C1L5 is DECL7S:u2|LED7S[4]~195
--operation mode is normal

C1L5 = B1_CQI[1] & B1_CQI[0] & (!B1_CQI[3]) # !B1_CQI[1] & (B1_CQI[2] & (!B1_CQI[3]) # !B1_CQI[2] & B1_CQI[0]);


--C1L6 is DECL7S:u2|LED7S[5]~196
--operation mode is normal

C1L6 = B1_CQI[0] & (B1_CQI[3] $ (B1_CQI[1] # !B1_CQI[2])) # !B1_CQI[0] & B1_CQI[1] & !B1_CQI[2] & !B1_CQI[3];


--C1L7 is DECL7S:u2|LED7S[6]~197
--operation mode is normal

C1L7 = B1_CQI[0] & (B1_CQI[3] # B1_CQI[1] $ B1_CQI[2]) # !B1_CQI[0] & (B1_CQI[1] # B1_CQI[2] $ B1_CQI[3]);


--A1L13 is rtl~20
--operation mode is normal

A1L13 = B1_CQI[0] & B1_CQI[1] & B1_CQI[3] & !B1_CQI[2];


--CLK is CLK
--operation mode is input

CLK = INPUT();


--RST is RST
--operation mode is input

RST = INPUT();


--EN is EN
--operation mode is input

EN = INPUT();


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

LED7S[0] = OUTPUT(!C1L1);


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

LED7S[1] = OUTPUT(!C1L2);


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

LED7S[2] = OUTPUT(!C1L3);


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

LED7S[3] = OUTPUT(!C1L4);


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

LED7S[4] = OUTPUT(!C1L5);


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

LED7S[5] = OUTPUT(!C1L6);


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

LED7S[6] = OUTPUT(C1L7);


--COUT is COUT
--operation mode is output

COUT = OUTPUT(A1L13);


⌨️ 快捷键说明

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