mirror of
https://github.com/aolofsson/oh.git
synced 2025-02-07 06:44:09 +08:00
-Can be used to select between different cells (like sizes) that have the exact same logical function
17 lines
556 B
Verilog
17 lines
556 B
Verilog
//#############################################################################
|
|
//# Function: 3-Input Exclusive-Nor Gate #
|
|
//# Copyright: OH Project Authors. ALl rights Reserved. #
|
|
//# License: MIT (see LICENSE file in OH repository) #
|
|
//#############################################################################
|
|
|
|
module asic_xnor3 #(parameter PROP = "DEFAULT") (
|
|
input a,
|
|
input b,
|
|
input c,
|
|
output z
|
|
);
|
|
|
|
assign z = ~(a ^ b ^ c);
|
|
|
|
endmodule
|