Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Software for White Rabbit PTP Core
Manage
Activity
Members
Labels
Plan
Issues
35
Issue boards
Milestones
Wiki
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Software for White Rabbit PTP Core
Commits
214284b4
Commit
214284b4
authored
12 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
Added arria board parameters
parent
ad247c10
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
boards/arria/board.c
+13
-0
13 additions, 0 deletions
boards/arria/board.c
boards/arria/board.h
+30
-0
30 additions, 0 deletions
boards/arria/board.h
with
43 additions
and
0 deletions
boards/arria/board.c
0 → 100644
+
13
−
0
View file @
214284b4
#include
"board.h"
/* Board-specific initialization code */
int
board_init
()
{
}
int
board_update
()
{
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
boards/arria/board.h
0 → 100644
+
30
−
0
View file @
214284b4
#ifndef __BOARD_H
#define __BOARD_H
#include
<hw/memlayout.h>
/* Board-specific parameters */
/* WR Core system/CPU clock frequency in Hz */
#define CPU_CLOCK 125000000ULL
/* WR Reference clock period (picoseconds) and frequency (Hz) */
#define REF_CLOCK_PERIOD_PS 8000
#define REF_CLOCK_FREQ_HZ 125000000
/* Baud rate of the builtin UART (does not apply to the VUART) */
#define UART_BAUDRATE 115200ULL
/* Maximum number of simultaneously created sockets */
#define NET_MAX_SOCKETS 3
/* Socket buffer size, determines the max. RX packet size */
#define NET_SKBUF_SIZE 256
/* Number of auxillary clock channels - usually equal to the number of FMCs */
#define NUM_AUX_CLOCKS 1
int
board_init
();
int
board_update
();
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment