/******************************************************************************/
/* */
/* 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: @(#)pproduct26.v
***
****************************************************************************
****************************************************************************/
// @(#)pproduct26.v 1.2 4/9/92
//
// **************************************************************
// pproduct26 -- pass 0: 3 partial product bits put out.
// pass 1: 1 partial product bit, 2 multiplexed,
// **************************************************************
module pproduct26
(
p, // partial product
x, // multiplicand
y, // multiplier
pass, // pass
s, // feedback sum
c // feedback carry
);
//prop CELLCLASS "LEAF"
//prop AREA 0.0 0.0 100.0 60.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 [2:0] p
;
//prop LOCATION 20.0 0.0 20.0 0.0 "MET2" X_INCREMENT 20.
//prop TERMPLACE "BOT"
input [2:0] x
;
//prop LOCATION 20.0 60.0 20.0 60.0 "MET2" X_INCREMENT 20.
//prop TERMPLACE "TOP"
input [3:1] y
;
//prop LOCATION 0.0 10.0 0.0 10.0 "MET1" Y_INCREMENT 10.
//prop TERMPLACE "LEFT;RIGHT"
input pass
;
//prop LOCATION 0.0 50.0 0.0 50.0 "MET1"
//prop TERMPLACE "LEFT;RIGHT"
input s
;
//prop LOCATION 80.0 60.0 80.0 60.0 "MET2"
input c
;
//prop LOCATION 80.0 0.0 80.0 0.0 "MET2"
wire [2:1] pi
;
supply0 GND
;
and (p[0], x[2], y[1]);
and (pi[1], x[1], y[2]);
and (pi[2], x[0], y[3]);
ME_MUX2B p1 (pass, pi[1], s, p[1]);
ME_MUX2B p2 (pass, pi[2], c, p[2]);
endmodule
This page: |
Created: | Thu Aug 19 12:00:31 1999 |
| From: |
../../../sparc_v8/ssparc/fpu/fp_fpm/rtl/pproduct26.v
|