Skip to content

Commit 1a8dae9

Browse files
authored
Merge pull request #3728 from tymcauley/fix-axi4-monitors
Resolve no-implicit-clock error with AXI4 monitors
2 parents 0ea2deb + b108de3 commit 1a8dae9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: src/main/scala/subsystem/Ports.scala

+3-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ trait CanHaveMasterAXI4MemPort { this: BaseSubsystem =>
105105
})
106106

107107
mbus.coupleTo(s"memory_controller_port_named_$portName") {
108-
(memAXI4Node
109-
:= AXI4UserYanker()
108+
// Disable monitors on this connection since the class with this trait (i.e. DigitalTop) doesn't provide an
109+
// implicit clock for the monitor.
110+
(DisableMonitors { implicit p => memAXI4Node := AXI4UserYanker() }
110111
:= AXI4IdIndexer(idBits)
111112
:= TLToAXI4()
112113
:= TLWidthWidget(mbus.beatBytes)

0 commit comments

Comments
 (0)