/******************************************************************************/
/* */
/* 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. */
/* */
/******************************************************************************/
// @(#)decodecomparesandneg.v 1.1 4/7/92
//
/* Negate sign for the following entries
Inst 045 N
Inst 046 N
Inst 151 N
Inst 152 N
Inst 155 N
Inst 156 N
N = FPOP2Map | x 01xx 01xx
*/
module DecodeCmpAndNeg
(
Phi,
FpInst2, FpInst3, FpInst6, FpInst7,
FPOP2Map,
CMPDecoded, CMPEDecoded, NegateOprSign);
input Phi
,
FpInst2
, FpInst3
, FpInst6
, FpInst7
, FPOP2Map
;
output CMPDecoded
, CMPEDecoded
;
output NegateOprSign
;
ME_INVA dcep1 (FpInst2, notFpInst2
);
ME_NAND2 dcep2 (FPOP2Map, notFpInst2, notCMP
);
ME_NAND2 dcep3 (FPOP2Map, FpInst2, notCMPE
);
ME_FD1 dcep4 (Phi, notCMP, , CMPDecoded);
ME_FD1 dcep5 (Phi, notCMPE, , CMPEDecoded);
ME_INVA dcep9 (FpInst3, notFpInst3
);
ME_INVA dcep6 (FpInst7, notFpInst7
);
ME_AND4 dcep7 (FpInst6, notFpInst7, FpInst2, notFpInst3, DyadicSub
);
ME_NOR2 decep8 (FPOP2Map, DyadicSub, s_0
);
ME_FD1 iggypop (Phi, s_0, , NegateOprSign);
endmodule
This page: |
Created: | Thu Aug 19 12:00:44 1999 |
| From: |
../../../sparc_v8/ssparc/fpu/fp_ctl/rtl/decodecomparesandneg.v
|