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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [board/] [include/] [board.h] - Blame information for rev 611

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

Line No. Rev Author Line
1 349 julius
#ifndef _BOARD_H_
2
#define _BOARD_H_
3
 
4 354 julius
#define IN_CLK                50000000 // Hz
5 349 julius
 
6 403 julius
 
7 349 julius
//
8
// Defines for each core (memory map base, OR1200 interrupt line number, etc.)
9
//
10 361 julius
#define RAM_BASE            0x00000000
11 349 julius
 
12
#define UART0_BASE          0x90000000
13
#define UART0_IRQ                    2
14
#define UART0_BAUD_RATE         115200
15
 
16 506 julius
#define SPI0_BASE           0xb0000000
17 373 julius
 
18 506 julius
#define INTGEN_BASE         0xe1000000
19
#define INTGEN_IRQ                  19
20
 
21
 
22 349 julius
//
23
// OR1200 tick timer period define
24
//
25
#define TICKS_PER_SEC   100
26
 
27 485 julius
 
28
//
29
// UART driver configuration
30
// 
31
#define UART_NUM_CORES 1
32
#define UART_BASE_ADDRESSES_CSV UART0_BASE
33
#define UART_BAUD_RATES_CSV UART0_BAUD_RATE
34
 
35
 
36 349 julius
#endif

powered by: WebSVN 2.1.0

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