1
0

rocketchip: connect rtcTick to coreplex

This commit is contained in:
Wesley W. Terpstra 2016-10-29 13:13:11 -07:00
parent 4a0b29850c
commit f943c5d6ef

View File

@ -76,6 +76,8 @@ trait TopNetworkModule extends HasPeripheryParameters {
val coreplexRtc : Bool = Wire(outer.coreplex.module.io.rtcTick) val coreplexRtc : Bool = Wire(outer.coreplex.module.io.rtcTick)
io.success := outer.coreplex.module.io.success io.success := outer.coreplex.module.io.success
outer.coreplex.module.io.rtcTick := coreplexRtc
coreplexRtc := Counter(p(rocketchip.RTCPeriod)).inc() coreplexRtc := Counter(p(rocketchip.RTCPeriod)).inc()
} }