📄 tb_cpu.vhd
字号:
library ieee;use ieee.std_logic_1164.all;use ieee.std_logic_unsigned.all;use ieee.std_logic_arith.all;entity tb_cpu is end tb_cpu;architecture tb of tb_cpu iscomponent cpu port ( clk : in std_logic; reset : in std_logic);end component;signal tb_clk : std_logic := '0';signal tb_reset : std_logic := '1';begin -- tbucpu : cpu port map ( clk => tb_clk, reset => tb_reset);tb_clk <= not tb_clk after 50 ns;tb_reset <='0' after 100 ns;end tb;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -