ai.vh 1.29 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: ai.vh,v 1.1 2002/03/28 00:26:13 berndt Exp $

`include "rcp.vh"

// bus widths
parameter AI_REG_ADDRESS_SIZE		= 3;
parameter BIT_RATE_SIZE			= 4;
parameter DAC_RATE_SIZE			= 14;
parameter LENGTH_COUNT_SIZE		= 18;
parameter SAMPLE_WORD_SIZE		= 32;

// register addresses
parameter AI_DRAM_ADDRESS_REG		= 3'h0;
parameter AI_LENGTH_REG			= 3'h1;
parameter AI_CONTROL_REG		= 3'h2;
parameter AI_STATUS_REG			= 3'h3;
parameter AI_DACRATE_REG		= 3'h4;
parameter AI_BITRATE_REG		= 3'h5;