From c64dee965fa00a4b7e3c3705da5e226ea56082ed Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 16 Nov 2022 19:55:25 -0600 Subject: Implement JTAG-UART tx emulation --- tb/top/conspiracion.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tb/top/conspiracion.cpp') diff --git a/tb/top/conspiracion.cpp b/tb/top/conspiracion.cpp index 2840b15..789a0df 100644 --- a/tb/top/conspiracion.cpp +++ b/tb/top/conspiracion.cpp @@ -22,6 +22,7 @@ #include "../avalon.hpp" #include "../mem.hpp" +#include "../jtag_uart.hpp" #include "../null.hpp" #include "../window.hpp" #include "../vga.hpp" @@ -197,6 +198,7 @@ int main(int argc, char **argv) interconnect avl_vga(*top.conspiracion->plat->vga); mem hps_ddr3(0x0000'0000, 512 << 20); + jtag_uart ttyj0(0x3000'0000); mem vram(0x3800'0000, 64 << 20); null vram_null(0x3800'0000, 64 << 20, 2); window vram_window(vram, 0x0000'0000); @@ -205,6 +207,7 @@ int main(int argc, char **argv) bool enable_video = !headless; avl.attach(hps_ddr3); + avl.attach(ttyj0); if(enable_video) { -- cgit v1.2.3