Sign in
foss-eda-tools
/
third_party
/
shuttle
/
sky130
/
mpw-008
/
slot-040
/
13e31a0abe5f9da1d75b9bf9a41fb8be7facad8a
/
.
/
verilog
/
rtl
/
u21.v
blob: 2bd2d62210d6dd15a5cd7d85d1fa45176328b57b [
file
]
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2022 Tamas Hubai
`default_nettype none
module u21 (
input [3:0] in,
output out
);
wire a, b, c, d;
assign {a, b, c, d} = in;
wire x = (a&~b)^c^d;
assign out = x;
endmodule