/******************************************************************************/
/* */
/* 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: @(#)column6.v
***
****************************************************************************
****************************************************************************/
// @(#)column6.v 1.1 4/8/92
//
// **************************************************************
// column6 -- 7 to 2 compression for column 6.
// **************************************************************
module column6
(
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
pass, // pass = {0,1}
fbs, // feedback sum
fbc // feedback carry
);
//prop CELLCLASS "MODULE"
//prop GENERATOR "DataPath"
//prop TERMPLACE "BIT"
supply0 GND
;
//prop NETTYPE "GROUND"
output sum
;
//prop TERMPLACE "BOT"
output carry
;
//prop TERMPLACE "BOT"
output [3:0] cout1
;
//prop TERMPLACE "LEFT"
output [2:0] cout2
;
//prop TERMPLACE "LEFT"
input [2:0] cin1
;
//prop TERMPLACE "RIGHT"
input [1:0] cin2
;
//prop TERMPLACE "RIGHT"
input [27:21] x
;
//prop TERMPLACE "TOP"
input [6:0] y
;
//prop TERMPLACE "LEFT"
input pass
;
//prop TERMPLACE "LEFT"
input fbs
;
//prop TERMPLACE "BOT"
input fbc
;
//prop TERMPLACE "BOT"
wire [8:0] p
; // partial products
wire [2:0] cin1;
wire [1:0] cin2;
wire [2:0] s
; // internal sum's
wire pass;
wire fbs;
wire fbc;
pproduct_4 pA (
p[3:0],
x[27:24],
y[3:0]
);
//prop TERMPLACE "POS=0"
add4 aA (
s[0],
cout2[0],
cout1[0],
p[0],
p[1],
p[2],
p[3],
cin1[0]
);
//prop TERMPLACE "POS=1"
pproduct_3 pB (
p[6:4],
x[23:21],
y[6:4]
);
//prop TERMPLACE "POS=2"
add3 aB (
s[1],
cout2[1],
cout1[1],
p[4],
p[5],
p[6],
cin1[1]
);
//prop TERMPLACE "POS=3"
add4 aH (
s[2],
cout2[2],
cout1[2],
s[0],
s[1],
cin2[0],
cin2[1],
GND
);
//prop TERMPLACE "POS=4"
pproduct23 pK (
p[8:7],
pass,
fbs,
fbc
);
//prop TERMPLACE "POS=5"
add3 aK (
sum,
carry,
cout1[3],
s[2],
p[7],
p[8],
cin1[2]
);
//prop TERMPLACE "POS=6"
endmodule
This page: |
Created: | Thu Aug 19 12:00:14 1999 |
| From: |
../../../sparc_v8/ssparc/fpu/fp_fpm/rtl/column6.v
|