- fix missing brackets

This commit is contained in:
Robert Korn 2020-03-30 19:00:28 +02:00
parent 258d63d476
commit fac01cee1c
1 changed files with 1 additions and 1 deletions

View File

@ -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