URL
https://opencores.org/ocsvn/mips32r1/mips32r1/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 2 |
Rev 3 |
`timescale 1ns / 1ps
|
`timescale 1ns / 1ps
|
/*
|
/*
|
* File : Add.v
|
* File : Add.v
|
* Project : University of Utah, XUM Project MIPS32 core
|
* Project : University of Utah, XUM Project MIPS32 core
|
* Creator(s) : Grant Ayers (ayers@cs.utah.edu)
|
* Creator(s) : Grant Ayers (ayers@cs.utah.edu)
|
*
|
*
|
* Modification History:
|
* Modification History:
|
* Rev Date Initials Description of Change
|
* Rev Date Initials Description of Change
|
* 1.0 7-Jun-2011 GEA Initial design.
|
* 1.0 7-Jun-2011 GEA Initial design.
|
*
|
*
|
* Standards/Formatting:
|
* Standards/Formatting:
|
* Verilog 2001, 4 soft tab, wide column.
|
* Verilog 2001, 4 soft tab, wide column.
|
*
|
*
|
* Description:
|
* Description:
|
* A simple 32-bit 2-input adder.
|
* A simple 32-bit 2-input adder.
|
*/
|
*/
|
module Add(
|
module Add(
|
input [31:0] A,
|
input [31:0] A,
|
input [31:0] B,
|
input [31:0] B,
|
output [31:0] C
|
output [31:0] C
|
);
|
);
|
|
|
assign C = (A + B);
|
assign C = (A + B);
|
|
|
endmodule
|
endmodule
|
|
|
No newline at end of file
|
No newline at end of file
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.