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
3
Merge Requests
3
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
20b61438
Commit
20b61438
authored
Jun 06, 2023
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expose phy_mdio_master interface on xwrc_board_common
parent
93539288
Pipeline
#4603
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
wr_board_pkg.vhd
board/common/wr_board_pkg.vhd
+2
-0
xwrc_board_common.vhd
board/common/xwrc_board_common.vhd
+5
-5
No files found.
board/common/wr_board_pkg.vhd
View file @
20b61438
...
...
@@ -149,6 +149,8 @@ package wr_board_pkg is
phy8_i
:
in
t_phy_8bits_to_wrc
:
=
c_dummy_phy8_to_wrc
;
phy16_o
:
out
t_phy_16bits_from_wrc
;
phy16_i
:
in
t_phy_16bits_to_wrc
:
=
c_dummy_phy16_to_wrc
;
phy_mdio_master_i
:
in
t_wishbone_master_in
:
=
(
ack
=>
'1'
,
err
=>
'0'
,
rty
=>
'0'
,
stall
=>
'0'
,
dat
=>
(
others
=>
'1'
));
phy_mdio_master_o
:
out
t_wishbone_master_out
;
scl_o
:
out
std_logic
;
scl_i
:
in
std_logic
:
=
'1'
;
sda_o
:
out
std_logic
;
...
...
board/common/xwrc_board_common.vhd
View file @
20b61438
...
...
@@ -129,6 +129,9 @@ entity xwrc_board_common is
phy16_o
:
out
t_phy_16bits_from_wrc
;
phy16_i
:
in
t_phy_16bits_to_wrc
:
=
c_dummy_phy16_to_wrc
;
phy_mdio_master_i
:
in
t_wishbone_master_in
:
=
(
ack
=>
'1'
,
err
=>
'0'
,
rty
=>
'0'
,
stall
=>
'0'
,
dat
=>
(
others
=>
'1'
));
phy_mdio_master_o
:
out
t_wishbone_master_out
;
---------------------------------------------------------------------------
-- I2C EEPROM
---------------------------------------------------------------------------
...
...
@@ -444,8 +447,8 @@ begin -- architecture struct
phy8_i
=>
phy8_i
,
phy16_o
=>
phy16_o
,
phy16_i
=>
phy16_i
,
phy_mdio_master_i
=>
phy_mdio_master_i
n
,
phy_mdio_master_o
=>
open
,
phy_mdio_master_i
=>
phy_mdio_master_i
,
phy_mdio_master_o
=>
phy_mdio_master_o
,
led_act_o
=>
led_act_o
,
led_link_o
=>
led_link_o
,
scl_o
=>
scl_o
,
...
...
@@ -507,9 +510,6 @@ begin -- architecture struct
tm_tai_o
<=
tm_tai
;
tm_cycles_o
<=
tm_cycles
;
-- Avoid freeze
phy_mdio_master_in
<=
(
ack
=>
'1'
,
err
=>
'0'
,
rty
=>
'0'
,
stall
=>
'0'
,
dat
=>
(
others
=>
'1'
));
gen_wr_streamers
:
if
(
g_fabric_iface
=
STREAMERS
)
generate
cmp_xwr_streamers
:
xwr_streamers
...
...
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