mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-30 02:32:53 +08:00
9e41b55f22
-Can be used to select between different cells (like sizes) that have the exact same logical function
19 lines
596 B
Verilog
19 lines
596 B
Verilog
//#############################################################################
|
|
//# Function: And-Or (ao221) Gate #
|
|
//# Copyright: OH Project Authors. All rights Reserved. #
|
|
//# License: MIT (see LICENSE file in OH repository) #
|
|
//#############################################################################
|
|
|
|
module asic_ao221 #(parameter PROP = "DEFAULT") (
|
|
input a0,
|
|
input a1,
|
|
input b0,
|
|
input b1,
|
|
input c0,
|
|
output z
|
|
);
|
|
|
|
assign z = (a0 & a1) | (b0 & b1) | (c0);
|
|
|
|
endmodule
|