blob: e3f44af154f7535729df115e2e1a4418afb4c733 [file] [log] [blame]
package core
import chisel3.iotesters.PeekPokeTester
class DecodeForwardUnitTests(c: DecodeForwardUnit) extends PeekPokeTester(c) {
poke(c.io.ID_EX_REGRD, 5)
poke(c.io.EX_MEM_REGRD, 5)
poke(c.io.MEM_WB_REGRD, 5)
poke(c.io.rs1_sel, 5)
poke(c.io.rs2_sel, 5)
poke(c.io.ctrl_branch, 1)
step(1)
}