clock_proc : process begin
x1 <= '0';
wait for 8 ns ;
x1 <= '1';
wait for 8 ns ;
end process ;
reset_proc : process begin
reset <= '0';
wait for 2 ns ;
reset <= '1';
wait ;
end process ;
test_proc : process begin
x2 <= '0'; x3 <= '0'; x4 <= '0';
wait for 20 ns ;
x2 <= '1'; x3 <= '1'; x4 <= '0';
wait for 20 ns ;
x2 <= '0'; x3 <= '0'; x4 <= '0';
wait for 20 ns ;
x2 <= '0'; x3 <= '0'; x4 <= '1';
wait for 20 ns ;
x2 <= '0'; x3 <= '0'; x4 <= '0';
wait for 50 ns ;
x2 <= '1'; x3 <= '1'; x4 <= '0';
wait for 20 ns ;
x2 <= '0'; x3 <= '0'; x4 <= '1';
wait for 20 ns ;
end process ;
KERNEL:在20 ns + 5000时停止。
KERNEL:错误:KERNEL_0160 Delta计数溢出。增加 使用asim的-i参数或其中的匹配条目的迭代限制 模拟