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

📄 add.fit.eqn

📁 vhdl的最简单的加法器
💻 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.
--A1L7Q is o~reg0 at LC4_C27
--operation mode is normal

A1L7Q_lut_out = enable & (i1 $ i2);
A1L7Q = DFFEA(A1L7Q_lut_out, GLOBAL(clki), , , , , );

--A1L6Q is o~11 at LC4_C27
--operation mode is normal

A1L6Q = A1L7Q;


--enable is enable at PIN_126
--operation mode is input

enable = INPUT();


--i1 is i1 at PIN_124
--operation mode is input

i1 = INPUT();


--i2 is i2 at PIN_54
--operation mode is input

i2 = INPUT();


--clki is clki at PIN_55
--operation mode is input

clki = INPUT();


--o is o at PIN_14
--operation mode is output

o = OUTPUT(A1L7Q);


⌨️ 快捷键说明

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