1
0
mirror of https://github.com/olofk/serv.git synced 2026-01-11 23:42:50 +00:00

Wire up servant.q output to both LED1 and UART TX

This commit is contained in:
Dave Dribin 2021-06-27 23:31:03 -05:00 committed by Olof Kindgren
parent c561979c8e
commit 57af7204d1
2 changed files with 8 additions and 2 deletions

View File

@ -6,3 +6,5 @@ set_io o_led1 56
set_io o_led2 57
set_io o_led3 59
set_io o_led4 60
set_io o_uart_tx 74

View File

@ -4,7 +4,8 @@ module service_go_board
output wire o_led1,
output wire o_led2 = 1'b0,
output wire o_led3 = 1'b0,
output wire o_led4 = 1'b0);
output wire o_led4 = 1'b0,
output wire o_uart_tx);
parameter memfile = "blinky.hex";
parameter memsize = 512;
@ -19,12 +20,15 @@ module service_go_board
end
end
wire q;
servant
#(.memfile (memfile),
.memsize (memsize))
servant
(.wb_clk (i_clk),
.wb_rst (rst_r),
.q (o_led1));
.q (q));
assign o_led1 = q;
assign o_uart_tx = q;
endmodule