From d6e07610650afc1cf3fed6654d799bf5f03359e5 Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Thu, 14 Dec 2017 01:04:31 +0100 Subject: [PATCH] Fix led gui refresh rate --- src/test/scala/vexriscv/MuraxSim.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/scala/vexriscv/MuraxSim.scala b/src/test/scala/vexriscv/MuraxSim.scala index 4752d11..6e9c242 100644 --- a/src/test/scala/vexriscv/MuraxSim.scala +++ b/src/test/scala/vexriscv/MuraxSim.scala @@ -145,7 +145,7 @@ object MuraxSim { } while(true){ - sleep(100000) + sleep(mainClkPeriod*100000) ledsValue = dut.io.gpioA.write.toLong ledsFrame.repaint() }