Sign in
foss-eda-tools
/
third_party
/
shuttle
/
sky130
/
mpw-001
/
slot-007
/
684f36e79e34881a7c42119f5659a4340f7607ec
/
.
/
chisel
/
Buraq-mini
/
RV32i
/
src
/
test
/
scala
/
core
/
AluTests.scala
blob: 8a0fa1c550a46d3c760e6f1e44e0a8220c2c1019 [
file
] [
log
] [
blame
]
package
core
import
chisel3
.
iotesters
.
PeekPokeTester
class
AluTests
(
c
:
Alu
)
extends
PeekPokeTester
(
c
)
{
poke
(
c
.
io
.
oper_a
,
-
3
)
poke
(
c
.
io
.
oper_b
,
-
1
)
poke
(
c
.
io
.
aluCtrl
,
0
)
step
(
1
)
expect
(
c
.
io
.
output
,
-
4
)
// expect(c.io.branch, 0)
}