Skip to content

Commit

Permalink
ЛР11. Добавлена задержка перед завершением тб
Browse files Browse the repository at this point in the history
Тестбенч не успевал вернуться в бесконечный цикл после возврата из
обработчика прерывания.
  • Loading branch information
HepoH3 committed Nov 14, 2023
1 parent 188389d commit ca6171c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Labs/11. Interrupt integration/tb_irq_unit.sv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca6171c

Please sign in to comment.