Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/main/scala/vexriscv/demo/smp/VexRiscvSmpCluster.scala
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,14 @@ class VexRiscvSmpClusterBase(p : VexRiscvSmpClusterParameter) extends Area with
debugCd = ClockDomain.current
)
dm.io.ctrl <> transport.io.bus
// Per-signal toIo: io.swd is an anonymous nested Bundle, so cloneOf (and therefore
// whole-bundle toIo) fails on it. Names are pinned explicitly because the LiteX
// black-box port map in vexriscv_smp/core.py depends on them.
// Per-signal toIo rather than transport.io.swd.toIo: the names are pinned because the
// LiteX black-box port map in vexriscv_smp/core.py depends on them (i/o/oe, not the
// TriState read/write/writeEnable of spinal.lib.com.swd.Swd).
val debugPort = Handle(new Area {
val swclk = transport.io.swd.swclk .toIo.setName("debugPort_swclk")
val swdio_i = transport.io.swd.swdio.i .toIo.setName("debugPort_swdio_i")
val swdio_o = transport.io.swd.swdio.o .toIo.setName("debugPort_swdio_o")
val swdio_oe = transport.io.swd.swdio.oe .toIo.setName("debugPort_swdio_oe")
val swclk = transport.io.swd.swclk .toIo.setName("debugPort_swclk")
val swdio_i = transport.io.swd.swdio.read .toIo.setName("debugPort_swdio_i")
val swdio_o = transport.io.swd.swdio.write .toIo.setName("debugPort_swdio_o")
val swdio_oe = transport.io.swd.swdio.writeEnable .toIo.setName("debugPort_swdio_oe")
})
}
})
Expand Down
196 changes: 0 additions & 196 deletions src/test/scala/vexriscv/DebugSwdDmTest.scala

This file was deleted.

166 changes: 0 additions & 166 deletions src/test/scala/vexriscv/DebugSwdDpTest.scala

This file was deleted.

Loading
Loading