1
0
mirror of https://github.com/olofk/serv.git synced 2026-04-28 13:07:20 +00:00

Add UART decoder

This commit is contained in:
Olof Kindgren
2018-11-19 09:42:42 +01:00
parent f7b396601f
commit 6e034361d4
4 changed files with 68 additions and 15 deletions

View File

@@ -93,7 +93,7 @@ module serv_wrapper
.i_wb_dat (wb_m2s_gpio_dat[0]),
.i_wb_cyc (wb_m2s_gpio_cyc),
.o_wb_ack (wb_s2m_gpio_ack),
.o_gpio (/*q*/));
.o_gpio (q));
reg canary;
@@ -106,7 +106,7 @@ module serv_wrapper
else if (wb_m2s_cpu_dbus_cyc & wb_s2m_cpu_dbus_ack)
canary <= ~canary;
assign q = canary;
// assign q = canary;
assign wb_s2m_gpio_dat = 32'h0;