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

📄 clock.fit.eqn

📁 这是一个实现时分秒的时钟功能的源码
💻 EQN
📖 第 1 页 / 共 2 页
字号:
-- 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_count[0] is counter10:u1|count[0] at LC_X6_Y8_N8
--operation mode is normal

B1_count[0]_lut_out = !B1_count[0];
B1_count[0] = DFFEAS(B1_count[0]_lut_out, GLOBAL(clk), VCC, , , dins[0], !GLOBAL(reset), , );


--B1_count[2] is counter10:u1|count[2] at LC_X6_Y8_N3
--operation mode is normal

B1_count[2]_lut_out = B1_count[2] $ (B1_count[0] & B1_count[1]);
B1_count[2] = DFFEAS(B1_count[2]_lut_out, GLOBAL(clk), VCC, , , dins[2], !GLOBAL(reset), , );


--E1L1 is decoder:u6|dout[0]~161 at LC_X6_Y8_N9
--operation mode is normal

E1L1 = B1_count[1] & !B1_count[3] & (!B1_count[2] # !B1_count[0]) # !B1_count[1] & (B1_count[3] $ (B1_count[2]));


--E1L2 is decoder:u6|dout[1]~162 at LC_X6_Y8_N7
--operation mode is normal

E1L2 = B1_count[0] & (B1_count[1] # B1_count[3] $ !B1_count[2]) # !B1_count[0] & (B1_count[2] & B1_count[3] # !B1_count[2] & (B1_count[1]));


--E1L3 is decoder:u6|dout[2]~163 at LC_X6_Y8_N2
--operation mode is normal

E1L3 = B1_count[0] # B1_count[1] & B1_count[3] # !B1_count[1] & (B1_count[2]);


--E1L4 is decoder:u6|dout[3]~164 at LC_X6_Y8_N0
--operation mode is normal

E1L4 = B1_count[1] & (B1_count[3] # B1_count[0] & B1_count[2]) # !B1_count[1] & (B1_count[2] $ (!B1_count[3] & B1_count[0]));


--E1L5 is decoder:u6|dout[4]~165 at LC_X6_Y8_N1
--operation mode is normal

E1L5 = B1_count[2] & B1_count[3] # !B1_count[2] & B1_count[1] & (B1_count[3] # !B1_count[0]);


--E1L6 is decoder:u6|dout[5]~166 at LC_X5_Y8_N4
--operation mode is normal

E1L6 = B1_count[3] & (B1_count[1] # B1_count[2]) # !B1_count[3] & B1_count[2] & (B1_count[0] $ B1_count[1]);


--E1L7 is decoder:u6|dout[6]~167 at LC_X5_Y8_N2
--operation mode is normal

E1L7 = B1_count[1] & (B1_count[3]) # !B1_count[1] & (B1_count[2] $ (B1_count[0] & !B1_count[3]));


--C1_count[0] is counter6:u2|count[0] at LC_X31_Y18_N5
--operation mode is normal

C1_count[0]_lut_out = !C1_count[0];
C1_count[0] = DFFEAS(C1_count[0]_lut_out, GLOBAL(B1_c), VCC, , , dins[4], !GLOBAL(reset), , );


--C1_count[1] is counter6:u2|count[1] at LC_X31_Y18_N4
--operation mode is normal

C1_count[1]_lut_out = C1_count[0] & !C1_count[1] & (!C1_count[2]) # !C1_count[0] & C1_count[1];
C1_count[1] = DFFEAS(C1_count[1]_lut_out, GLOBAL(B1_c), VCC, , , dins[5], !GLOBAL(reset), , );


--C1_count[2] is counter6:u2|count[2] at LC_X31_Y18_N3
--operation mode is normal

C1_count[2]_lut_out = C1_count[0] & C1_count[1] & (!C1_count[2]) # !C1_count[0] & (C1_count[2]);
C1_count[2] = DFFEAS(C1_count[2]_lut_out, GLOBAL(B1_c), VCC, , , dins[6], !GLOBAL(reset), , );


--E2L1 is decoder:u7|dout[0]~272 at LC_X31_Y18_N1
--operation mode is normal

E2L1 = C1_count[1] & C1_count[0] & C1_count[2] # !C1_count[1] & (!C1_count[2]);


--E2L2 is decoder:u7|dout[1]~273 at LC_X31_Y18_N7
--operation mode is normal

E2L2 = C1_count[0] & (C1_count[1] # !C1_count[2]) # !C1_count[0] & C1_count[1] & !C1_count[2];


--E2L3 is decoder:u7|dout[2]~274 at LC_X31_Y18_N9
--operation mode is normal

E2L3 = C1_count[0] # !C1_count[1] & C1_count[2];


--E2L4 is decoder:u7|dout[3]~275 at LC_X31_Y18_N6
--operation mode is normal

E2L4 = C1_count[0] & (C1_count[1] $ !C1_count[2]) # !C1_count[0] & !C1_count[1] & C1_count[2];


--E2L5 is decoder:u7|dout[4]~276 at LC_X31_Y18_N2
--operation mode is normal

E2L5 = !C1_count[0] & C1_count[1] & !C1_count[2];


--E2L6 is decoder:u7|dout[5]~277 at LC_X31_Y18_N0
--operation mode is normal

E2L6 = C1_count[0] $ !C1_count[1] # !C1_count[2];


--E2L7 is decoder:u7|dout[6]~278 at LC_X31_Y17_N2
--operation mode is normal

E2L7 = !C1_count[1] & (C1_count[0] $ C1_count[2]);


--B2_count[0] is counter10:u3|count[0] at LC_X22_Y11_N8
--operation mode is normal

B2_count[0]_lut_out = !B2_count[0];
B2_count[0] = DFFEAS(B2_count[0]_lut_out, GLOBAL(C1_c), VCC, , , dinm[0], !GLOBAL(reset), , );


--B2_count[2] is counter10:u3|count[2] at LC_X22_Y11_N0
--operation mode is normal

B2_count[2]_lut_out = B2_count[2] $ (B2_count[0] & (B2_count[1]));
B2_count[2] = DFFEAS(B2_count[2]_lut_out, GLOBAL(C1_c), VCC, , , dinm[2], !GLOBAL(reset), , );


--E3L1 is decoder:u8|dout[0]~161 at LC_X22_Y11_N2
--operation mode is normal

E3L1 = B2_count[2] & !B2_count[3] & (!B2_count[0] # !B2_count[1]) # !B2_count[2] & (B2_count[1] $ (B2_count[3]));


--E3L2 is decoder:u8|dout[1]~162 at LC_X22_Y11_N1
--operation mode is normal

E3L2 = B2_count[2] & (B2_count[3] # B2_count[1] & B2_count[0]) # !B2_count[2] & (B2_count[1] # B2_count[0] & !B2_count[3]);


--E3L3 is decoder:u8|dout[2]~163 at LC_X22_Y11_N9
--operation mode is normal

E3L3 = B2_count[0] # B2_count[1] & (B2_count[3]) # !B2_count[1] & B2_count[2];


--E3L4 is decoder:u8|dout[3]~164 at LC_X22_Y11_N4
--operation mode is normal

E3L4 = B2_count[1] & (B2_count[3] # B2_count[2] & B2_count[0]) # !B2_count[1] & (B2_count[2] $ (B2_count[0] & !B2_count[3]));


--E3L5 is decoder:u8|dout[4]~165 at LC_X22_Y11_N6
--operation mode is normal

E3L5 = B2_count[2] & (B2_count[3]) # !B2_count[2] & B2_count[1] & (B2_count[3] # !B2_count[0]);


--E3L6 is decoder:u8|dout[5]~166 at LC_X21_Y11_N4
--operation mode is normal

E3L6 = B2_count[2] & (B2_count[3] # B2_count[0] $ B2_count[1]) # !B2_count[2] & (B2_count[1] & B2_count[3]);


--E3L7 is decoder:u8|dout[6]~167 at LC_X21_Y11_N2
--operation mode is normal

E3L7 = B2_count[1] & (B2_count[3]) # !B2_count[1] & (B2_count[2] $ (B2_count[0] & !B2_count[3]));


--C2_count[0] is counter6:u4|count[0] at LC_X28_Y9_N5
--operation mode is normal

C2_count[0]_lut_out = !C2_count[0];
C2_count[0] = DFFEAS(C2_count[0]_lut_out, GLOBAL(B2_c), VCC, , , dinm[4], !GLOBAL(reset), , );


--C2_count[1] is counter6:u4|count[1] at LC_X28_Y9_N7
--operation mode is normal

C2_count[1]_lut_out = C2_count[1] & !C2_count[0] # !C2_count[1] & C2_count[0] & (!C2_count[2]);
C2_count[1] = DFFEAS(C2_count[1]_lut_out, GLOBAL(B2_c), VCC, , , dinm[5], !GLOBAL(reset), , );


--C2_count[2] is counter6:u4|count[2] at LC_X28_Y9_N3
--operation mode is normal

C2_count[2]_lut_out = C2_count[0] & C2_count[1] & (!C2_count[2]) # !C2_count[0] & (C2_count[2]);
C2_count[2] = DFFEAS(C2_count[2]_lut_out, GLOBAL(B2_c), VCC, , , dinm[6], !GLOBAL(reset), , );


--E4L1 is decoder:u9|dout[0]~272 at LC_X28_Y9_N1
--operation mode is normal

E4L1 = C2_count[1] & C2_count[0] & C2_count[2] # !C2_count[1] & (!C2_count[2]);


--E4L2 is decoder:u9|dout[1]~273 at LC_X28_Y9_N6
--operation mode is normal

E4L2 = C2_count[0] & (C2_count[1] # !C2_count[2]) # !C2_count[0] & C2_count[1] & !C2_count[2];


--E4L3 is decoder:u9|dout[2]~274 at LC_X28_Y9_N0
--operation mode is normal

E4L3 = C2_count[0] # !C2_count[1] & C2_count[2];


--E4L4 is decoder:u9|dout[3]~275 at LC_X28_Y9_N8
--operation mode is normal

E4L4 = C2_count[0] & (C2_count[1] $ !C2_count[2]) # !C2_count[0] & !C2_count[1] & C2_count[2];


--E4L5 is decoder:u9|dout[4]~276 at LC_X28_Y9_N2
--operation mode is normal

E4L5 = !C2_count[0] & C2_count[1] & !C2_count[2];


--E4L6 is decoder:u9|dout[5]~277 at LC_X28_Y9_N9
--operation mode is normal

E4L6 = C2_count[0] $ !C2_count[1] # !C2_count[2];


--E4L7 is decoder:u9|dout[6]~278 at LC_X28_Y13_N2
--operation mode is normal

E4L7 = !C2_count[1] & (C2_count[0] $ C2_count[2]);


--D1_count[4] is counter24:u5|count[4] at LC_X10_Y13_N5
--operation mode is normal

D1_count[4]_lut_out = A1L60 $ D1_count[4];
D1_count[4] = DFFEAS(D1_count[4]_lut_out, GLOBAL(C2_c), VCC, , , dinh[4], !GLOBAL(reset), , );


--E6L1 is decoder:u11|dout[1]~72 at LC_X24_Y1_N4
--operation mode is normal

E6L1 = D1_count[5] # D1_count[4];


--E6L2 is decoder:u11|dout[6]~73 at LC_X24_Y1_N2
--operation mode is normal

E6L2 = !D1_count[5] & D1_count[4];


--A1L59 is rtl~129 at LC_X10_Y13_N0
--operation mode is normal

A1L59 = D1_count[5] & !D1_count[4];


--D1_count[0] is counter24:u5|count[0] at LC_X9_Y13_N3
--operation mode is normal

D1_count[0]_lut_out = !D1_count[0];
D1_count[0] = DFFEAS(D1_count[0]_lut_out, GLOBAL(C2_c), VCC, , , dinh[0], !GLOBAL(reset), , );


--D1_count[1] is counter24:u5|count[1] at LC_X10_Y13_N9
--operation mode is normal

D1_count[1]_lut_out = D1L10 & (D1_count[0] $ D1_count[1]);
D1_count[1] = DFFEAS(D1_count[1]_lut_out, GLOBAL(C2_c), VCC, , , dinh[1], !GLOBAL(reset), , );


--E5L1 is decoder:u10|dout[0]~161 at LC_X9_Y13_N4
--operation mode is normal

E5L1 = D1_count[1] & !D1_count[3] & (!D1_count[2] # !D1_count[0]) # !D1_count[1] & (D1_count[3] $ (D1_count[2]));


--E5L2 is decoder:u10|dout[1]~162 at LC_X9_Y13_N6
--operation mode is normal

E5L2 = D1_count[0] & (D1_count[1] # D1_count[3] $ !D1_count[2]) # !D1_count[0] & (D1_count[2] & D1_count[3] # !D1_count[2] & (D1_count[1]));


--E5L3 is decoder:u10|dout[2]~163 at LC_X9_Y13_N2
--operation mode is normal

E5L3 = D1_count[0] # D1_count[1] & D1_count[3] # !D1_count[1] & (D1_count[2]);


--E5L4 is decoder:u10|dout[3]~164 at LC_X9_Y13_N8
--operation mode is normal

E5L4 = D1_count[1] & (D1_count[3] # D1_count[0] & D1_count[2]) # !D1_count[1] & (D1_count[2] $ (!D1_count[3] & D1_count[0]));


--E5L5 is decoder:u10|dout[4]~165 at LC_X9_Y13_N9
--operation mode is normal

E5L5 = D1_count[2] & D1_count[3] # !D1_count[2] & D1_count[1] & (D1_count[3] # !D1_count[0]);


--E5L6 is decoder:u10|dout[5]~166 at LC_X9_Y13_N1
--operation mode is normal

E5L6 = D1_count[3] & (D1_count[1] # D1_count[2]) # !D1_count[3] & D1_count[2] & (D1_count[0] $ D1_count[1]);


--E5L7 is decoder:u10|dout[6]~167 at LC_X9_Y13_N5
--operation mode is normal

E5L7 = D1_count[1] & D1_count[3] # !D1_count[1] & (D1_count[2] $ (!D1_count[3] & D1_count[0]));


--B1_count[1] is counter10:u1|count[1] at LC_X6_Y8_N4
--operation mode is normal

B1_count[1]_qfbk = B1_count[1];
B1_count[1]_lut_out = B1_count[0] & !B1_count[1]_qfbk & (B1_count[2] # !B1_count[3]) # !B1_count[0] & (B1_count[1]_qfbk);
B1_count[1] = DFFEAS(B1_count[1]_lut_out, GLOBAL(clk), VCC, , , dins[1], !GLOBAL(reset), , );


--B1_count[3] is counter10:u1|count[3] at LC_X6_Y8_N5
--operation mode is normal

B1_count[3]_qfbk = B1_count[3];
B1_count[3]_lut_out = B1_count[0] & (B1_count[1] & (B1_count[3]_qfbk $ B1_count[2]) # !B1_count[1] & B1_count[3]_qfbk & B1_count[2]) # !B1_count[0] & (B1_count[3]_qfbk);
B1_count[3] = DFFEAS(B1_count[3]_lut_out, GLOBAL(clk), VCC, , , dins[3], !GLOBAL(reset), , );


--B1_c is counter10:u1|c at LC_X6_Y8_N6
--operation mode is normal

B1_c_lut_out = B1_count[3] & B1_count[0] & !B1_count[1] & !B1_count[2];
B1_c = DFFEAS(B1_c_lut_out, GLOBAL(clk), GLOBAL(reset), , , , , , );


--C1_c is counter6:u2|c at LC_X31_Y18_N8
--operation mode is normal

C1_c_lut_out = C1_count[0] & !C1_count[1] & C1_count[2];
C1_c = DFFEAS(C1_c_lut_out, GLOBAL(B1_c), GLOBAL(reset), , , , , , );


--B2_count[1] is counter10:u3|count[1] at LC_X22_Y11_N5
--operation mode is normal

B2_count[1]_qfbk = B2_count[1];
B2_count[1]_lut_out = B2_count[0] & !B2_count[1]_qfbk & (B2_count[2] # !B2_count[3]) # !B2_count[0] & (B2_count[1]_qfbk);
B2_count[1] = DFFEAS(B2_count[1]_lut_out, GLOBAL(C1_c), VCC, , , dinm[1], !GLOBAL(reset), , );


--B2_count[3] is counter10:u3|count[3] at LC_X22_Y11_N3
--operation mode is normal

B2_count[3]_qfbk = B2_count[3];
B2_count[3]_lut_out = B2_count[0] & (B2_count[2] & (B2_count[3]_qfbk $ B2_count[1]) # !B2_count[2] & B2_count[3]_qfbk & B2_count[1]) # !B2_count[0] & (B2_count[3]_qfbk);
B2_count[3] = DFFEAS(B2_count[3]_lut_out, GLOBAL(C1_c), VCC, , , dinm[3], !GLOBAL(reset), , );


--B2_c is counter10:u3|c at LC_X22_Y11_N7
--operation mode is normal

B2_c_lut_out = !B2_count[2] & !B2_count[1] & B2_count[0] & B2_count[3];
B2_c = DFFEAS(B2_c_lut_out, GLOBAL(C1_c), GLOBAL(reset), , , , , , );


--A1L60 is rtl~130 at LC_X10_Y13_N7
--operation mode is normal

A1L60 = D1_count[0] & !D1_count[1] & D1_count[3] & !D1_count[2];


--A1L61 is rtl~131 at LC_X10_Y13_N2
--operation mode is normal

A1L61 = !D1_count[2] & D1_count[0];


--A1L58 is rtl~4 at LC_X10_Y13_N6
--operation mode is normal

A1L58 = A1L61 & D1_count[1] & !D1_count[3] & A1L59;


--D1_count[5] is counter24:u5|count[5] at LC_X10_Y13_N4
--operation mode is normal

D1_count[5]_qfbk = D1_count[5];
D1_count[5]_lut_out = !A1L58 & (D1_count[5]_qfbk $ (A1L60 & D1_count[4]));
D1_count[5] = DFFEAS(D1_count[5]_lut_out, GLOBAL(C2_c), VCC, , , dinh[5], !GLOBAL(reset), , );


--C2_c is counter6:u4|c at LC_X28_Y9_N4
--operation mode is normal

C2_c_lut_out = C2_count[0] & !C2_count[1] & C2_count[2];
C2_c = DFFEAS(C2_c_lut_out, GLOBAL(B2_c), GLOBAL(reset), , , , , , );

⌨️ 快捷键说明

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