?? reg.vhd
字號:
library IEEE;
use IEEE.std_logic_1164.all;
use work.cpu_lib.all;
entity reg is
port( a : in bit16;
clk : in std_logic;
q : out bit16);
end reg;
architecture rtl of reg is
begin
regproc: process
begin
wait until clk' event and clk = '1';
q <= a after 1 ns;
end process;
end rtl;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -