📄 half_adder.map.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.
--A1L6 is s~2
--operation mode is normal
A1L6 = b $ a;
--d is d
--operation mode is normal
d = b & a;
--b is b
--operation mode is input
b = INPUT();
--a is a
--operation mode is input
a = INPUT();
--s is s
--operation mode is output
s = OUTPUT(A1L6);
--co is co
--operation mode is output
co = OUTPUT(d);
--VGA[0] is VGA[0]
--operation mode is output
VGA[0] = OUTPUT(VCC);
--VGA[1] is VGA[1]
--operation mode is output
VGA[1] = OUTPUT(GND);
--VGA[2] is VGA[2]
--operation mode is output
VGA[2] = OUTPUT(GND);
--VGA[3] is VGA[3]
--operation mode is output
VGA[3] = OUTPUT(GND);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -