/******************************************************************************/
/* */
/* 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. */
/* */
/******************************************************************************/
// @(#)expconstantctl.v 1.1 4/7/92
//
module ExpConstantCtl
(SNnotDB, DBnotSN,
RomExpConCtl,
Constantb, Constantc, Constantd, Constante,
Constantf, Constantg, Constanth);
input SNnotDB
, DBnotSN
;
input [`end_constant_field:`start_constant_field] RomExpConCtl
;
output Constantb
, Constantc
, Constantd
, Constante
,
Constantf
, Constantg
, Constanth
;
/* ************************************************************
Length Dependant Constant Selection
************************************************************
a b c d e f g h ROMbit f1 f0 SNnotBD
DivLoopSN 0|00 00|0 00 0 | 0 1 1 0 0 1 1
DivLoopDB 0|00 00|0 00 0 | 1 1 0 1 0 1 0
BiasSN 0|00 00|0 11 1 | 1 1 1 1 1 1 1
BiasDB 0|00 11|1 11 1 | 1 1 1 1 1 1 0
1 0|00 00|0 00 0 | 0 0 0 1 0 0 ?
IntToReal 0|00 00|0 00 1 | 1 1 1 1 1 0 ?
Constantb = Func1 & Func0 & DB;
Constantc = Func1 & Func0;
Constantd = Func1;
Constante = Func1 | (Func0 & DBnotSN);
Constantf = Func1 | Func0;
Constantg = Func1 | ~Constanth;
Constanth = ~(~Func1 & Func0 & SNnotDB); */
//ME_INVA z90 (SNnotDB, DBnotSN );
ME_AND3_B z00 (RomExpConCtl[`u_ConstantFromFunc1],
RomExpConCtl[`u_ConstantFromFunc0],
DBnotSN, Constantb);
ME_AND2_B z01 (RomExpConCtl[`u_ConstantFromFunc1],
RomExpConCtl[`u_ConstantFromFunc0],
Constantc);
ME_AND2_B z02 (RomExpConCtl[`u_ConstantFromFunc0], DBnotSN, Func0andDB
);
ME_OR2_B z03 (RomExpConCtl[`u_ConstantFromFunc1], Func0andDB, Constante);
ME_OR2_B z04 (RomExpConCtl[`u_ConstantFromFunc1],
RomExpConCtl[`u_ConstantFromFunc0],
Constantf);
ME_INVA z05 (RomExpConCtl[`u_ConstantFromFunc1], notFunc1
);
ME_NAND2_B z07 (notFunc1, Constanth, Constantg);
ME_NAND3_B z06 (notFunc1, RomExpConCtl[`u_ConstantFromFunc0], SNnotDB, Constanth);
//wire Constantd = RomExpConCtl[`u_ConstantFromFunc1];
con1 ep (RomExpConCtl[`u_ConstantFromFunc1], Constantd);
endmodule
| This page: |
Created: | Thu Aug 19 12:02:46 1999 |
| From: |
../../../sparc_v8/ssparc/fpu/fp_ctl/rtl/expconstantctl.v
|