URL
https://opencores.org/ocsvn/potato/potato/trunk
[/] [potato/] [trunk/] [benchmarks/] [platform.h] - Diff between revs 21 and 45
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 21 |
Rev 45 |
Line 7... |
Line 7... |
|
|
#ifndef PLATFORM_H
|
#ifndef PLATFORM_H
|
#define PLATFORM_H
|
#define PLATFORM_H
|
|
|
// Clock frequency in Hz:
|
// Clock frequency in Hz:
|
#define SYSTEM_CLK_FREQ 60000000
|
#define SYSTEM_CLK_FREQ 50000000
|
|
|
// Macro for using the addresses below in C code:
|
// Macro for using the addresses below in C code:
|
#define IO_ADDRESS(x) ((volatile void *) x)
|
#define IO_ADDRESS(x) ((volatile void *) x)
|
|
|
// Base addresses for the various peripherals in the system:
|
// Base addresses for the various peripherals in the system:
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.