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
2
Merge Requests
2
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
b3fe4f75
Commit
b3fe4f75
authored
Sep 12, 2012
by
Wesley W. Terpstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a proper SDB record for the Etherbone slave.
parent
d6351c85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
wr_core.vhd
modules/wrc_core/wr_core.vhd
+4
-3
No files found.
modules/wrc_core/wr_core.vhd
View file @
b3fe4f75
...
...
@@ -55,7 +55,7 @@ use work.wishbone_pkg.all;
use
work
.
endpoint_pkg
.
all
;
use
work
.
wr_fabric_pkg
.
all
;
use
work
.
sysc_wbgen2_pkg
.
all
;
use
work
.
etherbone_pkg
.
all
;
entity
wr_core
is
generic
(
...
...
@@ -71,7 +71,8 @@ entity wr_core is
g_dpram_initv
:
t_xwb_dpram_init
:
=
c_xwb_dpram_init_nothing
;
g_dpram_size
:
integer
:
=
20480
;
--in 32-bit words
g_interface_mode
:
t_wishbone_interface_mode
:
=
PIPELINED
;
g_address_granularity
:
t_wishbone_address_granularity
:
=
WORD
g_address_granularity
:
t_wishbone_address_granularity
:
=
WORD
;
g_aux_sdb
:
t_sdb_device
:
=
c_etherbone_sdb
);
port
(
...
...
@@ -313,7 +314,7 @@ architecture struct of wr_core is
4
=>
f_sdb_embed_device
(
c_wrc_periph0_sdb
,
x"00000400"
),
-- Syscon
5
=>
f_sdb_embed_device
(
c_wrc_periph1_sdb
,
x"00000500"
),
-- UART
6
=>
f_sdb_embed_device
(
c_wrc_periph2_sdb
,
x"00000600"
),
-- 1-Wire
7
=>
f_sdb_embed_device
(
c_wrc_periph2_sdb
,
x"00000700"
)
-- aux WB bus
7
=>
f_sdb_embed_device
(
g_aux_sdb
,
x"00000700"
)
-- aux WB bus
);
constant
c_secbar_sdb_address
:
t_wishbone_address
:
=
x"00000800"
;
...
...
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