reality.vh 1.72 KB
 /************************************************************************\
 *                                                                        *
 *               Copyright (C) 1994, Silicon Graphics, Inc.               *
 *                                                                        *
 *  These coded instructions, statements, and computer programs  contain  *
 *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
 *  are protected by Federal copyright  law.  They  may not be disclosed  *
 *  to  third  parties  or copied or duplicated in any form, in whole or  *
 *  in part, without the prior written consent of Silicon Graphics, Inc.  *
 *                                                                        *
 \************************************************************************/

// $Id: reality.vh,v 1.1.1.1 2002/05/17 06:14:57 blythe Exp $

// generally useful parameters
parameter
   LOW				= 1'b0,
   HIGH				= 1'b1,
   FLOAT			= 1'bz,
   UNKNOWN			= 1'bx;

// SysAD bus widths
parameter SYS_AD_SIZE		= 32;
parameter SYS_CMD_SIZE		= 5;
parameter SYS_CMD_BLOCK_SIZE	= 2;

// SysCMD command bit definitions
parameter
	SYS_CMD_DATA		= 4,
	SYS_CMD_WRITE		= 3,
	SYS_CMD_BLOCK		= 2,
	SYS_CMD_SIZE_START 	= 1,
	SYS_CMD_SIZE_END	= 0,
	SYS_CMD_MORE 		= 3,
	SYS_CMD_ERROR		= 1;

// SysCMD word definitions
parameter SYS_CMD_WRITE_WORD	= 5'b01000;
parameter SYS_CMD_READ_WORD	= 5'b00000;
parameter SYS_CMD_WRITE_BLOCK	= 5'b01100;
parameter SYS_CMD_READ_BLOCK	= 5'b00100;
parameter SYS_CMD_DATA_NEXT	= 5'b11000;
parameter SYS_CMD_DATA_LAST	= 5'b10000;

// AD16 bus widths
parameter AD16_DATA_SIZE	= 16;

// vbus bus widths
parameter VBUS_DATA_SIZE	= 7;

// Rambus definitions
parameter RAMBUS_DATA_SIZE	= 9;