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
514ce141
Commit
514ce141
authored
Sep 29, 2020
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spec,svec top: remove sdb and remap WRPC at 0x0
parent
c96b4047
Pipeline
#563
passed with stages
in 75 minutes and 18 seconds
Changes
2
Pipelines
31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
40 deletions
+18
-40
spec_wr_ref_top.vhd
top/spec_ref_design/spec_wr_ref_top.vhd
+9
-20
svec_wr_ref_top.vhd
top/svec_ref_design/svec_wr_ref_top.vhd
+9
-20
No files found.
top/spec_ref_design/spec_wr_ref_top.vhd
View file @
514ce141
...
...
@@ -235,23 +235,13 @@ architecture top of spec_wr_ref_top is
-- Primary Wishbone slave(s) offsets
constant
c_WB_SLAVE_WRC
:
integer
:
=
0
;
-- SDB meta info
constant
c_SDB_GIT_REPO_URL
:
integer
:
=
c_NUM_WB_SLAVES
;
constant
c_SDB_SYNTHESIS
:
integer
:
=
c_NUM_WB_SLAVES
+
1
;
-- sdb header address on primary crossbar
constant
c_SDB_ADDRESS
:
t_wishbone_address
:
=
x"00000000"
;
-- f_xwb_bridge_manual_sdb(size, sdb_addr)
-- Note: sdb_addr is the sdb records address relative to the bridge base address
constant
c_WRC_BRIDGE_SDB
:
t_sdb_bridge
:
=
f_xwb_bridge_manual_sdb
(
x"0003ffff"
,
x"00030000"
);
-- Primary wishbone crossbar layout
constant
c_WB_LAYOUT
:
t_sdb_record_array
(
c_NUM_WB_SLAVES
+
1
downto
0
)
:
=
(
c_WB_SLAVE_WRC
=>
f_sdb_embed_bridge
(
c_WRC_BRIDGE_SDB
,
x"00040000"
),
c_SDB_GIT_REPO_URL
=>
f_sdb_embed_repo_url
(
c_SDB_REPO_URL
),
c_SDB_SYNTHESIS
=>
f_sdb_embed_synthesis
(
c_SDB_SYNTHESIS_INFO
));
constant
c_WB_LAYOUT
:
t_wishbone_address_array
(
c_NUM_WB_SLAVES
-
1
downto
0
)
:
=
(
c_WB_SLAVE_WRC
=>
x"0000_0000"
);
constant
c_WB_LAYOUT_MASK
:
t_wishbone_address_array
(
c_NUM_WB_SLAVES
-
1
downto
0
)
:
=
(
c_WB_SLAVE_WRC
=>
x"0000_0000"
);
-----------------------------------------------------------------------------
-- Signals
...
...
@@ -307,14 +297,13 @@ begin -- architecture top
-- Primary wishbone Crossbar
-----------------------------------------------------------------------------
cmp_
sdb_crossbar
:
xwb_sd
b_crossbar
cmp_
crossbar
:
xw
b_crossbar
generic
map
(
g_num_masters
=>
c_NUM_WB_MASTERS
,
g_num_slaves
=>
c_NUM_WB_SLAVES
,
g_registered
=>
TRUE
,
g_wraparound
=>
TRUE
,
g_layout
=>
c_WB_LAYOUT
,
g_sdb_addr
=>
c_SDB_ADDRESS
)
g_address
=>
c_WB_LAYOUT
,
g_mask
=>
c_WB_LAYOUT_MASK
)
port
map
(
clk_sys_i
=>
clk_sys_62m5
,
rst_n_i
=>
rst_sys_62m5_n
,
...
...
top/svec_ref_design/svec_wr_ref_top.vhd
View file @
514ce141
...
...
@@ -209,23 +209,13 @@ architecture top of svec_wr_ref_top is
-- Primary Wishbone slave(s) offsets
constant
c_WB_SLAVE_WRC
:
integer
:
=
0
;
-- SDB meta info
constant
c_SDB_GIT_REPO_URL
:
integer
:
=
c_NUM_WB_SLAVES
;
constant
c_SDB_SYNTHESIS
:
integer
:
=
c_NUM_WB_SLAVES
+
1
;
-- SDB header address on primary crossbar
constant
c_SDB_ADDRESS
:
t_wishbone_address
:
=
x"00000000"
;
-- f_xwb_bridge_manual_sdb(size, sdb_addr)
-- Note: sdb_addr is the sdb records address relative to the bridge base address
constant
c_WRC_BRIDGE_SDB
:
t_sdb_bridge
:
=
f_xwb_bridge_manual_sdb
(
x"0003ffff"
,
x"00030000"
);
-- Primary wishbone crossbar layout
constant
c_WB_LAYOUT
:
t_sdb_record_array
(
c_NUM_WB_SLAVES
+
1
downto
0
)
:
=
(
c_WB_SLAVE_WRC
=>
f_sdb_embed_bridge
(
c_WRC_BRIDGE_SDB
,
x"00040000"
),
c_SDB_GIT_REPO_URL
=>
f_sdb_embed_repo_url
(
c_SDB_REPO_URL
),
c_SDB_SYNTHESIS
=>
f_sdb_embed_synthesis
(
c_SDB_SYNTHESIS_INFO
));
constant
c_WB_LAYOUT
:
t_wishbone_address_array
(
c_NUM_WB_SLAVES
-
1
downto
0
)
:
=
(
c_WB_SLAVE_WRC
=>
x"0000_0000"
);
constant
c_WB_LAYOUT_MASK
:
t_wishbone_address_array
(
c_NUM_WB_SLAVES
-
1
downto
0
)
:
=
(
c_WB_SLAVE_WRC
=>
x"0000_0000"
);
-----------------------------------------------------------------------------
-- Signals
...
...
@@ -292,14 +282,13 @@ begin -- architecture top
-- Primary wishbone Crossbar
-----------------------------------------------------------------------------
cmp_
sdb_crossbar
:
xwb_sd
b_crossbar
cmp_
crossbar
:
xw
b_crossbar
generic
map
(
g_num_masters
=>
c_NUM_WB_MASTERS
,
g_num_slaves
=>
c_NUM_WB_SLAVES
,
g_registered
=>
TRUE
,
g_wraparound
=>
TRUE
,
g_layout
=>
c_WB_LAYOUT
,
g_sdb_addr
=>
c_SDB_ADDRESS
)
g_address
=>
c_WB_LAYOUT
,
g_mask
=>
c_WB_LAYOUT_MASK
)
port
map
(
clk_sys_i
=>
clk_sys_62m5
,
rst_n_i
=>
rst_sys_62m5_n
,
...
...
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