mirror of
https://github.com/olofk/serv.git
synced 2026-01-11 23:42:50 +00:00
34 lines
582 B
Verilog
34 lines
582 B
Verilog
`default_nettype none
|
|
module servant_cmod_a7
|
|
(
|
|
input wire i_clk,
|
|
input wire i_rst,
|
|
output wire o_uart_tx,
|
|
output wire q);
|
|
|
|
parameter memfile = "zephyr_hello.hex";
|
|
parameter memsize = 8192;
|
|
|
|
wire wb_clk;
|
|
wire wb_rst;
|
|
|
|
assign o_uart_tx = q;
|
|
|
|
servant_cmod_a7_clock_gen
|
|
clock_gen
|
|
(.i_clk (i_clk),
|
|
.i_rst (i_rst),
|
|
.o_clk (wb_clk),
|
|
.o_rst (wb_rst));
|
|
|
|
servant
|
|
#(.memfile (memfile),
|
|
.memsize (memsize))
|
|
servant
|
|
(.wb_clk (wb_clk),
|
|
.wb_rst (wb_rst),
|
|
.q (q));
|
|
|
|
endmodule
|
|
`default_nettype wire
|