diff options
author | Ian Moffett <ian@osmora.org> | 2024-08-03 12:31:48 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-08-03 12:31:48 -0400 |
commit | f4c018a11f9c25f89179af81871aa9b512fab0d5 (patch) | |
tree | 58b16193ebcfbee94b06dded86b635081f30940b | |
parent | 499997a1619635de9e27e8a9455347f39028c923 (diff) |
soc: pimc: Silence warnings
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sv/soc/irq/pimc.sv | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sv/soc/irq/pimc.sv b/sv/soc/irq/pimc.sv index 08733d6..43d7637 100644 --- a/sv/soc/irq/pimc.sv +++ b/sv/soc/irq/pimc.sv @@ -66,12 +66,12 @@ module pimc #( end else begin for (i = 0; i < IRQ_PIN_COUNT; i = i + 1) begin /* IRQ should be dropped if masked */ - irqmask <= irqtab[(i * IRQTAB_ENTSIZE) + IRQTAB_MASK]; + irqmask <= irqtab[(i * IRQTAB_ENTSIZE) + IRQTAB_MASK][0]; accept <= (irqmask == 1'b0 && notify == 1'b1); if (irq_in[i] == 1'b1 && accept == 1'b1) begin - lineno <= i; + lineno <= i[7:0]; notify <= 1'b0; - processor_id <= irqtab[i * IRQTAB_ENTSIZE]; + processor_id <= irqtab[i * IRQTAB_ENTSIZE][7:0]; end end end |