/******************************************************************************/
/* */
/* 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. */
/* */
/******************************************************************************/
// @(#)miptrincrement.v 1.1 4/7/92
//
module MiptrIncrement
(RomMIptr, NextMIptr);
input [7:0] RomMIptr
;
output [7:0] NextMIptr
;
// Increment of MI required (8 bits)
// always @MIptr NextMIptr = MIptr + 1;
ME_XOR2 ha_7 (RomMIptr[7], B7
, NextMIptr[7] );
ME_ADD2 ha_6 (RomMIptr[6], B6
, NextMIptr[6], B7);
ME_ADD2 ha_5 (RomMIptr[5], B5
, NextMIptr[5], B6);
ME_ADD2 ha_4 (RomMIptr[4], B4
, NextMIptr[4], B5);
ME_ADD2 ha_3 (RomMIptr[3], B3
, NextMIptr[3], B4);
ME_ADD2 ha_2 (RomMIptr[2], B2
, NextMIptr[2], B3);
ME_ADD2 ha_1 (RomMIptr[1], RomMIptr[0], NextMIptr[1], B2);
ME_INVA ha_0 (RomMIptr[0], NextMIptr[0]);
endmodule
This page: |
Created: | Thu Aug 19 12:02:44 1999 |
| From: |
../../../sparc_v8/ssparc/fpu/fp_ctl/rtl/miptrincrement.v
|