Kunal Pai has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/64013?usp=email )

Change subject: stdlib: Edit RiscvMatched RTC
......................................................................

stdlib: Edit RiscvMatched RTC

Fixed the bug that made FS mode break.
Changed RTC value as fix.

Change-Id: I0effa1ecd32a8a8845e619d940f8e0efe549cfc1
---
M src/python/gem5/prebuilt/riscvmatched/riscvmatched_board.py
1 file changed, 13 insertions(+), 3 deletions(-)



diff --git a/src/python/gem5/prebuilt/riscvmatched/riscvmatched_board.py b/src/python/gem5/prebuilt/riscvmatched/riscvmatched_board.py
index 986f29e..469010c 100644
--- a/src/python/gem5/prebuilt/riscvmatched/riscvmatched_board.py
+++ b/src/python/gem5/prebuilt/riscvmatched/riscvmatched_board.py
@@ -104,8 +104,6 @@
     Details can be found on page 77, section 7.1 of the datasheet.

Datasheet for inbuilt params can be found here: https://sifive.cdn.prismic.io/sifive/1a82e600-1f93-4f41-b2d8-86ed8b16acba_fu740-c000-manual-v1p6.pdf
-
-    NOTE: FS Mode does not work yet.
     """

     def __init__(
@@ -153,7 +151,7 @@

             # Add the RTC
             self.platform.rtc = RiscvRTC(
-                frequency=Frequency("1MHz")
+                frequency=Frequency("100MHz")
             )  # page 77, section 7.1
             self.platform.clint.int_pin = self.platform.rtc.int_pin


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/64013?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I0effa1ecd32a8a8845e619d940f8e0efe549cfc1
Gerrit-Change-Number: 64013
Gerrit-PatchSet: 1
Gerrit-Owner: Kunal Pai <kun...@ucdavis.edu>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org

Reply via email to