Sign in
foss-fpga-tools
/
prjxray
/
dc57828773d697d64d3e303eac8f57a0a581fc5d
/
.
/
minitests
/
timing
/
top_counter.v
blob: aa60954cc98c9635548726543b8e9d098a478318 [
file
] [
log
] [
blame
]
module
top
(
input clk
,
stb
,
di
,
output
do
);
reg
[
31
:
0
]
counter
=
0
;
assign
do
=
&
counter
;
always
@(
posedge clk
)
begin
counter
<=
counter
+
1
;
end
endmodule