1
0
mirror of https://github.com/olofk/serv.git synced 2026-01-13 15:17:25 +00:00
olofk.serv/rtl/wb_gpio.v
2018-11-21 13:15:33 +01:00

12 lines
201 B
Verilog

module wb_gpio
(
input wire i_wb_clk,
input wire i_wb_dat,
input wire i_wb_cyc,
output reg o_gpio);
always @(posedge i_wb_clk)
if (i_wb_cyc)
o_gpio <= i_wb_dat;
endmodule