Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fofbnode_fpga
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DG
FOFB
fofbnode_fpga
Commits
4bc74d85
Commit
4bc74d85
authored
Apr 23, 2024
by
BRONES Romain
Browse files
Options
Downloads
Patches
Plain Diff
DAQ capture Timestamps
parent
cd71c930
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app_fofbnode/hdl/pkg_app_fofb_cellnode.vhd
+6
-6
6 additions, 6 deletions
src/app_fofbnode/hdl/pkg_app_fofb_cellnode.vhd
src/app_fofbnode/hdl/top_app_cellnode.vhd
+5
-7
5 additions, 7 deletions
src/app_fofbnode/hdl/top_app_cellnode.vhd
with
11 additions
and
13 deletions
src/app_fofbnode/hdl/pkg_app_fofb_cellnode.vhd
+
6
−
6
View file @
4bc74d85
...
...
@@ -45,19 +45,19 @@ package pkg_app_config is
-- Region 0 is BPM data
constant
C_DAQ0_IS_CONTINUOUS
:
natural
:
=
0
;
constant
C_DAQ0_MAX_SAMPLES
:
natural
:
=
16
#
0
2
000000
#
;
-- Buffer size /
16
bytes
constant
C_DAQ0_CHANNELS_IN_TAB
:
natural
:
=
4
;
constant
C_DAQ0_MAX_SAMPLES
:
natural
:
=
16
#
0
4
000000
#
;
-- Buffer size /
8
bytes
constant
C_DAQ0_CHANNELS_IN_TAB
:
natural
:
=
2
;
constant
C_DAQ0_TAB_COUNT
:
natural
:
=
1
;
constant
C_DAQ0_TAB_CONTENTS
:
t_natural_vector
:
=
(
2
,
2
,
1
,
0
);
constant
C_DAQ0_TAB_CONTENTS
:
t_natural_vector
:
=
(
1
,
0
);
constant
C_DAQ0_BUF0_OFFSET
:
natural
:
=
16
#
00000000
#
;
constant
C_DAQ0_BUF1_OFFSET
:
natural
:
=
16
#
10000000
#
;
-- Region 1 is Correction data
constant
C_DAQ1_IS_CONTINUOUS
:
natural
:
=
0
;
constant
C_DAQ1_MAX_SAMPLES
:
natural
:
=
16
#
0
8
000000
#
;
-- Buffer size /
4
bytes
constant
C_DAQ1_CHANNELS_IN_TAB
:
natural
:
=
1
;
constant
C_DAQ1_MAX_SAMPLES
:
natural
:
=
16
#
0
4
000000
#
;
-- Buffer size /
8
bytes
constant
C_DAQ1_CHANNELS_IN_TAB
:
natural
:
=
2
;
constant
C_DAQ1_TAB_COUNT
:
natural
:
=
1
;
constant
C_DAQ1_TAB_CONTENTS
:
t_natural_vector
:
=
(
0
=>
3
);
constant
C_DAQ1_TAB_CONTENTS
:
t_natural_vector
:
=
(
3
,
2
);
constant
C_DAQ1_BUF0_OFFSET
:
natural
:
=
16
#
20000000
#
;
constant
C_DAQ1_BUF1_OFFSET
:
natural
:
=
16
#
30000000
#
;
...
...
This diff is collapsed.
Click to expand it.
src/app_fofbnode/hdl/top_app_cellnode.vhd
+
5
−
7
View file @
4bc74d85
...
...
@@ -108,7 +108,7 @@ architecture struct of bsp_fmc2zup_payload is
signal
axis_combpm_tdata
:
std_logic_vector
(
127
downto
0
);
signal
axis_combpm_tvalid
:
std_logic
;
-- COMBP
M
signals
-- COM
L
BP signals
signal
clk_comlbp
:
std_logic
;
signal
axis_comlbp_tdata
:
std_logic_vector
(
31
downto
0
);
signal
axis_comlbp_tvalid
:
std_logic
;
...
...
@@ -775,12 +775,10 @@ begin
po_payload
.
s_axi4_daq
<=
f_common_to_bsp
(
m_axi4_daq_m2s
);
-- Mapping data channel
daq_data
(
0
)
<=
axis_pkt_tx_tdata
(
31
downto
0
);
daq_data
(
1
)
<=
axis_pkt_tx_tdata
(
63
downto
32
);
daq_data
(
2
)(
15
downto
0
)
<=
axis_pkt_tx_tdata
(
79
downto
64
);
daq_data
(
2
)(
23
downto
16
)
<=
axis_pkt_tx_tuser
;
daq_data
(
2
)(
31
downto
24
)
<=
(
others
=>
'0'
);
daq_data
(
3
)
<=
axis_pkt_lbp_tdata
;
daq_data
(
0
)
<=
timeref
(
31
downto
0
);
daq_data
(
1
)
<=
timeref
(
63
downto
32
);
daq_data
(
2
)
<=
timeref
(
31
downto
0
);
daq_data
(
3
)
<=
timeref
(
63
downto
32
);
daq_strobe
(
0
)
<=
axis_pkt_tx_tvalid
and
axis_pkt_tx_tready
;
daq_strobe
(
1
)
<=
axis_pkt_lbp_tvalid
and
axis_pkt_lbp_tready
;
...
...
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