Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
d4bc91e228686cd8ec9eee019b4f0db9b7bc26cb
/
.
/
SVIncCompil
/
Testcases
/
YosysTestSuite
/
arch
/
common
/
counter.v
blob: 9746fd701319a77ae4ea3c08bc8c0d37ee1fd28a [
file
] [
log
] [
blame
]
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