mirror of
https://github.com/handsomezhuzhu/2025-yatcpu.git
synced 2026-02-20 20:10:14 +00:00
longer run time for fibonacci test
This commit is contained in:
@@ -117,7 +117,7 @@ class FibonacciTest extends AnyFlatSpec with ChiselScalatestTester {
|
||||
it should "calculate recursively fibonacci(10)" in {
|
||||
test(new TestTopModule("fibonacci.asmbin")).withAnnotations(TestAnnotations.annos) { c =>
|
||||
c.io.interrupt.poke(0.U)
|
||||
for (i <- 1 to 50) {
|
||||
for (i <- 1 to 100) {
|
||||
c.clock.step(1000)
|
||||
c.io.mem_debug_read_address.poke((i * 4).U) // Avoid timeout
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ class FibonacciTest extends AnyFlatSpec with ChiselScalatestTester {
|
||||
it should "calculate recursively fibonacci(10)" in {
|
||||
test(new TestTopModule("fibonacci.asmbin")).withAnnotations(TestAnnotations.annos) { c =>
|
||||
c.io.interrupt.poke(0.U)
|
||||
for (i <- 1 to 50) {
|
||||
for (i <- 1 to 100) {
|
||||
c.clock.step(1000)
|
||||
c.io.mem_debug_read_address.poke((i * 4).U) // Avoid timeout
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user