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

📄 seg73.map.eqn

📁 7 段数码管实验(包括两个实验) 7段数码管测试实验1:以动态扫描方式在8位数码管“同时”显示0—7
💻 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.
--cntthird[0] is cntthird[0]
--operation mode is normal

cntthird[0]_lut_out = !cntthird[0];
cntthird[0] = DFFEAS(cntthird[0]_lut_out, second_over, rst, , , , , , );


--en_xhdl[3] is en_xhdl[3]
--operation mode is normal

en_xhdl[3]_lut_out = div_cnt[18] & div_cnt[19];
en_xhdl[3] = DFFEAS(en_xhdl[3]_lut_out, clk, rst, , , , , , );


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

cntlast[0]_lut_out = !cntlast[0];
cntlast[0] = DFFEAS(cntlast[0]_lut_out, third_over, rst, , , , , , );


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

en_xhdl[0]_lut_out = div_cnt[18] # div_cnt[19];
en_xhdl[0] = DFFEAS(en_xhdl[0]_lut_out, clk, rst, , , , , , );


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

en_xhdl[1]_lut_out = !div_cnt[19] & (div_cnt[18]);
en_xhdl[1] = DFFEAS(en_xhdl[1]_lut_out, clk, rst, , , , , , );


--A1L72 is data4[0]~335
--operation mode is normal

A1L72 = en_xhdl[0] & (!en_xhdl[1]);


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

cntfirst[0]_lut_out = !cntfirst[0] & !last_over;
cntfirst[0] = DFFEAS(cntfirst[0]_lut_out, div_cnt[24], rst, , , , , , );


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

cntsecond[0]_lut_out = !cntsecond[0];
cntsecond[0] = DFFEAS(cntsecond[0]_lut_out, first_over, rst, , , , , , );


--en_xhdl[2] is en_xhdl[2]
--operation mode is normal

en_xhdl[2]_lut_out = !div_cnt[18] & (div_cnt[19]);
en_xhdl[2] = DFFEAS(en_xhdl[2]_lut_out, clk, rst, , , , , , );


--A1L82 is data4[0]~336
--operation mode is normal

A1L82 = cntsecond[0] & (!en_xhdl[3] & !en_xhdl[2]);


--A1L92 is data4[0]~337
--operation mode is normal

A1L92 = en_xhdl[1] & en_xhdl[0] # !en_xhdl[1] & !en_xhdl[0] & !en_xhdl[3] & !en_xhdl[2];


--A1L03 is data4[0]~338
--operation mode is normal

A1L03 = en_xhdl[0] & (en_xhdl[1] # !en_xhdl[2]);


--A1L13 is data4[0]~339
--operation mode is normal

A1L13 = A1L92 & (A1L03 & (A1L82) # !A1L03 & cntfirst[0]) # !A1L92 & (A1L03);


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

cntthird[1]_lut_out = cntthird[1] & (!cntthird[0]) # !cntthird[1] & cntthird[0] & (cntthird[2] # !cntthird[3]);
cntthird[1] = DFFEAS(cntthird[1]_lut_out, second_over, rst, , , , , , );


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

cntlast[1]_lut_out = cntlast[1] & (!cntlast[0]) # !cntlast[1] & cntlast[0] & (cntlast[2] # !cntlast[3]);
cntlast[1] = DFFEAS(cntlast[1]_lut_out, third_over, rst, , , , , , );


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

cntfirst[1]_lut_out = !A1L421 & (cntfirst[0] $ cntfirst[1]);
cntfirst[1] = DFFEAS(cntfirst[1]_lut_out, div_cnt[24], rst, , , , , , );


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

cntsecond[1]_lut_out = cntsecond[1] & (!cntsecond[0]) # !cntsecond[1] & cntsecond[0] & (cntsecond[2] # !cntsecond[3]);
cntsecond[1] = DFFEAS(cntsecond[1]_lut_out, first_over, rst, , , , , , );


--A1L43 is data4[1]~340
--operation mode is normal

A1L43 = en_xhdl[3] # en_xhdl[2] # cntsecond[1];


--A1L53 is data4[1]~341
--operation mode is normal

A1L53 = A1L92 & (A1L03 & (A1L43) # !A1L03 & cntfirst[1]) # !A1L92 & (!A1L03);


--cntthird[2] is cntthird[2]
--operation mode is normal

cntthird[2]_lut_out = !cntthird[2];
cntthird[2] = DFFEAS(cntthird[2]_lut_out, second_over, rst, , A1L1, , , , );


--cntlast[2] is cntlast[2]
--operation mode is normal

cntlast[2]_lut_out = !cntlast[2];
cntlast[2] = DFFEAS(cntlast[2]_lut_out, third_over, rst, , A1L2, , , , );


--cntfirst[2] is cntfirst[2]
--operation mode is normal

cntfirst[2]_lut_out = !A1L421 & (cntfirst[2] $ (cntfirst[0] & cntfirst[1]));
cntfirst[2] = DFFEAS(cntfirst[2]_lut_out, div_cnt[24], rst, , , , , , );


--cntsecond[2] is cntsecond[2]
--operation mode is normal

cntsecond[2]_lut_out = !cntsecond[2];
cntsecond[2] = DFFEAS(cntsecond[2]_lut_out, first_over, rst, , A1L4, , , , );


--A1L83 is data4[2]~342
--operation mode is normal

A1L83 = cntsecond[2] & (!en_xhdl[3] & !en_xhdl[2]);


--A1L93 is data4[2]~343
--operation mode is normal

A1L93 = A1L92 & (A1L03 & (A1L83) # !A1L03 & cntfirst[2]) # !A1L92 & (A1L03);


--cntthird[3] is cntthird[3]
--operation mode is normal

cntthird[3]_lut_out = cntthird[3] & (cntthird[1] $ cntthird[2] # !cntthird[0]) # !cntthird[3] & cntthird[1] & cntthird[2] & cntthird[0];
cntthird[3] = DFFEAS(cntthird[3]_lut_out, second_over, rst, , , , , , );


--cntlast[3] is cntlast[3]
--operation mode is normal

cntlast[3]_lut_out = cntlast[3] & (cntlast[1] $ cntlast[2] # !cntlast[0]) # !cntlast[3] & cntlast[1] & cntlast[2] & cntlast[0];
cntlast[3] = DFFEAS(cntlast[3]_lut_out, third_over, rst, , , , , , );


--cntfirst[3] is cntfirst[3]
--operation mode is normal

cntfirst[3]_lut_out = !A1L421 & (cntfirst[3] $ (cntfirst[2] & A1L3));
cntfirst[3] = DFFEAS(cntfirst[3]_lut_out, div_cnt[24], rst, , , , , , );


--cntsecond[3] is cntsecond[3]
--operation mode is normal

cntsecond[3]_lut_out = cntsecond[3] & (cntsecond[1] $ cntsecond[2] # !cntsecond[0]) # !cntsecond[3] & cntsecond[1] & cntsecond[2] & cntsecond[0];
cntsecond[3] = DFFEAS(cntsecond[3]_lut_out, first_over, rst, , , , , , );


--A1L24 is data4[3]~344
--operation mode is normal

A1L24 = en_xhdl[3] # en_xhdl[2] # cntsecond[3];


--A1L34 is data4[3]~345
--operation mode is normal

A1L34 = A1L92 & (A1L03 & (A1L24) # !A1L03 & cntfirst[3]) # !A1L92 & (!A1L03);


--A1L711 is Mux~188
--operation mode is normal

A1L711 = A1L33 & (A1L54 # A1L73 $ A1L14) # !A1L33 & (A1L73 # A1L14 $ A1L54);


--A1L811 is Mux~189
--operation mode is normal

A1L811 = A1L33 & (A1L54 $ (A1L73 # !A1L14)) # !A1L33 & A1L73 & !A1L14 & !A1L54;


--A1L911 is Mux~190
--operation mode is normal

A1L911 = A1L73 & A1L33 & (!A1L54) # !A1L73 & (A1L14 & (!A1L54) # !A1L14 & A1L33);


--A1L021 is Mux~191
--operation mode is normal

A1L021 = A1L33 & (A1L73 $ !A1L14) # !A1L33 & (A1L73 & !A1L14 & A1L54 # !A1L73 & A1L14 & !A1L54);


--A1L121 is Mux~192
--operation mode is normal

A1L121 = A1L14 & A1L54 & (A1L73 # !A1L33) # !A1L14 & !A1L33 & A1L73 & !A1L54;


--A1L221 is Mux~193
--operation mode is normal

A1L221 = A1L73 & (A1L33 & (A1L54) # !A1L33 & A1L14) # !A1L73 & A1L14 & (A1L33 $ A1L54);


--A1L321 is Mux~194
--operation mode is normal

A1L321 = A1L14 & !A1L73 & (A1L33 $ !A1L54) # !A1L14 & A1L33 & (A1L73 $ !A1L54);


--second_over is second_over
--operation mode is normal

second_over_lut_out = !cntsecond[1] & !cntsecond[2] & cntsecond[0] & cntsecond[3];
second_over = DFFEAS(second_over_lut_out, first_over, rst, , , , , , );


--div_cnt[18] is div_cnt[18]
--operation mode is arithmetic

div_cnt[18]_carry_eqn = A1L19;
div_cnt[18]_lut_out = div_cnt[18] $ (!div_cnt[18]_carry_eqn);
div_cnt[18] = DFFEAS(div_cnt[18]_lut_out, clk, rst, , , , , , );

--A1L39 is div_cnt[18]~208
--operation mode is arithmetic

A1L39 = CARRY(div_cnt[18] & (!A1L19));


--div_cnt[19] is div_cnt[19]
--operation mode is arithmetic

div_cnt[19]_carry_eqn = A1L39;
div_cnt[19]_lut_out = div_cnt[19] $ (div_cnt[19]_carry_eqn);
div_cnt[19] = DFFEAS(div_cnt[19]_lut_out, clk, rst, , , , , , );

--A1L59 is div_cnt[19]~212
--operation mode is arithmetic

A1L59 = CARRY(!A1L39 # !div_cnt[19]);


--third_over is third_over
--operation mode is normal

third_over_lut_out = !cntthird[1] & !cntthird[2] & cntthird[0] & cntthird[3];
third_over = DFFEAS(third_over_lut_out, second_over, rst, , , , , , );


--last_over is last_over
--operation mode is normal

last_over_lut_out = !cntlast[1] & !cntlast[2] & cntlast[0] & cntlast[3];
last_over = DFFEAS(last_over_lut_out, third_over, rst, , , , , , );


--div_cnt[24] is div_cnt[24]
--operation mode is normal

div_cnt[24]_carry_eqn = A1L301;
div_cnt[24]_lut_out = div_cnt[24] $ (!div_cnt[24]_carry_eqn);
div_cnt[24] = DFFEAS(div_cnt[24]_lut_out, clk, rst, , , , , , );


--first_over is first_over
--operation mode is normal

first_over_lut_out = A1L421;
first_over = DFFEAS(first_over_lut_out, div_cnt[24], rst, , , , , , );


--A1L11 is cntfirst[3]~169
--operation mode is normal

A1L11 = cntfirst[0] & (!cntfirst[1]);


--A1L421 is process1~0
--operation mode is normal

A1L421 = last_over # cntfirst[3] & A1L11 & !cntfirst[2];


--A1L1 is add~647
--operation mode is normal

A1L1 = cntthird[0] & cntthird[1];


--A1L2 is add~648
--operation mode is normal

A1L2 = cntlast[0] & cntlast[1];


--A1L3 is add~649
--operation mode is normal

A1L3 = cntfirst[0] & cntfirst[1];


--A1L4 is add~650
--operation mode is normal

A1L4 = cntsecond[0] & cntsecond[1];


--div_cnt[17] is div_cnt[17]
--operation mode is arithmetic

div_cnt[17]_carry_eqn = A1L98;
div_cnt[17]_lut_out = div_cnt[17] $ (div_cnt[17]_carry_eqn);
div_cnt[17] = DFFEAS(div_cnt[17]_lut_out, clk, rst, , , , , , );

--A1L19 is div_cnt[17]~220
--operation mode is arithmetic

A1L19 = CARRY(!A1L98 # !div_cnt[17]);


--div_cnt[23] is div_cnt[23]
--operation mode is arithmetic

div_cnt[23]_carry_eqn = A1L101;
div_cnt[23]_lut_out = div_cnt[23] $ (div_cnt[23]_carry_eqn);
div_cnt[23] = DFFEAS(div_cnt[23]_lut_out, clk, rst, , , , , , );

--A1L301 is div_cnt[23]~224
--operation mode is arithmetic

A1L301 = CARRY(!A1L101 # !div_cnt[23]);


--div_cnt[16] is div_cnt[16]
--operation mode is arithmetic

div_cnt[16]_carry_eqn = A1L78;

⌨️ 快捷键说明

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