Enabling JTAG Debuging in VCU118 FPGA
This commit is contained in:
@@ -36,3 +36,17 @@ class WithDDRMem extends HarnessBinder({
|
||||
ddrClientBundle <> port.io
|
||||
}
|
||||
})
|
||||
|
||||
class WithJTAG extends HarnessBinder({
|
||||
case (th: VCU118FPGATestHarnessImp, port: JTAGPort, chipId: Int) => {
|
||||
val jtag_io = th.vcu118Outer.jtagPlacedOverlay.overlayOutput.jtag.getWrappedValue
|
||||
port.io.TCK := jtag_io.TCK
|
||||
port.io.TMS := jtag_io.TMS
|
||||
port.io.TDI := jtag_io.TDI
|
||||
jtag_io.TDO.data := port.io.TDO
|
||||
jtag_io.TDO.driven := true.B
|
||||
// ignore srst_n
|
||||
jtag_io.srst_n := DontCare
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user