Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
1c596881d1a7fc4baa7972b1f16b2e3d461aa200
/
.
/
src
/
Testcases
/
YosysTestSuite
/
arch
/
common
/
counter.v
blob: 9746fd701319a77ae4ea3c08bc8c0d37ee1fd28a [
file
]
module
top
(
out
,
clk
,
reset
);
output
[
7
:
0
]
out
;
input clk
,
reset
;
reg
[
7
:
0
]
out
;
always
@(
posedge clk
,
posedge reset
)
if
(
reset
)
out
<=
8
'b0;
else
out <= out + 1;
endmodule