Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas-tdaq-felix
firmware
Commits
019813c3
Commit
019813c3
authored
11 months ago
by
Frans Schreuder
Browse files
Options
Downloads
Patches
Plain Diff
Fix for
FLX-2381
: Drive disabled bits of EPROC_OUT to "01"
parent
4757dca5
No related branches found
No related tags found
1 merge request
!536
Only reset Central Router FIFOs when clk40 is guaranteed to be stable, and...
Pipeline
#7238341
passed
11 months ago
Stage: sim
Stage: build_full
Stage: build_gbt_8ch
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
simulation/UVVMExample/tb/centralRouter_tb.vhd
+19
-4
19 additions, 4 deletions
simulation/UVVMExample/tb/centralRouter_tb.vhd
sources/centralRouter/EPROC_OUT2.vhd
+7
-5
7 additions, 5 deletions
sources/centralRouter/EPROC_OUT2.vhd
with
26 additions
and
9 deletions
simulation/UVVMExample/tb/centralRouter_tb.vhd
+
19
−
4
View file @
019813c3
...
@@ -201,6 +201,21 @@ begin
...
@@ -201,6 +201,21 @@ begin
register_map_40_control
.
CR_TOHOST_EGROUP_CTRL
(
i
)(
4
)
.
MAX_CHUNK_LEN
<=
"001001001001"
;
--Set all to 512 bytes, or 15 for HDLC
register_map_40_control
.
CR_TOHOST_EGROUP_CTRL
(
i
)(
4
)
.
MAX_CHUNK_LEN
<=
"001001001001"
;
--Set all to 512 bytes, or 15 for HDLC
register_map_40_control
.
CR_TOHOST_EGROUP_CTRL
(
i
)(
4
)
.
INSTANT_TIMEOUT_ENA
<=
"11111111"
;
register_map_40_control
.
CR_TOHOST_EGROUP_CTRL
(
i
)(
4
)
.
INSTANT_TIMEOUT_ENA
<=
"11111111"
;
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
0
)
.
EPROC_ENA
<=
"000000000000000"
;
--2b elinks
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
1
)
.
EPROC_ENA
<=
"000000000000000"
;
--2b elinks
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
2
)
.
EPROC_ENA
<=
"000000000000000"
;
--2b elinks
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
3
)
.
EPROC_ENA
<=
"000000000000000"
;
--2b elinks
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
4
)
.
EPROC_ENA
<=
"000000000000000"
;
--2b elinks
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
0
)
.
PATH_ENCODING
<=
x"00000000"
;
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
1
)
.
PATH_ENCODING
<=
x"00000000"
;
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
2
)
.
PATH_ENCODING
<=
x"00000000"
;
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
3
)
.
PATH_ENCODING
<=
x"00000000"
;
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
4
)
.
PATH_ENCODING
<=
x"00000000"
;
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
0
)
.
REVERSE_ELINKS
<=
x"00"
;
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
1
)
.
REVERSE_ELINKS
<=
x"00"
;
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
2
)
.
REVERSE_ELINKS
<=
x"00"
;
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
3
)
.
REVERSE_ELINKS
<=
x"00"
;
register_map_40_control
.
CR_FROMHOST_EGROUP_CTRL
(
i
)(
4
)
.
REVERSE_ELINKS
<=
x"00"
;
end
loop
;
end
loop
;
wait
;
wait
;
...
@@ -296,10 +311,10 @@ generic map(
...
@@ -296,10 +311,10 @@ generic map(
EnableFrHo_Egroup0Eproc2_8b10b
=>
true
,
EnableFrHo_Egroup0Eproc2_8b10b
=>
true
,
EnableFrHo_Egroup0Eproc4_8b10b
=>
true
,
EnableFrHo_Egroup0Eproc4_8b10b
=>
true
,
EnableFrHo_Egroup0Eproc8_8b10b
=>
true
,
EnableFrHo_Egroup0Eproc8_8b10b
=>
true
,
EnableFrHo_Egroup1Eproc2_HDLC
=>
tru
e
,
EnableFrHo_Egroup1Eproc2_HDLC
=>
fals
e
,
EnableFrHo_Egroup1Eproc2_8b10b
=>
tru
e
,
EnableFrHo_Egroup1Eproc2_8b10b
=>
fals
e
,
EnableFrHo_Egroup1Eproc4_8b10b
=>
tru
e
,
EnableFrHo_Egroup1Eproc4_8b10b
=>
fals
e
,
EnableFrHo_Egroup1Eproc8_8b10b
=>
tru
e
,
EnableFrHo_Egroup1Eproc8_8b10b
=>
fals
e
,
EnableFrHo_Egroup2Eproc2_HDLC
=>
true
,
EnableFrHo_Egroup2Eproc2_HDLC
=>
true
,
EnableFrHo_Egroup2Eproc2_8b10b
=>
true
,
EnableFrHo_Egroup2Eproc2_8b10b
=>
true
,
EnableFrHo_Egroup2Eproc4_8b10b
=>
true
,
EnableFrHo_Egroup2Eproc4_8b10b
=>
true
,
...
...
This diff is collapsed.
Click to expand it.
sources/centralRouter/EPROC_OUT2.vhd
+
7
−
5
View file @
019813c3
...
@@ -199,7 +199,7 @@ Enc_8b10b_disable: if (
...
@@ -199,7 +199,7 @@ Enc_8b10b_disable: if (
)
generate
)
generate
getDataTrig_ENC8b10b_case
<=
'0'
;
getDataTrig_ENC8b10b_case
<=
'0'
;
EdataOUT_ENC8b10b_case
<=
"0
0
"
;
EdataOUT_ENC8b10b_case
<=
"0
1
"
;
end
generate
Enc_8b10b_disable
;
end
generate
Enc_8b10b_disable
;
...
@@ -255,7 +255,7 @@ HDLC_disable: if (
...
@@ -255,7 +255,7 @@ HDLC_disable: if (
)
generate
)
generate
getDataTrig_HDLC_case
<=
'0'
;
getDataTrig_HDLC_case
<=
'0'
;
EdataOUT_HDLC_case
<=
"0
0
"
;
EdataOUT_HDLC_case
<=
"0
1
"
;
end
generate
HDLC_disable
;
end
generate
HDLC_disable
;
end
generate
HDLC_almost_disable
;
end
generate
HDLC_almost_disable
;
...
@@ -302,7 +302,7 @@ Module_disable: if (
...
@@ -302,7 +302,7 @@ Module_disable: if (
(
includeNoEncodingCase
=
false
))
(
includeNoEncodingCase
=
false
))
)
generate
)
generate
edata_out_s
<=
(
others
=>
'0'
)
;
edata_out_s
<=
"01"
;
getDataTrig
<=
'0'
;
getDataTrig
<=
'0'
;
end
generate
Module_disable
;
end
generate
Module_disable
;
...
@@ -370,11 +370,13 @@ port map(
...
@@ -370,11 +370,13 @@ port map(
--
--
out_sel
:
process
(
swap_outbits
,
ao_edata_out
)
out_sel
:
process
(
swap_outbits
,
ao_edata_out
)
begin
begin
if
swap_outbits
=
'1'
then
if
ENA
=
'0'
then
EDATA_OUT
<=
"01"
;
elsif
swap_outbits
=
'1'
then
EDATA_OUT
<=
ao_edata_out
(
0
)
&
ao_edata_out
(
1
);
EDATA_OUT
<=
ao_edata_out
(
0
)
&
ao_edata_out
(
1
);
else
else
EDATA_OUT
<=
ao_edata_out
;
EDATA_OUT
<=
ao_edata_out
;
end
if
;
end
if
;
end
process
;
end
process
;
--
--
...
...
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