Skip to content

Commit

Permalink
Fix icenet-loopback clock and reset domain (#1612)
Browse files Browse the repository at this point in the history
* Fix

* Bump icenet

* revert icenet bump | fix harnessbinders
  • Loading branch information
joonho3020 authored Oct 6, 2023
1 parent 6b5d55c commit a524adb
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ class WithBlockDeviceModel extends OverrideHarnessBinder({
class WithLoopbackNIC extends OverrideHarnessBinder({
(system: CanHavePeripheryIceNIC, th: HasHarnessInstantiators, ports: Seq[ClockedIO[NICIOvonly]]) => {
implicit val p: Parameters = GetSystemParameters(system)
ports.map { n => NicLoopback.connect(Some(n.bits), p(NICKey)) }
ports.map { n =>
withClockAndReset(n.clock, th.harnessBinderReset.asBool) {
NicLoopback.connect(Some(n.bits), p(NICKey))
}
}
}
})

Expand Down

0 comments on commit a524adb

Please sign in to comment.