tb_cpu.vhd

来自「thats the CPU source made by JI FENG」· VHDL 代码 · 共 31 行

VHD
31
字号
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 + =
减小字号Ctrl + -
显示快捷键?