Merge branch 'main' into script-trycatch

This commit is contained in:
Jordan Lees
2023-10-07 22:13:24 -07:00
committed by GitHub
2 changed files with 6 additions and 2 deletions

View File

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

View File

@@ -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
# #