1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-02-07 06:44:09 +08:00
oh/stdlib/rtl/oh_and4.v

20 lines
703 B
Coq
Raw Normal View History

2021-07-29 11:22:25 -04:00
//#############################################################################
//# Function: 4 Input And Gate #
//# #
//# Copyright: OH Project Authors. ALl rights Reserved. #
//# License: MIT (see LICENSE file in OH repository) #
//#############################################################################
module oh_and4 #(parameter DW = 1 ) // array width
(
input [DW-1:0] a,
input [DW-1:0] b,
input [DW-1:0] c,
input [DW-1:0] d,
output [DW-1:0] z
);
assign z = (a&b&c&d);
endmodule