IBusSimplePlugin ensure AHB persistance

This commit is contained in:
Dolu1990 2021-03-31 19:03:38 +02:00
parent 9ac6625ef3
commit a42c089119
1 changed files with 1 additions and 0 deletions

View File

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