Respect DontTouchChipTopPorts key

This commit is contained in:
Jerry Zhao
2023-10-31 08:32:03 -07:00
parent 3fa3d745b9
commit 88a33be7e5

View File

@@ -96,9 +96,11 @@ trait HasHarnessInstantiators {
ApplyMultiHarnessBinders(this, lazyDuts)
}
duts.map(_ match {
case d: DontTouch => d.dontTouchPorts()
})
if (p(DontTouchChipTopPorts)) {
duts.map(_ match {
case d: DontTouch => d.dontTouchPorts()
})
}
val harnessBinderClk = harnessClockInstantiator.requestClockMHz("harnessbinder_clock", getHarnessBinderClockFreqMHz)
println(s"Harness binder clock is $harnessBinderClockFreq")