📄 mod8_1.vhd
字号:
library ieee;use ieee.std_logic_1164.all;entity mod8_1 isport(a: in std_logic;b: in std_logic_vector( 7 downto 0);c: in std_logic_vector( 7 downto 0);s: out std_logic_vector(7 downto 0));end entity mod8_1;architecture mod8_1_rtl of mod8_1 isbegins(7) <= ( a and b(7)) xor c(7);s(6) <= ( a and b(6)) xor c(6);s(5) <= ( a and b(5)) xor c(5);s(4) <= ( a and b(4)) xor c(4);s(3) <= ( a and b(3)) xor c(3);s(2) <= ( a and b(2)) xor c(2);s(1) <= ( a and b(1)) xor c(1);s(0) <= ( a and b(0)) xor c(0);end architecture mod8_1_rtl;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -