mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
289024fd89
- Creating an arbitrary 'src' directory really doesn't help much... - Goal is to make each folder self contained - Make meta repos and individual repos have the same directory structure
20 lines
615 B
Verilog
20 lines
615 B
Verilog
//#############################################################################
|
|
//# Function: And-Or (ao222) Gate #
|
|
//# Copyright: OH Project Authors. ALl rights Reserved. #
|
|
//# License: MIT (see LICENSE file in OH repository) #
|
|
//#############################################################################
|
|
|
|
module asic_ao222 #(parameter PROP = "DEFAULT") (
|
|
input a0,
|
|
input a1,
|
|
input b0,
|
|
input b1,
|
|
input c0,
|
|
input c1,
|
|
output z
|
|
);
|
|
|
|
assign z = (a0 & a1) | (b0 & b1) | (c0 & c1);
|
|
|
|
endmodule
|