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

📄 verilog_seg7.fit.eqn

📁 Verilog 经典实例
💻 EQN
📖 第 1 页 / 共 3 页
字号:
-- Copyright (C) 1991-2006 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.
--C1_comclk[1] is segmain:inst1|comclk[1] at LC_X10_Y10_N4
--operation mode is normal

C1_comclk[1]_lut_out = C1_comclk[0] $ C1_comclk[1];
C1_comclk[1] = DFFEAS(C1_comclk[1]_lut_out, GLOBAL(H1_safe_q[5]), reset, , , , , , );


--C1_comclk[0] is segmain:inst1|comclk[0] at LC_X10_Y10_N0
--operation mode is normal

C1_comclk[0]_lut_out = !C1_comclk[0];
C1_comclk[0] = DFFEAS(C1_comclk[0]_lut_out, GLOBAL(H1_safe_q[5]), reset, , , , , , );


--C1L15 is segmain:inst1|ledcom[3]~41 at LC_X10_Y10_N5
--operation mode is normal

C1L15 = !C1_comclk[1] # !C1_comclk[0];


--C1L1 is segmain:inst1|Equal~58 at LC_X9_Y10_N8
--operation mode is normal

C1L1 = C1_comclk[1] & !C1_comclk[0];


--C1L2 is segmain:inst1|Equal~59 at LC_X10_Y10_N1
--operation mode is normal

C1L2 = C1_comclk[0] & !C1_comclk[1];


--C1L14 is segmain:inst1|ledcom[0]~42 at LC_X11_Y10_N3
--operation mode is normal

C1L14 = C1_comclk[1] # C1_comclk[0];


--B1_cont[0] is addcont:inst|cont[0] at LC_X9_Y10_N0
--operation mode is arithmetic

B1_cont[0]_lut_out = !B1_cont[0];
B1_cont[0] = DFFEAS(B1_cont[0]_lut_out, GLOBAL(H1_safe_q[23]), reset, , , , , , );

--B1L3 is addcont:inst|cont[0]~57 at LC_X9_Y10_N0
--operation mode is arithmetic

B1L3_cout_0 = B1_cont[0];
B1L3 = CARRY(B1L3_cout_0);

--B1L4 is addcont:inst|cont[0]~57COUT1_95 at LC_X9_Y10_N0
--operation mode is arithmetic

B1L4_cout_1 = B1_cont[0];
B1L4 = CARRY(B1L4_cout_1);


--B1_cont[4] is addcont:inst|cont[4] at LC_X9_Y10_N4
--operation mode is arithmetic

B1_cont[4]_lut_out = B1_cont[4] $ (!B1L12);
B1_cont[4] = DFFEAS(B1_cont[4]_lut_out, GLOBAL(H1_safe_q[23]), reset, , , , , , );

--B1L15 is addcont:inst|cont[4]~61 at LC_X9_Y10_N4
--operation mode is arithmetic

B1L15 = B1L16;


--E1_cont[4] is subcont:inst5|cont[4] at LC_X12_Y10_N4
--operation mode is arithmetic

E1_cont[4]_lut_out = E1_cont[4] $ (E1L12);
E1_cont[4] = DFFEAS(E1_cont[4]_lut_out, GLOBAL(H1_safe_q[24]), reset, , , , , , );

--E1L15 is subcont:inst5|cont[4]~57 at LC_X12_Y10_N4
--operation mode is arithmetic

E1L15 = E1L16;


--C1L6 is segmain:inst1|dataout[0]~70 at LC_X11_Y10_N8
--operation mode is normal

C1L6 = C1_comclk[0] & (C1_comclk[1] & B1_cont[4] # !C1_comclk[1] & (E1_cont[4])) # !C1_comclk[0] & !C1_comclk[1];


--E1_cont[0] is subcont:inst5|cont[0] at LC_X12_Y10_N0
--operation mode is arithmetic

E1_cont[0]_lut_out = !E1_cont[0];
E1_cont[0] = DFFEAS(E1_cont[0]_lut_out, GLOBAL(H1_safe_q[24]), reset, , , , , , );

--E1L3 is subcont:inst5|cont[0]~61 at LC_X12_Y10_N0
--operation mode is arithmetic

E1L3_cout_0 = E1_cont[0];
E1L3 = CARRY(E1L3_cout_0);

--E1L4 is subcont:inst5|cont[0]~61COUT1_95 at LC_X12_Y10_N0
--operation mode is arithmetic

E1L4_cout_1 = E1_cont[0];
E1L4 = CARRY(E1L4_cout_1);


--C1L7 is segmain:inst1|dataout[0]~71 at LC_X11_Y10_N9
--operation mode is normal

C1L7 = C1_comclk[0] & (C1L6) # !C1_comclk[0] & (C1L6 & E1_cont[0] # !C1L6 & (B1_cont[0]));


--B1_cont[1] is addcont:inst|cont[1] at LC_X9_Y10_N1
--operation mode is arithmetic

B1_cont[1]_lut_out = B1_cont[1] $ B1L3;
B1_cont[1] = DFFEAS(B1_cont[1]_lut_out, GLOBAL(H1_safe_q[23]), reset, , , , , , );

--B1L6 is addcont:inst|cont[1]~65 at LC_X9_Y10_N1
--operation mode is arithmetic

B1L6_cout_0 = !B1L3 # !B1_cont[1];
B1L6 = CARRY(B1L6_cout_0);

--B1L7 is addcont:inst|cont[1]~65COUT1_97 at LC_X9_Y10_N1
--operation mode is arithmetic

B1L7_cout_1 = !B1L4 # !B1_cont[1];
B1L7 = CARRY(B1L7_cout_1);


--B1_cont[5] is addcont:inst|cont[5] at LC_X9_Y10_N5
--operation mode is arithmetic

B1_cont[5]_carry_eqn = (!B1L15 & GND) # (B1L15 & VCC);
B1_cont[5]_lut_out = B1_cont[5] $ (B1_cont[5]_carry_eqn);
B1_cont[5] = DFFEAS(B1_cont[5]_lut_out, GLOBAL(H1_safe_q[23]), reset, , , , , , );

--B1L19 is addcont:inst|cont[5]~69 at LC_X9_Y10_N5
--operation mode is arithmetic

B1L19_cout_0 = !B1L15 # !B1_cont[5];
B1L19 = CARRY(B1L19_cout_0);

--B1L20 is addcont:inst|cont[5]~69COUT1_102 at LC_X9_Y10_N5
--operation mode is arithmetic

B1L20_cout_1 = !B1L15 # !B1_cont[5];
B1L20 = CARRY(B1L20_cout_1);


--E1_cont[5] is subcont:inst5|cont[5] at LC_X12_Y10_N5
--operation mode is arithmetic

E1_cont[5]_carry_eqn = (!E1L15 & GND) # (E1L15 & VCC);
E1_cont[5]_lut_out = E1_cont[5] $ (!E1_cont[5]_carry_eqn);
E1_cont[5] = DFFEAS(E1_cont[5]_lut_out, GLOBAL(H1_safe_q[24]), reset, , , , , , );

--E1L19 is subcont:inst5|cont[5]~65 at LC_X12_Y10_N5
--operation mode is arithmetic

E1L19_cout_0 = !E1_cont[5] & (!E1L15);
E1L19 = CARRY(E1L19_cout_0);

--E1L20 is subcont:inst5|cont[5]~65COUT1_102 at LC_X12_Y10_N5
--operation mode is arithmetic

E1L20_cout_1 = !E1_cont[5] & (!E1L15);
E1L20 = CARRY(E1L20_cout_1);


--C1L8 is segmain:inst1|dataout[1]~72 at LC_X11_Y10_N5
--operation mode is normal

C1L8 = C1_comclk[0] & (C1_comclk[1] & B1_cont[5] # !C1_comclk[1] & (E1_cont[5])) # !C1_comclk[0] & !C1_comclk[1];


--E1_cont[1] is subcont:inst5|cont[1] at LC_X12_Y10_N1
--operation mode is arithmetic

E1_cont[1]_lut_out = E1_cont[1] $ !E1L3;
E1_cont[1] = DFFEAS(E1_cont[1]_lut_out, GLOBAL(H1_safe_q[24]), reset, , , , , , );

--E1L6 is subcont:inst5|cont[1]~69 at LC_X12_Y10_N1
--operation mode is arithmetic

E1L6_cout_0 = !E1_cont[1] & !E1L3;
E1L6 = CARRY(E1L6_cout_0);

--E1L7 is subcont:inst5|cont[1]~69COUT1_97 at LC_X12_Y10_N1
--operation mode is arithmetic

E1L7_cout_1 = !E1_cont[1] & !E1L4;
E1L7 = CARRY(E1L7_cout_1);


--C1L9 is segmain:inst1|dataout[1]~73 at LC_X11_Y10_N6
--operation mode is normal

C1L9 = C1_comclk[0] & (C1L8) # !C1_comclk[0] & (C1L8 & E1_cont[1] # !C1L8 & (B1_cont[1]));


--E1_cont[6] is subcont:inst5|cont[6] at LC_X12_Y10_N6
--operation mode is arithmetic

E1_cont[6]_carry_eqn = (!E1L15 & E1L19) # (E1L15 & E1L20);
E1_cont[6]_lut_out = E1_cont[6] $ (E1_cont[6]_carry_eqn);
E1_cont[6] = DFFEAS(E1_cont[6]_lut_out, GLOBAL(H1_safe_q[24]), reset, , , , , , );

--E1L22 is subcont:inst5|cont[6]~73 at LC_X12_Y10_N6
--operation mode is arithmetic

E1L22_cout_0 = E1_cont[6] # !E1L19;
E1L22 = CARRY(E1L22_cout_0);

--E1L23 is subcont:inst5|cont[6]~73COUT1_104 at LC_X12_Y10_N6
--operation mode is arithmetic

E1L23_cout_1 = E1_cont[6] # !E1L20;
E1L23 = CARRY(E1L23_cout_1);


--B1_cont[6] is addcont:inst|cont[6] at LC_X9_Y10_N6
--operation mode is arithmetic

B1_cont[6]_carry_eqn = (!B1L15 & B1L19) # (B1L15 & B1L20);
B1_cont[6]_lut_out = B1_cont[6] $ (!B1_cont[6]_carry_eqn);
B1_cont[6] = DFFEAS(B1_cont[6]_lut_out, GLOBAL(H1_safe_q[23]), reset, , , , , , );

--B1L22 is addcont:inst|cont[6]~73 at LC_X9_Y10_N6
--operation mode is arithmetic

B1L22_cout_0 = B1_cont[6] & (!B1L19);
B1L22 = CARRY(B1L22_cout_0);

--B1L23 is addcont:inst|cont[6]~73COUT1_104 at LC_X9_Y10_N6
--operation mode is arithmetic

B1L23_cout_1 = B1_cont[6] & (!B1L20);
B1L23 = CARRY(B1L23_cout_1);


--B1_cont[2] is addcont:inst|cont[2] at LC_X9_Y10_N2
--operation mode is arithmetic

B1_cont[2]_lut_out = B1_cont[2] $ !B1L6;
B1_cont[2] = DFFEAS(B1_cont[2]_lut_out, GLOBAL(H1_safe_q[23]), reset, , , , , , );

--B1L9 is addcont:inst|cont[2]~77 at LC_X9_Y10_N2
--operation mode is arithmetic

B1L9_cout_0 = B1_cont[2] & !B1L6;
B1L9 = CARRY(B1L9_cout_0);

--B1L10 is addcont:inst|cont[2]~77COUT1_99 at LC_X9_Y10_N2
--operation mode is arithmetic

B1L10_cout_1 = B1_cont[2] & !B1L7;
B1L10 = CARRY(B1L10_cout_1);


--C1L10 is segmain:inst1|dataout[2]~74 at LC_X9_Y10_N9
--operation mode is normal

C1L10 = C1_comclk[0] & C1_comclk[1] & B1_cont[6] # !C1_comclk[0] & (B1_cont[2] # !C1_comclk[1]);


--E1_cont[2] is subcont:inst5|cont[2] at LC_X12_Y10_N2
--operation mode is arithmetic

E1_cont[2]_lut_out = E1_cont[2] $ E1L6;
E1_cont[2] = DFFEAS(E1_cont[2]_lut_out, GLOBAL(H1_safe_q[24]), reset, , , , , , );

--E1L9 is subcont:inst5|cont[2]~77 at LC_X12_Y10_N2
--operation mode is arithmetic

E1L9_cout_0 = E1_cont[2] # !E1L6;
E1L9 = CARRY(E1L9_cout_0);

--E1L10 is subcont:inst5|cont[2]~77COUT1_99 at LC_X12_Y10_N2
--operation mode is arithmetic

E1L10_cout_1 = E1_cont[2] # !E1L7;
E1L10 = CARRY(E1L10_cout_1);


--C1L11 is segmain:inst1|dataout[2]~75 at LC_X10_Y10_N6
--operation mode is normal

C1L11 = C1_comclk[1] & (C1L10) # !C1_comclk[1] & (C1L10 & E1_cont[2] # !C1L10 & (E1_cont[6]));


--B1_cont[3] is addcont:inst|cont[3] at LC_X9_Y10_N3
--operation mode is arithmetic

B1_cont[3]_lut_out = B1_cont[3] $ (B1L9);
B1_cont[3] = DFFEAS(B1_cont[3]_lut_out, GLOBAL(H1_safe_q[23]), reset, , , , , , );

--B1L12 is addcont:inst|cont[3]~81 at LC_X9_Y10_N3
--operation mode is arithmetic

B1L12_cout_0 = !B1L9 # !B1_cont[3];

⌨️ 快捷键说明

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