63 lines
908 B
Coq
63 lines
908 B
Coq
// Name: logic_32_bit.v
|
|
// Module:
|
|
// Input:
|
|
// Output:
|
|
//
|
|
// Notes: Common definitions
|
|
//
|
|
//
|
|
// Revision History:
|
|
//
|
|
// Version Date Who email note
|
|
//------------------------------------------------------------------------------------------
|
|
// 1.0 Sep 02, 2014 Kaushik Patra kpatra@sjsu.edu Initial creation
|
|
//------------------------------------------------------------------------------------------
|
|
//
|
|
|
|
// 32-bit NOR
|
|
module NOR32_2x1(Y,A,B);
|
|
//output
|
|
output [31:0] Y;
|
|
//input
|
|
input [31:0] A;
|
|
input [31:0] B;
|
|
|
|
// TBD
|
|
|
|
endmodule
|
|
|
|
// 32-bit AND
|
|
module AND32_2x1(Y,A,B);
|
|
//output
|
|
output [31:0] Y;
|
|
//input
|
|
input [31:0] A;
|
|
input [31:0] B;
|
|
|
|
// TBD
|
|
|
|
endmodule
|
|
|
|
// 32-bit inverter
|
|
module INV32_1x1(Y,A);
|
|
//output
|
|
output [31:0] Y;
|
|
//input
|
|
input [31:0] A;
|
|
|
|
// TBD
|
|
|
|
endmodule
|
|
|
|
// 32-bit OR
|
|
module OR32_2x1(Y,A,B);
|
|
//output
|
|
output [31:0] Y;
|
|
//input
|
|
input [31:0] A;
|
|
input [31:0] B;
|
|
|
|
// TBD
|
|
|
|
endmodule
|