📄 xor.vhd
字号:
use work.dp32_types.all;entity g_xor is generic(width : positive); port(a,b : in bit_vector(width-1 downto 0); y : out bit_vector(width-1 downto 0)); end g_xor;architecture behaviour of g_xor isbeginy<=a xor b;end behaviour;entity g_xor_b is port(a,b : in bit; y : out bit);end g_xor_b;architecture behaviour of g_xor_b isbeginy<=a xor b;end behaviour;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -