Sign in
foss-fpga-tools
/
third_party
/
Surelog
/
356a4bf2123fc606ca19fbed9b9c535f149fdec5
/
.
/
SVIncCompil
/
Testcases
/
YosysTests
/
regression
/
issue_00171
/
top.v
blob: 1df019e73ef955aac3329ae23fdcd07dcb1a234c [
file
] [
log
] [
blame
]
module
top
(
clk
,
rst
,
en
,
count
);
input clk
,
rst
,
en
;
output reg
[
3
:
0
]
count
;
always
@(
posedge clk
)
if
(
rst
)
count
<=
4
'd0;
else if (en)
count <= count + 4'
d1
;
endmodule