Rename RTC to RTCTick to clarify that it needs to be a Boolean signal, not a Clock type signal

This commit is contained in:
Megan Wachs committed 2016-09-02 15:14:39 -07:00
1 parent 8163a6b597
commit af364bc7bc
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ class BasePlatformConfig extends Config (
case ConfigString => makeConfigString()
case GlobalAddrMap => globalAddrMap
case RTCPeriod => 100 // gives 10 MHz RTC assuming 1 GHz uncore clock
case RTC => (p: Parameters, t_io: Bundle, p_io:Bundle) => Counter(p(RTCPeriod)).inc()
case RTCTick => (p: Parameters, t_io: Bundle, p_io:Bundle) => Counter(p(RTCPeriod)).inc()
case _ => throw new CDEMatchError
}})