Update FpuTest with the new rs1/rs2 store mapping
This commit is contained in:
parent
1ee45eeb0a
commit
1497001ebd
|
@ -293,8 +293,8 @@ class FpuTest extends FunSuite{
|
||||||
def storeRaw(rs : Int, format : FpuFormat.E)(body : FpuRsp => Unit): Unit ={
|
def storeRaw(rs : Int, format : FpuFormat.E)(body : FpuRsp => Unit): Unit ={
|
||||||
cmdAdd {cmd =>
|
cmdAdd {cmd =>
|
||||||
cmd.opcode #= cmd.opcode.spinalEnum.STORE
|
cmd.opcode #= cmd.opcode.spinalEnum.STORE
|
||||||
cmd.rs1 #= rs
|
cmd.rs1.randomize()
|
||||||
cmd.rs2.randomize()
|
cmd.rs2 #= rs
|
||||||
cmd.rs3.randomize()
|
cmd.rs3.randomize()
|
||||||
cmd.rd.randomize()
|
cmd.rd.randomize()
|
||||||
cmd.arg.randomize()
|
cmd.arg.randomize()
|
||||||
|
|
Loading…
Reference in New Issue