or.vhd

来自「DLX CPU VHDL CODE UNIVERSITY」· VHDL 代码 · 共 28 行

VHD
28
字号
entity g_or is    generic(width : positive);    port(a,b : in bit_vector(width-1 downto 0);         y: out bit_vector(width-1 downto 0));end g_or;architecture structure of g_or isbeginy<=a or b;end;entity bit_or is    port(a,b : in bit;         y: out bit);end bit_or;architecture structure of bit_or isbeginy<= a or b;end;

⌨️ 快捷键说明

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