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

📄 add8.map.eqn

📁 这是用VHDL实现的8位加法器
💻 EQN
字号:
-- 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.
--B2L1 is add4b:inst|add~62
--operation mode is normal

B2L1_carry_eqn = B2L3;
B2L1 = B2L1_carry_eqn;


--B2L2 is add4b:inst|add~67
--operation mode is arithmetic

B2L2_carry_eqn = B2L5;
B2L2 = b[7] $ a[7] $ !B2L2_carry_eqn;

--B2L3 is add4b:inst|add~69
--operation mode is arithmetic

B2L3 = CARRY(b[7] & (a[7] # !B2L5) # !b[7] & a[7] & !B2L5);


--B2L4 is add4b:inst|add~72
--operation mode is arithmetic

B2L4_carry_eqn = B2L7;
B2L4 = b[6] $ a[6] $ B2L4_carry_eqn;

--B2L5 is add4b:inst|add~74
--operation mode is arithmetic

B2L5 = CARRY(b[6] & !a[6] & !B2L7 # !b[6] & (!B2L7 # !a[6]));


--B2L6 is add4b:inst|add~77
--operation mode is arithmetic

B2L6_carry_eqn = B2L9;
B2L6 = b[5] $ a[5] $ !B2L6_carry_eqn;

--B2L7 is add4b:inst|add~79
--operation mode is arithmetic

B2L7 = CARRY(b[5] & (a[5] # !B2L9) # !b[5] & a[5] & !B2L9);


--B2L8 is add4b:inst|add~82
--operation mode is arithmetic

B2L8_carry_eqn = B2L11;
B2L8 = b[4] $ a[4] $ B2L8_carry_eqn;

--B2L9 is add4b:inst|add~84
--operation mode is arithmetic

B2L9 = CARRY(b[4] & !a[4] & !B2L11 # !b[4] & (!B2L11 # !a[4]));


--B2L10 is add4b:inst|add~87
--operation mode is arithmetic

B2L10_carry_eqn = B2L13;
B2L10 = b[3] $ a[3] $ !B2L10_carry_eqn;

--B2L11 is add4b:inst|add~89
--operation mode is arithmetic

B2L11 = CARRY(b[3] & (a[3] # !B2L13) # !b[3] & a[3] & !B2L13);


--B2L12 is add4b:inst|add~92
--operation mode is arithmetic

B2L12_carry_eqn = B2L15;
B2L12 = b[2] $ a[2] $ B2L12_carry_eqn;

--B2L13 is add4b:inst|add~94
--operation mode is arithmetic

B2L13 = CARRY(b[2] & !a[2] & !B2L15 # !b[2] & (!B2L15 # !a[2]));


--B2L14 is add4b:inst|add~97
--operation mode is arithmetic

B2L14_carry_eqn = B2L17;
B2L14 = b[1] $ a[1] $ !B2L14_carry_eqn;

--B2L15 is add4b:inst|add~99
--operation mode is arithmetic

B2L15 = CARRY(b[1] & (a[1] # !B2L17) # !b[1] & a[1] & !B2L17);


--B2L16 is add4b:inst|add~102
--operation mode is arithmetic

B2L16_carry_eqn = B2L19;
B2L16 = b[0] $ a[0] $ B2L16_carry_eqn;

--B2L17 is add4b:inst|add~104
--operation mode is arithmetic

B2L17 = CARRY(b[0] & !a[0] & !B2L19 # !b[0] & (!B2L19 # !a[0]));


--B2L19 is add4b:inst|add~109
--operation mode is arithmetic

B2L19 = CARRY(cin);


--b[7] is b[7]
--operation mode is input

b[7] = INPUT();


--a[7] is a[7]
--operation mode is input

a[7] = INPUT();


--b[6] is b[6]
--operation mode is input

b[6] = INPUT();


--a[6] is a[6]
--operation mode is input

a[6] = INPUT();


--b[5] is b[5]
--operation mode is input

b[5] = INPUT();


--a[5] is a[5]
--operation mode is input

a[5] = INPUT();


--b[4] is b[4]
--operation mode is input

b[4] = INPUT();


--a[4] is a[4]
--operation mode is input

a[4] = INPUT();


--b[3] is b[3]
--operation mode is input

b[3] = INPUT();


--a[3] is a[3]
--operation mode is input

a[3] = INPUT();


--b[2] is b[2]
--operation mode is input

b[2] = INPUT();


--a[2] is a[2]
--operation mode is input

a[2] = INPUT();


--b[1] is b[1]
--operation mode is input

b[1] = INPUT();


--a[1] is a[1]
--operation mode is input

a[1] = INPUT();


--b[0] is b[0]
--operation mode is input

b[0] = INPUT();


--a[0] is a[0]
--operation mode is input

a[0] = INPUT();


--cin is cin
--operation mode is input

cin = INPUT();


--cout is cout
--operation mode is output

cout = OUTPUT(B2L1);


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

s[7] = OUTPUT(B2L2);


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

s[6] = OUTPUT(B2L4);


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

s[5] = OUTPUT(B2L6);


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

s[4] = OUTPUT(B2L8);


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

s[3] = OUTPUT(B2L10);


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

s[2] = OUTPUT(B2L12);


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

s[1] = OUTPUT(B2L14);


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

s[0] = OUTPUT(B2L16);


⌨️ 快捷键说明

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