Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Software
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
Dmytro Levit
Software
Commits
af127eb2
Commit
af127eb2
authored
5 years ago
by
Qi-Dong Zhou
Browse files
Options
Downloads
Patches
Plain Diff
stream write change FFFC to FFFD
parent
fa4f380f
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!3
Feature/BIIDAQ-73 implement write stream slow control functionality
,
!5
6links
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Pcie40Libraries/pcie40_b2slc.c
+2
-2
2 additions, 2 deletions
Pcie40Libraries/pcie40_b2slc.c
with
2 additions
and
2 deletions
Pcie40Libraries/pcie40_b2slc.c
+
2
−
2
View file @
af127eb2
...
...
@@ -321,7 +321,7 @@ int pcie40_writestream( int dev , int ch , char * filename ) {
// Fill the FIFO with the requested information: write MSB first
// This is a stream write -> FFFD
int
data_word_1
=
0xFFF
C
;
int
data_word_1
=
0xFFF
D
;
ret
=
ecs_write
(
dev
,
SLC_BAR
,
SLC_WFIFO_ADD
+
ch
*
0x20
,
(
int
)
(
data_word_1
&
0xFFFFFFFF
)
)
;
...
...
@@ -374,7 +374,7 @@ int pcie40_writebytestream( int dev, int ch, int len, const char *bytes )
// Fill the FIFO with the requested information: write MSB first
// This is a stream write -> FFFD
int
data_word_1
=
0xFFF
C
;
int
data_word_1
=
0xFFF
D
;
ret
=
ecs_write
(
dev
,
SLC_BAR
,
SLC_WFIFO_ADD
+
ch
*
0x20
,
(
int
)
(
data_word_1
&
0xFFFFFFFF
)
)
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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