From a42c0891196d26594e17c4e9c426bff4c4371b0d Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Wed, 31 Mar 2021 19:03:38 +0200 Subject: [PATCH] IBusSimplePlugin ensure AHB persistance --- src/main/scala/vexriscv/plugin/IBusSimplePlugin.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/vexriscv/plugin/IBusSimplePlugin.scala b/src/main/scala/vexriscv/plugin/IBusSimplePlugin.scala index 8f36e4c..5780ce8 100644 --- a/src/main/scala/vexriscv/plugin/IBusSimplePlugin.scala +++ b/src/main/scala/vexriscv/plugin/IBusSimplePlugin.scala @@ -180,6 +180,7 @@ case class IBusSimpleBus(plugin: IBusSimplePlugin) extends Bundle with IMasterSl //cmdForkPersistence need to bet set def toAhbLite3Master(): AhbLite3Master = { + assert(plugin.cmdForkPersistence) val bus = AhbLite3Master(IBusSimpleBus.getAhbLite3Config()) bus.HADDR := this.cmd.pc bus.HWRITE := False