reality.vh
1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/************************************************************************\
* *
* 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 2002/03/28 00:26:13 berndt 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;