/******************************************************************************/
/* */
/* Copyright (c) 1999 Sun Microsystems, Inc. All rights reserved. */
/* */
/* The contents of this file are subject to the current version of the Sun */
/* Community Source License, microSPARCII ("the License"). You may not use */
/* this file except in compliance with the License. You may obtain a copy */
/* of the License by searching for "Sun Community Source License" on the */
/* World Wide Web at http://www.sun.com. See the License for the rights, */
/* obligations, and limitations governing use of the contents of this file. */
/* */
/* Sun Microsystems, Inc. has intellectual property rights relating to the */
/* technology embodied in these files. In particular, and without limitation, */
/* these intellectual property rights may include one or more U.S. patents, */
/* foreign patents, or pending applications. */
/* */
/* Sun, Sun Microsystems, the Sun logo, all Sun-based trademarks and logos, */
/* Solaris, Java and all Java-based trademarks and logos are trademarks or */
/* registered trademarks of Sun Microsystems, Inc. in the United States and */
/* other countries. microSPARC is a trademark or registered trademark of */
/* SPARC International, Inc. All SPARC trademarks are used under license and */
/* are trademarks or registered trademarks of SPARC International, Inc. in */
/* the United States and other countries. Products bearing SPARC trademarks */
/* are based upon an architecture developed by Sun Microsystems, Inc. */
/* */
/******************************************************************************/
/***************************************************************************
****************************************************************************
***
*** Program File: @(#)column72.v
***
****************************************************************************
****************************************************************************/
// @(#)column72.v 1.1 4/8/92
//
// **************************************************************
// column72 -- 8 to 2 compression for column 72.
// **************************************************************
module column72
(
sum, // compressed sum
carry, // compressed carry
cout1, // non-ripple carry-out
cout2, // ripple carry-out
cin1, // non-ripple carry-in
cin2, // ripple carry-in
x, // multiplicand
y // multiplier
);
//prop CELLCLASS "MODULE"
//prop GENERATOR "DataPath"
//prop TERMPLACE "BIT"
output sum
;
//prop TERMPLACE "BOT"
output carry
;
//prop TERMPLACE "BOT"
output [12:10] cout1
;
//prop TERMPLACE "LEFT"
output [11:9] cout2
;
//prop TERMPLACE "LEFT"
input [12:9] cin1
;
//prop TERMPLACE "RIGHT"
input [11:9] cin2
;
//prop TERMPLACE "RIGHT"
input [7:0] x
;
//prop TERMPLACE "TOP"
input [27:20] y
;
//prop TERMPLACE "LEFT"
wire [27:20] p
; // partial products
wire [12:9] cin1;
wire [11:9] cin2;
wire [11:9] s
; // internal sum's
pproduct_2 pJ (
p[21:20],
x[7:6],
y[21:20]
);
//prop TERMPLACE "POS=15"
add2 aJ (
s[9],
cout2[9],
p[20],
p[21],
cin1[9]
);
//prop TERMPLACE "POS=15"
pproduct_4 pG (
p[25:22],
x[5:2],
y[25:22]
);
//prop TERMPLACE "POS=16"
add4 aG (
s[10],
cout2[10],
cout1[10],
p[22],
p[23],
p[24],
p[25],
cin1[10]
);
//prop TERMPLACE "POS=17"
add4 aL (
s[11],
cout2[11],
cout1[11],
s[9],
s[10],
cin2[9],
cin2[10],
cin1[11]
);
//prop TERMPLACE "POS=18"
pproduct_2 pM (
p[27:26],
x[1:0],
y[27:26]
);
//prop TERMPLACE "POS=19"
add4 aM (
sum,
carry,
cout1[12],
p[27],
s[11],
p[26],
cin2[11],
cin1[12]
);
//prop TERMPLACE "POS=19"
endmodule
This page: |
Created: | Thu Aug 19 11:57:42 1999 |
| From: |
../../../sparc_v8/ssparc/fpu/fp_fpm/rtl/column72.v
|