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
613b5640
Commit
613b5640
authored
Nov 15, 2018
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
board/common: add fabric mode LOOPBACK
parent
deee26ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
wr_board_pkg.vhd
board/common/wr_board_pkg.vhd
+1
-1
xwrc_board_common.vhd
board/common/xwrc_board_common.vhd
+17
-0
No files found.
board/common/wr_board_pkg.vhd
View file @
613b5640
...
...
@@ -42,7 +42,7 @@ use work.streamers_pkg.all;
package
wr_board_pkg
is
type
t_board_fabric_iface
is
(
PLAIN
,
STREAMERS
,
ETHERBONE
,
always_last_invalid
);
type
t_board_fabric_iface
is
(
PLAIN
,
STREAMERS
,
ETHERBONE
,
LOOPBACK
,
always_last_invalid
);
-- TODO: using these default paths requires absolute path. If relative path is used,
-- they work only for reference designs by chance. Once we figure out how to
...
...
board/common/xwrc_board_common.vhd
View file @
613b5640
...
...
@@ -566,6 +566,23 @@ begin -- architecture struct
end
generate
gen_etherbone
;
gen_loopback
:
if
(
g_fabric_iface
=
LOOPBACK
)
generate
cmp_wrf_loopback
:
xwrf_loopback
generic
map
(
g_interface_mode
=>
PIPELINED
,
g_address_granularity
=>
WORD
)
port
map
(
clk_sys_i
=>
clk_sys_i
,
rst_n_i
=>
rst_n_i
,
wrf_snk_i
=>
wrf_src_out
,
wrf_snk_o
=>
wrf_src_in
,
wrf_src_o
=>
wrf_snk_in
,
wrf_src_i
=>
wrf_snk_out
,
wb_i
=>
aux_master_out
,
wb_o
=>
aux_master_in
);
end
generate
gen_loopback
;
gen_wr_fabric
:
if
(
g_fabric_iface
=
PLAIN
)
generate
wrf_src_o
<=
wrf_src_out
;
...
...
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