📄 cntshow.fit.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] at LC_X26_Y10_N7
--operation mode is normal
B1_CQI[0]_lut_out = !B1_CQI[0] & (!B1_CQI[2] # !B1_CQI[3]);
B1_CQI[0] = DFFEAS(B1_CQI[0]_lut_out, GLOBAL(CLK), !GLOBAL(RST), , EN, , , , );
--B1_CQI[1] is CNT12:u1|CQI[1] at LC_X26_Y10_N0
--operation mode is normal
B1_CQI[1]_lut_out = B1_CQI[3] & !B1_CQI[2] & (B1_CQI[1] $ B1_CQI[0]) # !B1_CQI[3] & (B1_CQI[1] $ B1_CQI[0]);
B1_CQI[1] = DFFEAS(B1_CQI[1]_lut_out, GLOBAL(CLK), !GLOBAL(RST), , EN, , , , );
--B1_CQI[2] is CNT12:u1|CQI[2] at LC_X26_Y10_N5
--operation mode is normal
B1_CQI[2]_lut_out = !B1_CQI[3] & (B1_CQI[2] $ (B1_CQI[1] & B1_CQI[0]));
B1_CQI[2] = DFFEAS(B1_CQI[2]_lut_out, GLOBAL(CLK), !GLOBAL(RST), , EN, , , , );
--B1_CQI[3] is CNT12:u1|CQI[3] at LC_X26_Y10_N2
--operation mode is normal
B1_CQI[3]_lut_out = B1_CQI[3] & !B1_CQI[2] & (!B1_CQI[0] # !B1_CQI[1]) # !B1_CQI[3] & B1_CQI[1] & B1_CQI[0] & B1_CQI[2];
B1_CQI[3] = DFFEAS(B1_CQI[3]_lut_out, GLOBAL(CLK), !GLOBAL(RST), , EN, , , , );
--C1L1 is DECL7S:u2|LED7S[0]~191 at LC_X26_Y10_N6
--operation mode is normal
C1L1 = B1_CQI[3] & B1_CQI[0] & (B1_CQI[1] $ B1_CQI[2]) # !B1_CQI[3] & !B1_CQI[1] & (B1_CQI[0] $ B1_CQI[2]);
--C1L2 is DECL7S:u2|LED7S[1]~192 at LC_X26_Y10_N4
--operation mode is normal
C1L2 = B1_CQI[3] & (B1_CQI[0] & B1_CQI[1] # !B1_CQI[0] & (B1_CQI[2])) # !B1_CQI[3] & B1_CQI[2] & (B1_CQI[1] $ B1_CQI[0]);
--C1L3 is DECL7S:u2|LED7S[2]~193 at LC_X26_Y10_N9
--operation mode is normal
C1L3 = B1_CQI[3] & B1_CQI[2] & (B1_CQI[1] # !B1_CQI[0]) # !B1_CQI[3] & B1_CQI[1] & !B1_CQI[0] & !B1_CQI[2];
--C1L4 is DECL7S:u2|LED7S[3]~194 at LC_X26_Y10_N3
--operation mode is normal
C1L4 = B1_CQI[1] & (B1_CQI[0] & (B1_CQI[2]) # !B1_CQI[0] & B1_CQI[3] & !B1_CQI[2]) # !B1_CQI[1] & !B1_CQI[3] & (B1_CQI[0] $ B1_CQI[2]);
--C1L5 is DECL7S:u2|LED7S[4]~195 at LC_X26_Y10_N8
--operation mode is normal
C1L5 = B1_CQI[1] & !B1_CQI[3] & B1_CQI[0] # !B1_CQI[1] & (B1_CQI[2] & !B1_CQI[3] # !B1_CQI[2] & (B1_CQI[0]));
--C1L6 is DECL7S:u2|LED7S[5]~196 at LC_X26_Y10_N1
--operation mode is normal
C1L6 = B1_CQI[1] & !B1_CQI[3] & (B1_CQI[0] # !B1_CQI[2]) # !B1_CQI[1] & B1_CQI[0] & (B1_CQI[3] $ !B1_CQI[2]);
--C1L7 is DECL7S:u2|LED7S[6]~197 at LC_X26_Y11_N2
--operation mode is normal
C1L7 = B1_CQI[0] & (B1_CQI[3] # B1_CQI[2] $ B1_CQI[1]) # !B1_CQI[0] & (B1_CQI[1] # B1_CQI[2] $ B1_CQI[3]);
--A1L13 is rtl~20 at LC_X26_Y11_N4
--operation mode is normal
A1L13 = !B1_CQI[2] & B1_CQI[0] & B1_CQI[3] & B1_CQI[1];
--CLK is CLK at PIN_93
--operation mode is input
CLK = INPUT();
--RST is RST at PIN_32
--operation mode is input
RST = INPUT();
--EN is EN at PIN_11
--operation mode is input
EN = INPUT();
--LED7S[0] is LED7S[0] at PIN_85
--operation mode is output
LED7S[0] = OUTPUT(!C1L1);
--LED7S[1] is LED7S[1] at PIN_96
--operation mode is output
LED7S[1] = OUTPUT(!C1L2);
--LED7S[2] is LED7S[2] at PIN_97
--operation mode is output
LED7S[2] = OUTPUT(!C1L3);
--LED7S[3] is LED7S[3] at PIN_98
--operation mode is output
LED7S[3] = OUTPUT(!C1L4);
--LED7S[4] is LED7S[4] at PIN_99
--operation mode is output
LED7S[4] = OUTPUT(!C1L5);
--LED7S[5] is LED7S[5] at PIN_103
--operation mode is output
LED7S[5] = OUTPUT(!C1L6);
--LED7S[6] is LED7S[6] at PIN_105
--operation mode is output
LED7S[6] = OUTPUT(C1L7);
--COUT is COUT at PIN_123
--operation mode is output
COUT = OUTPUT(A1L13);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -