mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
20 lines
718 B
Verilog
20 lines
718 B
Verilog
//#############################################################################
|
|
//# Function: And-Or (ao211) Gate #
|
|
//# #
|
|
//# Copyright: OH Project Authors. All rights Reserved. #
|
|
//# License: MIT (see LICENSE file in OH repository) #
|
|
//#############################################################################
|
|
|
|
module oh_ao211 #(parameter DW = 1 ) // array width
|
|
(
|
|
input [DW-1:0] a0,
|
|
input [DW-1:0] a1,
|
|
input [DW-1:0] b0,
|
|
input [DW-1:0] c0,
|
|
output [DW-1:0] z
|
|
);
|
|
|
|
assign z = (a0 & a1) | b0 | c0;
|
|
|
|
endmodule
|