📄 addere.map.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.
--J1_N_5_i is Full_Adder_3:Stages_7_OtherBits_FA|N_5_i
--operation mode is normal
J1_N_5_i = A[7] & (B[7] # !H1_COUT) # !A[7] & B[7] & !H1_COUT;
--B1_SUM is Full_Adder:Stages_0_LowBit_FA|SUM
--operation mode is normal
B1_SUM = A[0] $ B[0] $ CIN;
--C1_SUM is Full_Adder_2:Stages_1_OtherBits_FA|SUM
--operation mode is normal
C1_SUM = A[1] $ B[1] $ !B1_COUT;
--D1_SUM is Full_Adder_5:Stages_2_OtherBits_FA|SUM
--operation mode is normal
D1_SUM = A[2] $ B[2] $ !C1_COUT;
--E1_SUM is Full_Adder_6:Stages_3_OtherBits_FA|SUM
--operation mode is normal
E1_SUM = A[3] $ B[3] $ !D1_COUT;
--F1_SUM is Full_Adder_7:Stages_4_OtherBits_FA|SUM
--operation mode is normal
F1_SUM = A[4] $ B[4] $ !E1_COUT;
--G1_SUM is Full_Adder_4:Stages_5_OtherBits_FA|SUM
--operation mode is normal
G1_SUM = A[5] $ B[5] $ !F1_COUT;
--H1_SUM is Full_Adder_1:Stages_6_OtherBits_FA|SUM
--operation mode is normal
H1_SUM = A[6] $ B[6] $ !G1_COUT;
--J1_SUM is Full_Adder_3:Stages_7_OtherBits_FA|SUM
--operation mode is normal
J1_SUM = A[7] $ B[7] $ !H1_COUT;
--H1_COUT is Full_Adder_1:Stages_6_OtherBits_FA|COUT
--operation mode is normal
H1_COUT = A[6] & !B[6] & G1_COUT # !A[6] & (G1_COUT # !B[6]);
--B1_COUT is Full_Adder:Stages_0_LowBit_FA|COUT
--operation mode is normal
B1_COUT = A[0] & !B[0] & !CIN # !A[0] & (!CIN # !B[0]);
--C1_COUT is Full_Adder_2:Stages_1_OtherBits_FA|COUT
--operation mode is normal
C1_COUT = A[1] & !B[1] & B1_COUT # !A[1] & (B1_COUT # !B[1]);
--D1_COUT is Full_Adder_5:Stages_2_OtherBits_FA|COUT
--operation mode is normal
D1_COUT = A[2] & !B[2] & C1_COUT # !A[2] & (C1_COUT # !B[2]);
--E1_COUT is Full_Adder_6:Stages_3_OtherBits_FA|COUT
--operation mode is normal
E1_COUT = A[3] & !B[3] & D1_COUT # !A[3] & (D1_COUT # !B[3]);
--F1_COUT is Full_Adder_7:Stages_4_OtherBits_FA|COUT
--operation mode is normal
F1_COUT = A[4] & !B[4] & E1_COUT # !A[4] & (E1_COUT # !B[4]);
--G1_COUT is Full_Adder_4:Stages_5_OtherBits_FA|COUT
--operation mode is normal
G1_COUT = A[5] & !B[5] & F1_COUT # !A[5] & (F1_COUT # !B[5]);
--COUT is COUT
--operation mode is output
COUT = OUTPUT(J1_N_5_i);
--SUM[0] is SUM[0]
--operation mode is output
SUM[0] = OUTPUT(B1_SUM);
--SUM[1] is SUM[1]
--operation mode is output
SUM[1] = OUTPUT(C1_SUM);
--SUM[2] is SUM[2]
--operation mode is output
SUM[2] = OUTPUT(D1_SUM);
--SUM[3] is SUM[3]
--operation mode is output
SUM[3] = OUTPUT(E1_SUM);
--SUM[4] is SUM[4]
--operation mode is output
SUM[4] = OUTPUT(F1_SUM);
--SUM[5] is SUM[5]
--operation mode is output
SUM[5] = OUTPUT(G1_SUM);
--SUM[6] is SUM[6]
--operation mode is output
SUM[6] = OUTPUT(H1_SUM);
--SUM[7] is SUM[7]
--operation mode is output
SUM[7] = OUTPUT(J1_SUM);
--A[7] is A[7]
--operation mode is input
A[7] = INPUT();
--B[7] is B[7]
--operation mode is input
B[7] = INPUT();
--A[0] is A[0]
--operation mode is input
A[0] = INPUT();
--B[0] is B[0]
--operation mode is input
B[0] = INPUT();
--CIN is CIN
--operation mode is input
CIN = INPUT();
--A[1] is A[1]
--operation mode is input
A[1] = INPUT();
--B[1] is B[1]
--operation mode is input
B[1] = INPUT();
--A[2] is A[2]
--operation mode is input
A[2] = INPUT();
--B[2] is B[2]
--operation mode is input
B[2] = INPUT();
--A[3] is A[3]
--operation mode is input
A[3] = INPUT();
--B[3] is B[3]
--operation mode is input
B[3] = INPUT();
--A[4] is A[4]
--operation mode is input
A[4] = INPUT();
--B[4] is B[4]
--operation mode is input
B[4] = INPUT();
--A[5] is A[5]
--operation mode is input
A[5] = INPUT();
--B[5] is B[5]
--operation mode is input
B[5] = INPUT();
--A[6] is A[6]
--operation mode is input
A[6] = INPUT();
--B[6] is B[6]
--operation mode is input
B[6] = INPUT();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -