Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit core collection
Commits
da2a99aa
Commit
da2a99aa
authored
Nov 23, 2018
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
board/svec: switch to new gc_reset_multi_aasd reset core
parent
f9ab6b4e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
12 deletions
+10
-12
xwrc_board_svec.vhd
board/svec/xwrc_board_svec.vhd
+9
-11
general-cores
ip_cores/general-cores
+1
-1
No files found.
board/svec/xwrc_board_svec.vhd
View file @
da2a99aa
...
...
@@ -357,7 +357,7 @@ begin -- architecture struct
-- generate rstlogic_arst_n. This is needed to connect optional reset like PCIe
-- reset. When baord runs standalone, we need to ignore PCIe reset being
-- constantly low.
cmp_arst_edge
:
gc_sync_ffs
cmp_arst_edge
:
gc_sync_ffs
generic
map
(
g_sync_edge
=>
"positive"
)
port
map
(
...
...
@@ -366,23 +366,21 @@ begin -- architecture struct
data_i
=>
areset_edge_n_i
,
ppulse_o
=>
areset_edge_ppulse
);
-- logic AND of all async reset sources (active
low
)
rstlogic_arst
_n
<=
pll_locked
and
areset_n_i
and
(
not
areset_edge_ppulse
)
;
-- logic AND of all async reset sources (active
high
)
rstlogic_arst
<=
(
not
pll_locked
)
and
(
not
areset_n_i
)
and
areset_edge_ppulse
;
-- concatenation of all clocks required to have synced resets
rstlogic_clk_in
(
0
)
<=
clk_pll_62m5
;
rstlogic_clk_in
(
1
)
<=
clk_pll_125m
;
cmp_rstlogic_reset
:
gc_reset
cmp_rstlogic_reset
:
gc_reset
_multi_aasd
generic
map
(
g_clocks
=>
2
,
-- 62.5MHz, 125MHz
g_logdelay
=>
4
,
-- 16 clock cycles
g_syncdepth
=>
3
)
-- length of sync chains
g_CLOCKS
=>
2
,
-- 62.5MHz, 125MHz
g_RST_LEN
=>
16
)
-- 16 clock cycles
port
map
(
free_clk_i
=>
clk_125m_pllref_buf
,
locked_i
=>
rstlogic_arst_n
,
clks_i
=>
rstlogic_clk_in
,
rstn_o
=>
rstlogic_rst_out
);
arst_i
=>
rstlogic_arst
,
clks_i
=>
rstlogic_clk_in
,
rst_n_o
=>
rstlogic_rst_out
);
-- distribution of resets (already synchronized to their clock domains)
rst_62m5_n
<=
rstlogic_rst_out
(
0
);
...
...
general-cores
@
6477d447
Subproject commit
c322bafa6cd0d62ae1d2c487d77048b7ee926391
Subproject commit
6477d44787f40dcede9a4848a10ee00d47def6bf
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