mirror of https://github.com/lnis-uofu/SOFA.git
19 lines
270 B
Coq
19 lines
270 B
Coq
|
/////////////////////////////////////////
|
||
|
// Functionality: 2-input AND
|
||
|
// Author: Xifan Tang
|
||
|
////////////////////////////////////////
|
||
|
`timescale 1ns / 1ps
|
||
|
|
||
|
module and2(
|
||
|
a,
|
||
|
b,
|
||
|
c);
|
||
|
|
||
|
input wire a;
|
||
|
input wire b;
|
||
|
output wire c;
|
||
|
|
||
|
assign c = a & b;
|
||
|
|
||
|
endmodule
|