blob: 34f8d13ed43f01229497093bfc2f04df26b24d0c [file] [log] [blame]
package core
import chisel3.iotesters.PeekPokeTester
class ForwardUnitMemTests(c: ForwardUnitMem) extends PeekPokeTester(c) {
poke(c.io.EX_MEM_RS2SEL, 2)
poke(c.io.MEM_WB_RDSEL, 2)
poke(c.io.EX_MEM_MEMWR, 1)
step(1)
expect(c.io.forward, 1)
}