URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [orpmon/] [include/] [board.h] - Diff between revs 1312 and 1495
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1312 |
Rev 1495 |
Line 2... |
Line 2... |
#define _BOARD_H_
|
#define _BOARD_H_
|
|
|
#define CFG_IN_FLASH 1
|
#define CFG_IN_FLASH 1
|
#define MC_ENABLED 1
|
#define MC_ENABLED 1
|
|
|
|
//LAN controller
|
|
//#define SMC91111_LAN 1
|
|
#define OC_LAN 1
|
|
|
/* BOARD
|
/* BOARD
|
* 0 - bender
|
* 0 - bender
|
* 1 - marvin
|
* 1 - marvin
|
*/
|
*/
|
#define BOARD 1
|
#define BOARD 1
|
Line 44... |
Line 48... |
/*# define IN_CLK 100000000*/
|
/*# define IN_CLK 100000000*/
|
# define IN_CLK 50000000
|
# define IN_CLK 50000000
|
# define FLASH_ORG_16_2 1
|
# define FLASH_ORG_16_2 1
|
# define BOARD_DEF_NAME "marvin"
|
# define BOARD_DEF_NAME "marvin"
|
#else
|
#else
|
#error Please define BOARD in board.h!
|
|
|
//Custom Board
|
|
# define IC_ENABLE 0
|
|
# define IC_SIZE 8192
|
|
# define DC_ENABLE 0
|
|
# define DC_SIZE 8192
|
|
# define FLASH_BASE_ADDR 0xf0000000
|
|
# define FLASH_SIZE 0x04000000
|
|
# define FLASH_BLOCK_SIZE 0x00040000
|
|
# define START_ADD 0x0
|
|
# define CONFIG_OR32_MC_VERSION 1
|
|
# define IN_CLK 25000000
|
|
# define FLASH_ORG_16_2 1
|
|
# define BOARD_DEF_NAME "custom"
|
|
|
#endif
|
#endif
|
|
|
#define UART_BAUD_RATE 115200
|
#define UART_BAUD_RATE 115200
|
|
|
#define TICKS_PER_SEC 100
|
#define TICKS_PER_SEC 100
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.