From 11ff4dfbb9bf3702a6113990907e021442618685 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Mon, 24 Apr 2017 15:58:33 -0700 Subject: [PATCH] rocket: seip (int 9) is only present if VM is enabled (#699) --- src/main/scala/tile/Interrupts.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/scala/tile/Interrupts.scala b/src/main/scala/tile/Interrupts.scala index 6210e3eb..4d76c2c4 100644 --- a/src/main/scala/tile/Interrupts.scala +++ b/src/main/scala/tile/Interrupts.scala @@ -30,7 +30,8 @@ trait HasExternalInterrupts extends HasTileParameters { // debug, msip, mtip, meip, seip, lip offsets in CSRs def csrIntMap: List[Int] = { val nlips = tileParams.core.nLocalInterrupts - List(65535, 3, 7, 11, 9) ++ List.tabulate(nlips)(_ + 16) + val seip = if (usingVM) Seq(9) else Nil + List(65535, 3, 7, 11) ++ seip ++ List.tabulate(nlips)(_ + 16) } }