1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00
oh/stdlib/rtl/oh_or3.v
Andreas.Olofsson e631bfe3f1 Fixing naming error
-The directory should contain rtl only.
-HDL is too broad a term
2022-06-22 11:04:54 -04:00

19 lines
679 B
Verilog

//#############################################################################
//# Function: 3 Input Or Gate #
//# #
//# Copyright: OH Project Authors. All rights Reserved. #
//# License: MIT (see LICENSE file in OH repository) #
//#############################################################################
module oh_or3 #(parameter DW = 1 ) // array width
(
input [DW-1:0] a,
input [DW-1:0] b,
input [DW-1:0] c,
output [DW-1:0] z
);
assign z = a | b | c ;
endmodule