From 1497001ebd4728c1801b887eb181cd86b1dcf39b Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Wed, 9 Jun 2021 13:37:31 +0200 Subject: [PATCH] Update FpuTest with the new rs1/rs2 store mapping --- src/test/scala/vexriscv/ip/fpu/FpuTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/scala/vexriscv/ip/fpu/FpuTest.scala b/src/test/scala/vexriscv/ip/fpu/FpuTest.scala index fb5943a..280a5fe 100644 --- a/src/test/scala/vexriscv/ip/fpu/FpuTest.scala +++ b/src/test/scala/vexriscv/ip/fpu/FpuTest.scala @@ -293,8 +293,8 @@ class FpuTest extends FunSuite{ def storeRaw(rs : Int, format : FpuFormat.E)(body : FpuRsp => Unit): Unit ={ cmdAdd {cmd => cmd.opcode #= cmd.opcode.spinalEnum.STORE - cmd.rs1 #= rs - cmd.rs2.randomize() + cmd.rs1.randomize() + cmd.rs2 #= rs cmd.rs3.randomize() cmd.rd.randomize() cmd.arg.randomize()