summaryrefslogtreecommitdiff
path: root/tb/top/conspiracion.cpp
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-11-16 19:55:25 -0600
committerAlejandro Soto <alejandro@34project.org>2022-11-16 23:32:25 -0600
commitc64dee965fa00a4b7e3c3705da5e226ea56082ed (patch)
tree2c7371ac62b3b3870b61e411a4a71aa5c1eb281e /tb/top/conspiracion.cpp
parent9805cd20d7106082d9a337a1104b4c857f91b514 (diff)
Implement JTAG-UART tx emulation
Diffstat (limited to '')
-rw-r--r--tb/top/conspiracion.cpp3
1 files changed, 3 insertions, 0 deletions
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<Vconspiracion_vga_domain> avl_vga(*top.conspiracion->plat->vga);
mem<std::uint32_t> hps_ddr3(0x0000'0000, 512 << 20);
+ jtag_uart ttyj0(0x3000'0000);
mem<std::uint16_t> 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)
{