Sign in
foss-fpga-tools
/
third_party
/
yosys
/
de3476cc233c1c78d3e956aa7e9bd1003ac37f66
/
.
/
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