?? test_fpga_project1.vhdtst
字號:
------------------------------------------------------------
-- VHDL Testbench for fpga_project1
-- 2010 5 27 17 30 46
-- Created by "EditVHDL"
-- "Copyright (c) 2002 Altium Limited"
------------------------------------------------------------
Library IEEE;
Use IEEE.std_logic_1164.all;
Use IEEE.std_logic_textio.all;
Use STD.textio.all;
------------------------------------------------------------
------------------------------------------------------------
entity Testfpga_project1 is
end Testfpga_project1;
------------------------------------------------------------
------------------------------------------------------------
architecture stimulus of Testfpga_project1 is
file RESULTS: TEXT open WRITE_MODE is "results.txt";
procedure WRITE_RESULTS(
) is
variable l_out : line;
begin
write(l_out, now, right, 15);
writeline(RESULTS, l_out);
end procedure;
component fpga_project1
port (
);
end component;
begin
DUT:fpga_project1 port map (
);
STIMULUS0:process
begin
-- insert stimulus here
wait;
end process;
WRITE_RESULTS(
);
end architecture;
------------------------------------------------------------
------------------------------------------------------------
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -