Sign in
foss-eda-tools
/
third_party
/
shuttle
/
gf180mcu
/
mpw-000
/
slot-019
/
33ffc1af6ebf2112dd04198abe6e3068250ceeee
/
.
/
verilog
/
rtl
/
u21.v
blob: 2bd2d62210d6dd15a5cd7d85d1fa45176328b57b [
file
] [
log
] [
blame
]
// 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