Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC DEL 1ns 4cha
Commits
66491288
Commit
66491288
authored
Apr 12, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/python: default to SPEC/PCIe address
parent
c8a55db9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
demo.py
software/python/demo.py
+1
-4
fdelay_lib.py
software/python/fdelay_lib.py
+2
-2
No files found.
software/python/demo.py
View file @
66491288
...
...
@@ -69,10 +69,7 @@ def on_chk_wr():
if
__name__
==
"__main__"
:
app
=
QApplication
(
sys
.
argv
)
if
(
sys
.
argv
[
1
]
==
"1"
):
location
=
"minibone/eth8/00:50:0c:de:bc:f8/0x100000"
else
:
location
=
"minibone/eth8/00:50:e4:95:36:f8/0x100000"
location
=
"local/0x84000"
m
=
MainWindow
()
m
.
show
()
...
...
software/python/fdelay_lib.py
View file @
66491288
...
...
@@ -61,9 +61,9 @@ class FineDelay:
self
.
WR_READY
:
"WR core ready"
,
self
.
WR_SYNCING
:
"Syncing local clock with WR"
,
self
.
WR_SYNCED
:
"Synced with WR"
}
status
=
c_int
(
self
.
fd
.
fdelay_get_sync_status
(
self
.
handle
));
#
status = c_int(self.fd.fdelay_get_sync_status(self.handle));
# print("GetSyncStatus %x" % status.value);
return
htab
[
status
.
value
]
return
"none"
;
#
htab[status.value]
def
read_ts
(
self
):
buf
=
(
fd_timestamp
*
256
)();
...
...
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