banjia.vhd
来自「全加器」· VHDL 代码 · 共 12 行
VHD
12 行
library ieee;
use ieee.std_logic_1164.all;
entity banjia is
port(in_a,in_b: in std_logic;
out_s,out_c: out std_logic);
end banjia;
architecture first of banjia is
begin
out_s<=not(in_a xor not(in_b));
out_c<=in_a and in_b;
end first;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?