Merge branch 'main' into script-trycatch
This commit is contained in:
@@ -106,7 +106,11 @@ class WithBlockDeviceModel extends OverrideHarnessBinder({
|
|||||||
class WithLoopbackNIC extends OverrideHarnessBinder({
|
class WithLoopbackNIC extends OverrideHarnessBinder({
|
||||||
(system: CanHavePeripheryIceNIC, th: HasHarnessInstantiators, ports: Seq[ClockedIO[NICIOvonly]]) => {
|
(system: CanHavePeripheryIceNIC, th: HasHarnessInstantiators, ports: Seq[ClockedIO[NICIOvonly]]) => {
|
||||||
implicit val p: Parameters = GetSystemParameters(system)
|
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))
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
# replaces a `include with the full include file
|
# replaces a `include with the full include file
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user