From ca6171cd545cc38ab6909da20de8a079f37fef72 Mon Sep 17 00:00:00 2001 From: Andrei Solodovnikov Date: Tue, 14 Nov 2023 21:53:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=A011.=20=D0=94=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=B7=D0=B0=D0=B4=D0=B5=D1=80?= =?UTF-8?q?=D0=B6=D0=BA=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B2=D0=B5=D1=80=D1=88=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC=20?= =?UTF-8?q?=D1=82=D0=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Тестбенч не успевал вернуться в бесконечный цикл после возврата из обработчика прерывания. --- Labs/11. Interrupt integration/tb_irq_unit.sv | 1 + 1 file changed, 1 insertion(+) diff --git a/Labs/11. Interrupt integration/tb_irq_unit.sv b/Labs/11. Interrupt integration/tb_irq_unit.sv index c58bcff7..40dc1822 100644 --- a/Labs/11. Interrupt integration/tb_irq_unit.sv +++ b/Labs/11. Interrupt integration/tb_irq_unit.sv @@ -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