你好 我在调用DO文件在modelsim里面对Virtex7系列FPGA的TEMAC的IP核进行例子仿真的时候出现如下的问题:
在仿真到demo_tb_vhd的第1259行时出现中断,
modelsim的脚本文件显示:# Time:592924680 ps Iteration: 1 Process: /demo_tb/p_stimulus File:../demo_tb.vhd# Break in Process p_stimulus at ../demo_tb.vhd line1259 # Simulation Breakpoint: Break in Process p_stimulusat ../demo_tb.vhd line 1259 # MACRO ./simulate_mti.do PAUSED at line 48
对应的demo_tb_vhd的程序为
-- Wait for 1G monitor process to complete.
wait until tx_monitor_finished_1G;
rx_stimulus_finished <= true;
-- Our work here is done
assert false
report "Simulation stopped"
severity failure;
end process p_stimulus;
我想知道为什么会中断,中断之后的如下程序是干什么用的,怎么利用如下的程序接着进行仿真。
------------------------------------------------------------------------------
-- Monitor process. This process checks the data coming out of the
-- transmitter to make sure that it matches that inserted into the
-- receiver.
------------------------------------------------------------------------------
p_monitor : process
---------------------------------------------------
-- Procedure to check a transmitted frame at 1Gb/s
---------------------------------------------------
procedure check_frame_1g (current_frame : in natural) is
variable current_col : integer := 0; -- Column counter within frame
variable fcs : std_logic_vector(31 downto 0);
variable frame_type : string(1 to 4) := (others => ' ');
|