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

📄 seg73.map.eqn

📁 递增方式在4位数码管上向上计数显示从0000-0001->0002……..9999….0000….0001…. -- 利用CPLD设计了一个4位十进制计数器
💻 EQN
📖 第 1 页 / 共 2 页
字号:
--div_cnt[22] is div_cnt[22]
--operation mode is arithmetic

div_cnt[22]_carry_eqn = A1L95;
div_cnt[22]_lut_out = div_cnt[22] $ (!div_cnt[22]_carry_eqn);
div_cnt[22] = DFFEAS(div_cnt[22]_lut_out, clk, rst, , , , , , );

--A1L97 is div_cnt[22]~232
--operation mode is arithmetic

A1L97 = CARRY(div_cnt[22] & (!A1L95));


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

div_cnt[15]_carry_eqn = A1L81;
div_cnt[15]_lut_out = div_cnt[15] $ (div_cnt[15]_carry_eqn);
div_cnt[15] = DFFEAS(div_cnt[15]_lut_out, clk, rst, , , , , , );

--A1L83 is div_cnt[15]~236
--operation mode is arithmetic

A1L83 = CARRY(!A1L81 # !div_cnt[15]);


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

div_cnt[21]_carry_eqn = A1L93;
div_cnt[21]_lut_out = div_cnt[21] $ (div_cnt[21]_carry_eqn);
div_cnt[21] = DFFEAS(div_cnt[21]_lut_out, clk, rst, , , , , , );

--A1L95 is div_cnt[21]~240
--operation mode is arithmetic

A1L95 = CARRY(!A1L93 # !div_cnt[21]);


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

div_cnt[14]_carry_eqn = A1L79;
div_cnt[14]_lut_out = div_cnt[14] $ (!div_cnt[14]_carry_eqn);
div_cnt[14] = DFFEAS(div_cnt[14]_lut_out, clk, rst, , , , , , );

--A1L81 is div_cnt[14]~244
--operation mode is arithmetic

A1L81 = CARRY(div_cnt[14] & (!A1L79));


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

div_cnt[20]_carry_eqn = A1L91;
div_cnt[20]_lut_out = div_cnt[20] $ (!div_cnt[20]_carry_eqn);
div_cnt[20] = DFFEAS(div_cnt[20]_lut_out, clk, rst, , , , , , );

--A1L93 is div_cnt[20]~248
--operation mode is arithmetic

A1L93 = CARRY(div_cnt[20] & (!A1L91));


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

div_cnt[13]_carry_eqn = A1L77;
div_cnt[13]_lut_out = div_cnt[13] $ (div_cnt[13]_carry_eqn);
div_cnt[13] = DFFEAS(div_cnt[13]_lut_out, clk, rst, , , , , , );

--A1L79 is div_cnt[13]~252
--operation mode is arithmetic

A1L79 = CARRY(!A1L77 # !div_cnt[13]);


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

div_cnt[12]_carry_eqn = A1L75;
div_cnt[12]_lut_out = div_cnt[12] $ (!div_cnt[12]_carry_eqn);
div_cnt[12] = DFFEAS(div_cnt[12]_lut_out, clk, rst, , , , , , );

--A1L77 is div_cnt[12]~256
--operation mode is arithmetic

A1L77 = CARRY(div_cnt[12] & (!A1L75));


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

div_cnt[11]_carry_eqn = A1L73;
div_cnt[11]_lut_out = div_cnt[11] $ (div_cnt[11]_carry_eqn);
div_cnt[11] = DFFEAS(div_cnt[11]_lut_out, clk, rst, , , , , , );

--A1L75 is div_cnt[11]~260
--operation mode is arithmetic

A1L75 = CARRY(!A1L73 # !div_cnt[11]);


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

div_cnt[10]_carry_eqn = A1L71;
div_cnt[10]_lut_out = div_cnt[10] $ (!div_cnt[10]_carry_eqn);
div_cnt[10] = DFFEAS(div_cnt[10]_lut_out, clk, rst, , , , , , );

--A1L73 is div_cnt[10]~264
--operation mode is arithmetic

A1L73 = CARRY(div_cnt[10] & (!A1L71));


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

div_cnt[9]_carry_eqn = A1L69;
div_cnt[9]_lut_out = div_cnt[9] $ (div_cnt[9]_carry_eqn);
div_cnt[9] = DFFEAS(div_cnt[9]_lut_out, clk, rst, , , , , , );

--A1L71 is div_cnt[9]~268
--operation mode is arithmetic

A1L71 = CARRY(!A1L69 # !div_cnt[9]);


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

div_cnt[8]_carry_eqn = A1L67;
div_cnt[8]_lut_out = div_cnt[8] $ (!div_cnt[8]_carry_eqn);
div_cnt[8] = DFFEAS(div_cnt[8]_lut_out, clk, rst, , , , , , );

--A1L69 is div_cnt[8]~272
--operation mode is arithmetic

A1L69 = CARRY(div_cnt[8] & (!A1L67));


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

div_cnt[7]_carry_eqn = A1L65;
div_cnt[7]_lut_out = div_cnt[7] $ (div_cnt[7]_carry_eqn);
div_cnt[7] = DFFEAS(div_cnt[7]_lut_out, clk, rst, , , , , , );

--A1L67 is div_cnt[7]~276
--operation mode is arithmetic

A1L67 = CARRY(!A1L65 # !div_cnt[7]);


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

div_cnt[6]_carry_eqn = A1L63;
div_cnt[6]_lut_out = div_cnt[6] $ (!div_cnt[6]_carry_eqn);
div_cnt[6] = DFFEAS(div_cnt[6]_lut_out, clk, rst, , , , , , );

--A1L65 is div_cnt[6]~280
--operation mode is arithmetic

A1L65 = CARRY(div_cnt[6] & (!A1L63));


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

div_cnt[5]_carry_eqn = A1L61;
div_cnt[5]_lut_out = div_cnt[5] $ (div_cnt[5]_carry_eqn);
div_cnt[5] = DFFEAS(div_cnt[5]_lut_out, clk, rst, , , , , , );

--A1L63 is div_cnt[5]~284
--operation mode is arithmetic

A1L63 = CARRY(!A1L61 # !div_cnt[5]);


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

div_cnt[4]_carry_eqn = A1L59;
div_cnt[4]_lut_out = div_cnt[4] $ (!div_cnt[4]_carry_eqn);
div_cnt[4] = DFFEAS(div_cnt[4]_lut_out, clk, rst, , , , , , );

--A1L61 is div_cnt[4]~288
--operation mode is arithmetic

A1L61 = CARRY(div_cnt[4] & (!A1L59));


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

div_cnt[3]_carry_eqn = A1L57;
div_cnt[3]_lut_out = div_cnt[3] $ (div_cnt[3]_carry_eqn);
div_cnt[3] = DFFEAS(div_cnt[3]_lut_out, clk, rst, , , , , , );

--A1L59 is div_cnt[3]~292
--operation mode is arithmetic

A1L59 = CARRY(!A1L57 # !div_cnt[3]);


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

div_cnt[2]_carry_eqn = A1L55;
div_cnt[2]_lut_out = div_cnt[2] $ (!div_cnt[2]_carry_eqn);
div_cnt[2] = DFFEAS(div_cnt[2]_lut_out, clk, rst, , , , , , );

--A1L57 is div_cnt[2]~296
--operation mode is arithmetic

A1L57 = CARRY(div_cnt[2] & (!A1L55));


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

div_cnt[1]_carry_eqn = A1L53;
div_cnt[1]_lut_out = div_cnt[1] $ (div_cnt[1]_carry_eqn);
div_cnt[1] = DFFEAS(div_cnt[1]_lut_out, clk, rst, , , , , , );

--A1L55 is div_cnt[1]~300
--operation mode is arithmetic

A1L55 = CARRY(!A1L53 # !div_cnt[1]);


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

div_cnt[0]_lut_out = !div_cnt[0];
div_cnt[0] = DFFEAS(div_cnt[0]_lut_out, clk, rst, , , , , , );

--A1L53 is div_cnt[0]~304
--operation mode is arithmetic

A1L53 = CARRY(div_cnt[0]);


--A1L40 is data4[3]~373
--operation mode is normal

A1L40 = A1L39 & (en_xhdl[3] # !A1L23) # !A1L39 & A1L23 & (cntlast[3] # !en_xhdl[3]);


--A1L41 is data4[3]~374
--operation mode is normal

A1L41 = A1L40 # A1L39 & cntthird[3];


--A1L36 is data4[2]~375
--operation mode is normal

A1L36 = A1L35 & (!A1L23) # !A1L35 & cntthird[2] & A1L23;


--A1L37 is data4[2]~376
--operation mode is normal

A1L37 = en_xhdl[3] & A1L35 & (cntlast[2] # A1L36) # !en_xhdl[3] & (A1L36);


--A1L32 is data4[1]~377
--operation mode is normal

A1L32 = A1L31 & (en_xhdl[3] # !A1L23) # !A1L31 & A1L23 & (cntlast[1] # !en_xhdl[3]);


--A1L33 is data4[1]~378
--operation mode is normal

A1L33 = A1L32 # A1L31 & cntthird[1];


--A1L28 is data4[0]~379
--operation mode is normal

A1L28 = A1L27 & (!A1L23) # !A1L27 & cntthird[0] & A1L23;


--A1L29 is data4[0]~380
--operation mode is normal

A1L29 = en_xhdl[3] & A1L27 & (cntlast[0] # A1L28) # !en_xhdl[3] & (A1L28);


--rst is rst
--operation mode is input

rst = INPUT();


--clk is clk
--operation mode is input

clk = INPUT();


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

dataout[0] = OUTPUT(VCC);


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

dataout[1] = OUTPUT(!A1L113);


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

dataout[2] = OUTPUT(A1L114);


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

dataout[3] = OUTPUT(A1L115);


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

dataout[4] = OUTPUT(A1L116);


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

dataout[5] = OUTPUT(A1L117);


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

dataout[6] = OUTPUT(A1L118);


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

dataout[7] = OUTPUT(A1L119);


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

en[0] = OUTPUT(en_xhdl[0]);


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

en[1] = OUTPUT(!en_xhdl[1]);


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

en[2] = OUTPUT(!en_xhdl[2]);


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

en[3] = OUTPUT(!en_xhdl[3]);


⌨️ 快捷键说明

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