mirror of
https://github.com/olofk/serv.git
synced 2026-05-01 22:25:57 +00:00
Added support for Trenz Electronic TE0802
This commit is contained in:
committed by
Olof Kindgren
parent
007f42850d
commit
7e7b453eb0
33
servant/servant_te0802.v
Normal file
33
servant/servant_te0802.v
Normal file
@@ -0,0 +1,33 @@
|
||||
`default_nettype none
|
||||
module servant_te0802
|
||||
(
|
||||
input wire i_clk,
|
||||
output wire o_uart_tx,
|
||||
output wire o_led_0
|
||||
);
|
||||
|
||||
parameter memfile = "zephyr_hello.hex";
|
||||
parameter memsize = 8192;
|
||||
|
||||
wire clk;
|
||||
wire rst;
|
||||
wire q;
|
||||
|
||||
assign o_uart_tx = q;
|
||||
assign o_led_0 = q;
|
||||
|
||||
servant_te0802_clock_gen
|
||||
clock_gen
|
||||
(.i_clk (i_clk),
|
||||
.o_clk (clk),
|
||||
.o_rst (rst));
|
||||
|
||||
servant
|
||||
#(.memfile (memfile),
|
||||
.memsize (memsize))
|
||||
servant
|
||||
(.wb_clk (clk),
|
||||
.wb_rst (rst),
|
||||
.q (q));
|
||||
|
||||
endmodule
|
||||
Reference in New Issue
Block a user