Sign in
foss-fpga-tools
/
third_party
/
yosys
/
4c2d62821394896d5c4fdfccc496421822a3d1a2
/
.
/
manual
/
CHAPTER_StateOfTheArt
/
always01_pub.v
blob: 6a6a4b23138c9154ec209ddfbff01ac32d91c564 [
file
]
module
uut_always01
(
clock
,
reset
,
count
);
input clock
,
reset
;
output
[
3
:
0
]
count
;
reg
[
3
:
0
]
count
;
always
@(
posedge clock
)
count
<=
reset
?
0
:
count
+
1
;
endmodule