Sign in
foss-fpga-tools
/
third_party
/
yosys
/
a3a7bb9bf7160d434db7a4737e68f6b015b221ef
/
.
/
examples
/
mimas2
/
example.v
blob: 2a91173936aa7c3ffaff580999d9f420a39e6551 [
file
]
module
example
(
input wire CLK
,
output wire
[
7
:
0
]
LED
);
reg
[
27
:
0
]
ctr
;
initial ctr
=
0
;
always
@(
posedge CLK
)
ctr
<=
ctr
+
1
;
assign LED
=
ctr
[
27
:
20
];
endmodule