blob: 353819221d033e18cf110af85eaf6943200a62c6 [file] [log] [blame]
package core
import chisel3.iotesters.{ChiselFlatSpec, Driver, PeekPokeTester}
class AluControlTests(c: AluControl) extends PeekPokeTester(c) {
poke(c.io.aluOp, 2)
poke(c.io.func3, 7)
poke(c.io.func7, 0)
step(1)
expect(c.io.output, 23)
}