From deb524e570dc3ff949fc85adde3ed26d632dc6fe Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Mon, 28 Jun 2021 21:37:42 +0800 Subject: [PATCH] emulation: sha512: wire up `done` bit Signed-off-by: Sean Cross --- emulation/peripherals/sha512.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emulation/peripherals/sha512.cs b/emulation/peripherals/sha512.cs index 53e253f58..f967a6556 100644 --- a/emulation/peripherals/sha512.cs +++ b/emulation/peripherals/sha512.cs @@ -140,6 +140,10 @@ namespace Antmicro.Renode.Peripherals.Miscellaneous this.sha512.TransformFinalBlock(dummy, 0, 0); this.sha512.Hash.CopyTo(this.hash, 0); } + + sha512DoneStatus = true; + UpdateInterrupts(); + sha512DoneStatus = false; } }) ;