1
0

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
2016-09-02 15:14:39 -07:00
parent 8163a6b597
commit af364bc7bc
2 changed files with 4 additions and 3 deletions

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
}})