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

Subversion Repositories potato

[/] [potato/] [trunk/] [benchmarks/] [platform.h] - Diff between revs 45 and 61

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 45 Rev 61
Line 19... Line 19...
#define DMEM_BASE       0x00002000
#define DMEM_BASE       0x00002000
#define GPIO1_BASE      0x00004000 
#define GPIO1_BASE      0x00004000 
#define GPIO2_BASE      0x00004800
#define GPIO2_BASE      0x00004800
#define UART_BASE       0x00005000
#define UART_BASE       0x00005000
#define TIMER_BASE      0x00005800
#define TIMER_BASE      0x00005800
 
#define SEG7_BASE       0x00006000
 
 
// IRQs:
// IRQs:
#define EXTERNAL_IRQ    0
#define EXTERNAL_IRQ    0
#define TIMER_IRQ       5
#define TIMER_IRQ       5
 
 
Line 43... Line 44...
 
 
// Timer control register bits:
// Timer control register bits:
#define TIMER_CTRL_RUN          0
#define TIMER_CTRL_RUN          0
#define TIMER_CTRL_CLEAR        1
#define TIMER_CTRL_CLEAR        1
 
 
 
// 7-Segment register offsets:
 
#define SEG7_ENABLE     0
 
#define SEG7_VALUE      4
 
 
#endif
#endif
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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