25_test_1a.vhd
来自「VHDL语言100例详解」· VHDL 代码 · 共 42 行
VHD
42 行
-- Page : 318 _ 319
--
-- Objective : Reference for Test_1a,1b,1d, and 1e
--
-- File Name : test_1.vhd
--
-- Author : Joseph Pick
--
entity Test_1 is
end Test_1;
architecture Behave_1 of Test_1 is
signal Sample : BIT_VECTOR ( 4 downto 0 ) := (others => '1');
begin
-- Load_N:
-- process
-- begin
Sample(4) <= '0';
Sample(1) <= '0';
-- wait for 2 ns;
-- assert FALSE
-- report "Test went OK"
-- severity NOTE;
-- wait;
-- end process;
-- Load_M:
-- process
-- begin
--Sample(1) <= '0';
--wait for 12 ns;
-- assert FALSE
-- report "Test went OK"
-- severity NOTE;
-- wait;
-- end process;
end Behave_1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?