Skip to content

Commit

Permalink
Fix BoringUtils.bore can not bore from a Probe
Browse files Browse the repository at this point in the history
  • Loading branch information
sequencer committed Oct 7, 2023
1 parent 668d638 commit 6da1731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/chisel3/util/experimental/BoringUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ object BoringUtils {
val lcaSource = drill(source, upPath.dropRight(1), upPath.dropRight(1), true)
val sink = drill(lcaSource, downPath.reverse.tail, downPath.reverse, false)

if (createProbe.nonEmpty) {
if (createProbe.nonEmpty || DataMirror.hasProbeTypeModifier(purePortTypeBase)) {
sink
} else {
// Creating a wire to assign the result to. We will return this.
Expand Down

0 comments on commit 6da1731

Please sign in to comment.