OpenCores
URL https://opencores.org/ocsvn/plasma/plasma/trunk

Subversion Repositories plasma

[/] [plasma/] [trunk/] [tools/] [plasma.h] - Blame information for rev 406

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 143 rhoads
/*--------------------------------------------------------------------
2 289 rhoads
 * TITLE: Plasma Hardware Defines
3 143 rhoads
 * AUTHOR: Steve Rhoads (rhoadss@yahoo.com)
4
 * DATE CREATED: 12/17/05
5
 * FILENAME: plasma.h
6
 * PROJECT: Plasma CPU core
7
 * COPYRIGHT: Software placed into the public domain by the author.
8
 *    Software 'as is' without warranty.  Author liable for nothing.
9
 * DESCRIPTION:
10
 *    Plasma Hardware Defines
11
 *--------------------------------------------------------------------*/
12
#ifndef __PLASMA_H__
13
#define __PLASMA_H__
14
 
15
/*********** Hardware addesses ***********/
16
#define RAM_INTERNAL_BASE 0x00000000 //8KB
17
#define RAM_EXTERNAL_BASE 0x10000000 //1MB
18 214 rhoads
#define RAM_EXTERNAL_SIZE 0x00100000
19 143 rhoads
#define MISC_BASE         0x20000000
20
#define UART_WRITE        0x20000000
21
#define UART_READ         0x20000000
22
#define IRQ_MASK          0x20000010
23
#define IRQ_STATUS        0x20000020
24
#define GPIO0_OUT         0x20000030
25 289 rhoads
#define GPIO0_CLEAR       0x20000040
26 143 rhoads
#define GPIOA_IN          0x20000050
27
#define COUNTER_REG       0x20000060
28 289 rhoads
#define ETHERNET_REG      0x20000070
29
#define FLASH_BASE        0x30000000
30 143 rhoads
 
31 289 rhoads
/*********** GPIO out bits ***************/
32
#define ETHERNET_MDIO     0x00200000
33
#define ETHERNET_MDIO_WE  0x00400000
34
#define ETHERENT_MDC      0x00800000
35
#define ETHERNET_ENABLE   0x01000000
36
 
37 143 rhoads
/*********** Interrupt bits **************/
38
#define IRQ_UART_READ_AVAILABLE  0x01
39
#define IRQ_UART_WRITE_AVAILABLE 0x02
40
#define IRQ_COUNTER18_NOT        0x04
41
#define IRQ_COUNTER18            0x08
42 289 rhoads
#define IRQ_ETHERNET_RECEIVE     0x10
43
#define IRQ_ETHERNET_TRANSMIT    0x20
44
#define IRQ_GPIO31_NOT           0x40
45 143 rhoads
#define IRQ_GPIO31               0x80
46
 
47 289 rhoads
/*********** Ethernet buffers ************/
48
#define ETHERNET_RECEIVE  0x13ff0000
49
#define ETHERNET_TRANSMIT 0x13fe0000
50
 
51 143 rhoads
#endif //__PLASMA_H__
52
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.