Sign in
◑
Theme
foss-fpga-tools
/
symbiflow-arch-defs
/
f46fcdb2ce3d8c6bcf5ad605a63c39c2425de177
/
.
/
lattice
/
ice40
/
tests
/
icelut
/
xor4
/
lut.v
blob: 8902ae91af04c1ca968034cbfd6b094aca52e8c1 [
file
]
// 4-input, xor LUT test.
module
top
(
(*
keep
*)
input
[
3
:
0
]
I
,
output O
);
always
@(
I
)
case
(
I
)
4
'b1000 : O = 1;
4'
b0100
:
O
=
1
;
4
'b0010 : O = 1;
4'
b0001
:
O
=
1
;
default
:
O
=
0
;
endcase
endmodule
// top