File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
shared/src/main/scala/org/sireum/anvil Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1163,7 +1163,7 @@ import HwSynthesizer._
1163
1163
|class ${moduleName}Bench extends AnyFlatSpec with ChiselScalatestTester {
1164
1164
| " ${moduleName}Bench" should "work" in {
1165
1165
| test(new ${moduleName}()).withAnnotations(Seq(WriteVcdAnnotation, VerilatorBackendAnnotation)) { dut =>
1166
- | dut.clock.setTimeout(3000 )
1166
+ | dut.clock.setTimeout(10000 )
1167
1167
|
1168
1168
| dut.reset.poke(true.B)
1169
1169
| for (i <- 0 until (5)) {
@@ -1677,7 +1677,7 @@ import HwSynthesizer._
1677
1677
val jST = processJumpIntrinsic(BlockLog .getBlock)
1678
1678
val ipType : IpType = if (DivRemLog .isDivisionInBlock()) BinaryIP (AST .IR .Exp .Binary .Op .Div , T ) else BinaryIP (AST .IR .Exp .Binary .Op .Rem , T )
1679
1679
val indexerName : String = getIpInstanceName(ipType).get
1680
- val activeIndex = if (DivRemLog .isDivisionInBlock()) DivRemLog .divisionActiveIndex else DivRemLog .remainderActiveIndex
1680
+ val activeIndex : Z = if (DivRemLog .isDivisionInBlock()) DivRemLog .divisionActiveIndex else DivRemLog .remainderActiveIndex
1681
1681
st """
1682
1682
|when( ${indexerName}_ ${activeIndex}.io.valid) {
1683
1683
| ${jST.render}
You can’t perform that action at this time.
0 commit comments