ЛР11. Добавлена задержка перед завершением тб

Тестбенч не успевал вернуться в бесконечный цикл после возврата из
обработчика прерывания.
This commit is contained in:
Andrei Solodovnikov
2023-11-14 21:53:05 +03:00
parent 188389d8ba
commit ca6171cd54

View File

@@ -42,6 +42,7 @@ module tb_irq_unit();
@(posedge clk);
end
unit.irq_req = 0;
repeat(20)@(posedge clk);
$display("\n The test is over \n See the internal signals of the module on the waveform \n");
$finish;
end