HierarchyFilesModulesSignalsTasksFunctionsHelp

/******************************************************************************/ 
/*                                                                            */ 
/* 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:  @(#)column52.v
***
****************************************************************************
****************************************************************************/

//  @(#)column52.v	1.1  4/8/92
//
// **************************************************************
//  column52 -- 28 to 2 compression for column 52.
// **************************************************************

[Up: array col52]
module column52  (
		    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:0] cout1;
	//prop TERMPLACE "LEFT"
    output [11:0] cout2;
	//prop TERMPLACE "LEFT"
    input  [12:0] cin1;
	//prop TERMPLACE "RIGHT"
    input  [11:0] cin2;
	//prop TERMPLACE "RIGHT"
    input  [27:0] x;
	//prop TERMPLACE "TOP"
    input  [27:0] y;
	//prop TERMPLACE "LEFT"

    wire  [27:0] p;		// partial products
    wire  [12:0] cin1;
    wire  [11:0] cin2;
    wire  [11:0] s;		// internal sum's

    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_4 pB (
	    p[7:4],
	    x[23:20],
	    y[7:4]
	    );
	    //prop TERMPLACE "POS=2"

    add4 aB  (
	    s[1],
	    cout2[1],
	    cout1[1],
	    p[4],
	    p[5],
	    p[6],
	    p[7],
	    cin1[1]
	    );
	    //prop TERMPLACE "POS=3"

    add4 aH  (
	    s[2],
	    cout2[2],
	    cout1[2],
	    s[0],
	    s[1],
	    cin2[0],
	    cin2[1],
	    cin1[2]
	    );
	    //prop TERMPLACE "POS=4"

    pproduct_4 pC (
	    p[11:8],
	    x[19:16],
	    y[11:8]
	    );
	    //prop TERMPLACE "POS=5"

    add4 aC  (
	    s[3],
	    cout2[3],
	    cout1[3],
	    p[8],
	    p[9],
	    p[10],
	    p[11],
	    cin1[3]
	    );
	    //prop TERMPLACE "POS=6"

    pproduct_4 pD (
	    p[15:12],
	    x[15:12],
	    y[15:12]
	    );
	    //prop TERMPLACE "POS=7"

    add4 aD  (
	    s[4],
	    cout2[4],
	    cout1[4],
	    p[12],
	    p[13],
	    p[14],
	    p[15],
	    cin1[4]
	    );
	    //prop TERMPLACE "POS=8"

    add4 aI  (
	    s[5],
	    cout2[5],
	    cout1[5],
	    s[3],
	    s[4],
	    cin2[3],
	    cin2[4],
	    cin1[5]
	    );
	    //prop TERMPLACE "POS=9"
 
    add4 aK  (
	    s[6],
	    cout2[6],
	    cout1[6],
	    s[2],
	    s[5],
	    cin2[2],
	    cin2[5],
	    cin1[6]
	    );
	    //prop TERMPLACE "POS=10"

    pproduct_4 pE (
	    p[19:16],
	    x[11:8],
	    y[19:16]
	    );
	    //prop TERMPLACE "POS=11"

    add4 aE  (
	    s[7],
	    cout2[7],
	    cout1[7],
	    p[16],
	    p[17],
	    p[18],
	    p[19],
	    cin1[7]
	    );
	    //prop TERMPLACE "POS=12"

    pproduct_4 pF (
	    p[23:20],
	    x[7:4],
	    y[23:20]
	    );
	    //prop TERMPLACE "POS=13"

    add4 aF  (
	    s[8],
	    cout2[8],
	    cout1[8],
	    p[20],
	    p[21],
	    p[22],
	    p[23],
	    cin1[8]
	    );
	    //prop TERMPLACE "POS=14"

    add4 aJ  (
	    s[9],
	    cout2[9],
	    cout1[9],
	    s[7],
	    s[8],
	    cin2[7],
	    cin2[8],
	    cin1[9]
	    );
	    //prop TERMPLACE "POS=15"

    pproduct_4 pG (
	    p[27:24],
	    x[3:0],
	    y[27:24]
	    );
	    //prop TERMPLACE "POS=16"

    add4 aG  (
	    s[10],
	    cout2[10],
	    cout1[10],
	    p[24],
	    p[25],
	    p[26],
	    p[27],
	    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"

    add4 aM  (
	    sum,
	    carry,
	    cout1[12],
	    s[6],
	    s[11],
	    cin2[6],
	    cin2[11],
	    cin1[12]
	    );
	    //prop TERMPLACE "POS=19"

endmodule
HierarchyFilesModulesSignalsTasksFunctionsHelp

This page: Created:Thu Aug 19 12:02:37 1999
From: ../../../sparc_v8/ssparc/fpu/fp_fpm/rtl/column52.v

Verilog converted to html by v2html 5.0 (written by Costas Calamvokis).Help