Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FPGA Configuration Space
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Projects
FPGA Configuration Space
Commits
2f3cd5e0
Commit
2f3cd5e0
authored
12 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
Work-around some sort of timing anomaly on the HardIP config space.
parent
56b99dd0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hdl/pcie_altera.vhd
+13
-2
13 additions, 2 deletions
hdl/pcie_altera.vhd
with
13 additions
and
2 deletions
hdl/pcie_altera.vhd
+
13
−
2
View file @
2f3cd5e0
...
...
@@ -197,8 +197,9 @@ architecture rtl of pcie_altera is
signal
reconfig_fromgxb
:
std_logic_vector
(
16
downto
0
);
signal
reconfig_togxb
:
std_logic_vector
(
3
downto
0
);
signal
tl_cfg_add
:
std_logic_vector
(
3
downto
0
);
signal
tl_cfg_ctl
:
std_logic_vector
(
31
downto
0
);
signal
tl_cfg_add
:
std_logic_vector
(
3
downto
0
);
signal
tl_cfg_ctl
:
std_logic_vector
(
31
downto
0
);
signal
tl_cfg_delay
:
std_logic_vector
(
3
downto
0
);
signal
l2_exit
,
hotrst_exit
,
dlup_exit
:
std_logic
;
signal
npor
,
crst
,
srst
,
rst_reg
:
std_logic
;
...
...
@@ -421,7 +422,17 @@ begin
cfg
:
process
(
core_clk_out
)
begin
if
rising_edge
(
core_clk_out
)
then
-- There is some instability on tl_cfg_ctl.
-- We make sure to latch it in the middle of one of its 8 cycle periods
tl_cfg_delay
(
tl_cfg_delay
'left
downto
1
)
<=
tl_cfg_delay
(
tl_cfg_delay
'left
-1
downto
0
);
if
tl_cfg_add
=
x"f"
then
tl_cfg_delay
(
0
)
<=
'0'
;
else
tl_cfg_delay
(
0
)
<=
'1'
;
end
if
;
if
tl_cfg_delay
(
tl_cfg_delay
'left
)
=
'1'
and
is_zero
(
tl_cfg_delay
(
tl_cfg_delay
'left
-1
downto
0
))
=
'1'
then
cfg_busdev
<=
tl_cfg_ctl
(
12
downto
0
);
end
if
;
end
if
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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