Sign in
foss-fpga-tools
/
third_party
/
yosys
/
refs/heads/mwk/xilinx-dff-improvements
/
.
/
manual
/
CHAPTER_StateOfTheArt
/
always02_pub.v
blob: 91f1ca16d74b0dddc8d5f8bcaec79af3f3763a98 [
file
] [
log
] [
blame
] [
edit
]
module
uut_always02
(
clock
,
reset
,
count
);
input clock
,
reset
;
output
[
3
:
0
]
count
;
reg
[
3
:
0
]
count
;
always
@(
posedge clock
)
begin
count
<=
count
+
1
;
if
(
reset
)
count
<=
0
;
end
endmodule