Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
2b2b26d8
Commit
2b2b26d8
authored
Sep 22, 2018
by
li hongming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify EXT_PPS_LATENCY_PS for WRSFL.
parent
e38409da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
Makefile
Makefile
+1
-4
spll_external.c
softpll/spll_external.c
+1
-2
Makefile
tools/Makefile
+1
-1
No files found.
Makefile
View file @
2b2b26d8
...
...
@@ -89,7 +89,7 @@ OUTPUT := $(OUTPUT-y)
GIT_VER
=
$(
shell
git describe
--always
--dirty
|
sed
's;^wr-switch-sw-;;'
)
all
:
tools $(OUTPUT).ram $(OUTPUT).
vhd $(OUTPUT).
mif
all
:
tools $(OUTPUT).ram $(OUTPUT).mif
.PRECIOUS
:
%.elf %.bin
.PHONY
:
all tools clean gitmodules $(PPSI)/ppsi.o
...
...
@@ -135,9 +135,6 @@ config.o: .config
%.ram
:
tools %.bin
./tools/genraminit
$*
.bin 0
>
$@
%.vhd
:
tools %.bin
./tools/genramvhd
-s
`
.
./.config
;
echo
$$
CONFIG_RAMSIZE
`
$*
.bin
>
$@
%.mif
:
tools %.bin
./tools/genrammif
$*
.bin
`
.
./.config
;
echo
$$
CONFIG_RAMSIZE
`
>
$@
...
...
softpll/spll_external.c
View file @
2b2b26d8
...
...
@@ -32,8 +32,7 @@
#define EXT_PERIOD_NS 100
#define EXT_FREQ_HZ 10000000
#define EXT_PPS_LATENCY_PS 30000 // fixme: make configurable
#define EXT_PPS_LATENCY_PS 64400 // fixme: make configurable, change for WRSFL
void
external_init
(
volatile
struct
spll_external_state
*
s
,
int
ext_ref
,
int
realign_clocks
)
...
...
tools/Makefile
View file @
2b2b26d8
...
...
@@ -3,7 +3,7 @@ SDBFS ?= no
CFLAGS
=
-Wall
-ggdb
-I
../include
LDFLAGS
=
-lutil
ALL
=
genraminit genram
vhd genram
mif wrpc-uart-sw
ALL
=
genraminit genrammif wrpc-uart-sw
ALL
+=
wrpc-w1-read wrpc-w1-write flash-write flash-read
ifneq
($(EB),no)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment