Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Platform-independent core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
18
Issues
18
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
Platform-independent core collection
Commits
35a5338a
Commit
35a5338a
authored
Jun 17, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wb_slave_adapter: add default values for input ports.
parent
cfe9afe1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
wb_slave_adapter.vhd
modules/wishbone/wb_slave_adapter/wb_slave_adapter.vhd
+13
-13
No files found.
modules/wishbone/wb_slave_adapter/wb_slave_adapter.vhd
View file @
35a5338a
...
...
@@ -47,12 +47,12 @@ entity wb_slave_adapter is
rst_n_i
:
in
std_logic
;
-- slave port (i.e. wb_slave_adapter is slave)
sl_adr_i
:
in
std_logic_vector
(
c_wishbone_address_width
-1
downto
0
)
;
sl_dat_i
:
in
std_logic_vector
(
c_wishbone_data_width
-1
downto
0
)
;
sl_sel_i
:
in
std_logic_vector
(
c_wishbone_data_width
/
8-1
downto
0
)
;
sl_cyc_i
:
in
std_logic
;
sl_stb_i
:
in
std_logic
;
sl_we_i
:
in
std_logic
;
sl_adr_i
:
in
std_logic_vector
(
c_wishbone_address_width
-1
downto
0
)
:
=
cc_dummy_address
;
sl_dat_i
:
in
std_logic_vector
(
c_wishbone_data_width
-1
downto
0
)
:
=
cc_dummy_data
;
sl_sel_i
:
in
std_logic_vector
(
c_wishbone_data_width
/
8-1
downto
0
)
:
=
cc_dummy_sel
;
sl_cyc_i
:
in
std_logic
:
=
'0'
;
sl_stb_i
:
in
std_logic
:
=
'0'
;
sl_we_i
:
in
std_logic
:
=
'0'
;
sl_dat_o
:
out
std_logic_vector
(
c_wishbone_data_width
-1
downto
0
);
...
...
@@ -61,7 +61,7 @@ entity wb_slave_adapter is
sl_ack_o
:
out
std_logic
;
sl_stall_o
:
out
std_logic
;
slave_i
:
in
t_wishbone
_slave_in
;
slave_i
:
in
t_wishbone_slave_in
:
=
cc_dummy
_slave_in
;
slave_o
:
out
t_wishbone_slave_out
;
-- master port (i.e. wb_slave_adapter is master)
...
...
@@ -72,13 +72,13 @@ entity wb_slave_adapter is
ma_stb_o
:
out
std_logic
;
ma_we_o
:
out
std_logic
;
ma_dat_i
:
in
std_logic_vector
(
c_wishbone_data_width
-1
downto
0
)
;
ma_err_i
:
in
std_logic
;
ma_rty_i
:
in
std_logic
;
ma_ack_i
:
in
std_logic
;
ma_stall_i
:
in
std_logic
;
ma_dat_i
:
in
std_logic_vector
(
c_wishbone_data_width
-1
downto
0
)
:
=
cc_dummy_data
;
ma_err_i
:
in
std_logic
:
=
'0'
;
ma_rty_i
:
in
std_logic
:
=
'0'
;
ma_ack_i
:
in
std_logic
:
=
'0'
;
ma_stall_i
:
in
std_logic
:
=
'0'
;
master_i
:
in
t_wishbone_master_in
;
master_i
:
in
t_wishbone_master_in
:
=
cc_dummy_slave_out
;
master_o
:
out
t_wishbone_master_out
);
end
wb_slave_adapter
;
...
...
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