mirror of
https://github.com/SpinalHDL/VexRiscv.git
synced 2025-01-03 03:43:39 -05:00
Avalon: Debug Clock Domain for JTAG
This change ensures that the clock domain for the JTAG interface uses the debug plugin's domain. Otherwise, resetting the processor will put the jtag debugger in to reset as well. See SpinalHDL/VexRiscv#48
This commit is contained in:
parent
6334f430fe
commit
961abb3cf1
2 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ object VexRiscvAvalonWithIntegratedJtag{
|
|||
.setName("dBusAvalon")
|
||||
.addTag(ClockDomainTag(ClockDomain.current))
|
||||
}
|
||||
case plugin: DebugPlugin => {
|
||||
case plugin: DebugPlugin => plugin.debugClockDomain {
|
||||
plugin.io.bus.setAsDirectionLess()
|
||||
val jtag = slave(new Jtag())
|
||||
.setName("jtag")
|
||||
|
|
|
@ -163,7 +163,7 @@ object VexRiscvAxi4WithIntegratedJtag{
|
|||
.setName("dBusAxi")
|
||||
.addTag(ClockDomainTag(ClockDomain.current))
|
||||
}
|
||||
case plugin: DebugPlugin => {
|
||||
case plugin: DebugPlugin => plugin.debugClockDomain {
|
||||
plugin.io.bus.setAsDirectionLess()
|
||||
val jtag = slave(new Jtag())
|
||||
.setName("jtag")
|
||||
|
|
Loading…
Reference in a new issue