Sign in
◑
Theme
foss-fpga-tools
/
third_party
/
yosys
/
ab98f2dccf52a1bba396fe313ea0670603dc45ca
/
.
/
tests
/
arch
/
xilinx
/
counter.v
blob: 52852f8aca90fdb3a7eb6495c059aade4320f08d [
file
]
module
top
(
out
,
clk
,
reset
);
output
[
7
:
0
]
out
;
input clk
,
reset
;
reg
[
7
:
0
]
out
;
always
@(
posedge clk
,
posedge reset
)
if
(
reset
)
begin
out
<=
8
'b0 ;
end else
out <= out + 1;
endmodule