mirror of
https://github.com/olofk/serv.git
synced 2025-04-21 12:27:08 -04:00
30 lines
537 B
Verilog
30 lines
537 B
Verilog
`default_nettype none
|
|
module servix
|
|
(
|
|
input wire i_clk,
|
|
output wire q);
|
|
|
|
parameter frequency = 32;
|
|
parameter memfile = "zephyr_hello.hex";
|
|
parameter memsize = 8192;
|
|
parameter PLL = "NONE";
|
|
|
|
wire wb_clk;
|
|
wire wb_rst;
|
|
|
|
servix_clock_gen
|
|
#(.frequency (frequency))
|
|
clock_gen
|
|
(.i_clk (i_clk),
|
|
.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
|