From fac01cee1c03f2209078b3e268987814309dc63d Mon Sep 17 00:00:00 2001 From: Robert Korn Date: Mon, 30 Mar 2020 19:00:28 +0200 Subject: - fix missing brackets --- picorv32.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picorv32.v b/picorv32.v index 4b1eca9..6364cbe 100644 --- a/picorv32.v +++ b/picorv32.v @@ -1909,7 +1909,7 @@ module picorv32 #( if (ENABLE_IRQ) begin next_irq_pending = next_irq_pending | irq; - if ENABLE_IRQ_TIMER && timer + if(ENABLE_IRQ_TIMER && timer) if (timer - 1 == 0) next_irq_pending[irq_timer] = 1; end -- cgit