Skip to content

Commit

Permalink
Update FpuTest with the new rs1/rs2 store mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Dolu1990 committed Jun 9, 2021
1 parent 1ee45ee commit 1497001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/scala/vexriscv/ip/fpu/FpuTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1497001

Please sign in to comment.