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

Subversion Repositories mlite

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

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

Line No. Rev Author Line
1 143 rhoads
/*--------------------------------------------------------------------
2
 * TITLE: Plasma Real Time Operating System
3
 * 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
#define MISC_BASE         0x20000000
19
#define UART_WRITE        0x20000000
20
#define UART_READ         0x20000000
21
#define IRQ_MASK          0x20000010
22
#define IRQ_STATUS        0x20000020
23
#define GPIO0_OUT         0x20000030
24
#define GPIO1_OUT         0x20000040
25
#define GPIOA_IN          0x20000050
26
#define COUNTER_REG       0x20000060
27
 
28
/*********** Interrupt bits **************/
29
#define IRQ_UART_READ_AVAILABLE  0x01
30
#define IRQ_UART_WRITE_AVAILABLE 0x02
31
#define IRQ_COUNTER18_NOT        0x04
32
#define IRQ_COUNTER18            0x08
33
#define IRQ_GPIO30_NOT           0x10
34
#define IRQ_GPIO31_NOT           0x20
35
#define IRQ_GPIO30               0x40
36
#define IRQ_GPIO31               0x80
37
 
38
#endif //__PLASMA_H__
39
 

powered by: WebSVN 2.1.0

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