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

//  @(#)add3.v	1.1  4/8/92
//
// **************************************************************
//  add3 -- 3 to 2 compression adder cell
// **************************************************************

[Up: column0 aA][Up: column2 aA][Up: column2 aB][Up: column4 aB][Up: column4 aH][Up: column6 aB][Up: column6 aK][Up: column8 aC][Up: column8 aK][Up: column10 aC][Up: column10 aK][Up: column12 aD][Up: column12 aI][Up: column14 aD][Up: column14 aM][Up: column16 aE][Up: column16 aM][Up: column18 aD][Up: column18 aJ][Up: column20 aF][Up: column22 aF][Up: column22 aL][Up: column24 aG][Up: column24 aL][Up: column25 aG][Up: column26 aG][Up: column53 aA]
module add3(s, c, cout, x1, x2, x3, cin);
    //prop CELLCLASS "LEAF"
    //prop AREA 0.0 0.0 100.0 100.0

    //prop FEEDTHROUGH "feed0" 90.0 0.0
    //prop FEEDTHROUGH "feed1" 70.0 0.0
    //prop FEEDTHROUGH "feed2" 50.0 0.0
    //prop FEEDTHROUGH "feed3" 30.0 0.0
    //prop FEEDTHROUGH "feed4" 10.0 0.0

    output s;
	//prop LOCATION 60.0 0.0 60.0 0.0 "MET2"
    output c;
	//prop LOCATION 40.0 0.0 40.0 0.0 "MET2"
    output cout;
	//prop LOCATION 0.0 50.0 0.0 50.0 "MET1"

    input  x1;
	//prop LOCATION 80.0 100.0 80.0 100.0 "MET2"
    input  x2;
	//prop LOCATION 60.0 100.0 60.0 100.0 "MET2"
    input  x3;
	//prop LOCATION 40.0 100.0 40.0 100.0 "MET2"
    input  cin;
	//prop LOCATION 100.0 50.0 100.0 50.0 "MET1"

    // cout
    or  (or1, x1, x2);
    and (cout, or1, x3);

    // s1
    xor (xor1, x1, x2);
    xor (s1, xor1, x3);

    // S
    xor (s, s1, cin);

    // c1
    and (and1, x1, x2);

    // c
    and (and3, s1, cin);
    not (s1_, s1);
    and (and4, s1_, and1);
    or  (c, and3, and4);

endmodule
HierarchyFilesModulesSignalsTasksFunctionsHelp

This page: Created:Thu Aug 19 12:00:13 1999
From: ../../../sparc_v8/ssparc/fpu/fp_fpm/rtl/add3.v

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