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
14
Issues
14
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
f9fb0b66
Commit
f9fb0b66
authored
Dec 04, 2013
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wishbone_pkg: Add sdb device record for xwb_spi component.
parent
adc49ee7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
wishbone_pkg.vhd
modules/wishbone/wishbone_pkg.vhd
+16
-0
No files found.
modules/wishbone/wishbone_pkg.vhd
View file @
f9fb0b66
...
@@ -653,6 +653,22 @@ package wishbone_pkg is
...
@@ -653,6 +653,22 @@ package wishbone_pkg is
owr_i
:
in
std_logic_vector
(
g_num_ports
-1
downto
0
));
owr_i
:
in
std_logic_vector
(
g_num_ports
-1
downto
0
));
end
component
;
end
component
;
constant
c_xwb_spi_sdb
:
t_sdb_device
:
=
(
abi_class
=>
x"0000"
,
-- undocumented device
abi_ver_major
=>
x"01"
,
abi_ver_minor
=>
x"01"
,
wbd_endian
=>
c_sdb_endian_big
,
wbd_width
=>
x"7"
,
-- 8/16/32-bit port granularity
sdb_component
=>
(
addr_first
=>
x"0000000000000000"
,
addr_last
=>
x"000000000000001F"
,
product
=>
(
vendor_id
=>
x"000000000000CE42"
,
-- CERN
device_id
=>
x"e503947e"
,
-- echo "WB-SPI.Control " | md5sum | cut -c1-8
version
=>
x"00000001"
,
date
=>
x"20121116"
,
name
=>
"WB-SPI.Control "
)));
component
wb_spi
component
wb_spi
generic
(
generic
(
g_interface_mode
:
t_wishbone_interface_mode
:
=
CLASSIC
;
g_interface_mode
:
t_wishbone_interface_mode
:
=
CLASSIC
;
...
...
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