or2a.vhd

来自「EDA课程设计,简单的EDA编程,包括计数器」· VHDL 代码 · 共 9 行

VHD
9
字号
library  ieee;
  use  ieee.std_logic_1164.all;
entity  or2a  is
   port(a,b:in bit ;c:out bit);
end  entity  or2a;
architecture  ex1  of or2a  is
begin
   c <=a  or b;
end architecture ex1;

⌨️ 快捷键说明

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