diff options
| -rw-r--r-- | fibonacci.s | 2 | ||||
| -rw-r--r-- | my_computer_tb.v | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fibonacci.s b/fibonacci.s index c3e75ba..dac7f6b 100644 --- a/fibonacci.s +++ b/fibonacci.s | |||
| @@ -13,4 +13,4 @@ loop: addi x5, x5, 4 | |||
| 13 | add x30, x28, x29 | 13 | add x30, x28, x29 |
| 14 | sw x30, 0(x5) | 14 | sw x30, 0(x5) |
| 15 | blt x5, x9, loop | 15 | blt x5, x9, loop |
| 16 | done: bne x5, x9 done \ No newline at end of file | 16 | done: bne x5, x9 done |
diff --git a/my_computer_tb.v b/my_computer_tb.v index 3c37728..f1cccbb 100644 --- a/my_computer_tb.v +++ b/my_computer_tb.v | |||
| @@ -16,8 +16,8 @@ module my_computer_tb(); | |||
| 16 | begin | 16 | begin |
| 17 | reset <= 1; clk = 1; | 17 | reset <= 1; clk = 1; |
| 18 | #22; reset <= 0; | 18 | #22; reset <= 0; |
| 19 | #1000; | 19 | #3000; |
| 20 | $stop; | 20 | $stop; |
| 21 | end | 21 | end |
| 22 | 22 | ||
| 23 | endmodule \ No newline at end of file | 23 | endmodule |
