Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Platform-independent core collection
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Platform-independent core collection
Commits
5c3207c0
There was an error fetching the commit references. Please try again later.
Commit
5c3207c0
authored
6 years ago
by
Dimitris Lampridis
Browse files
Options
Downloads
Patches
Plain Diff
wb_pkg: add types for wishbone interfaces with 64-bit data
parent
1a0f59f3
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/wishbone/wishbone_pkg.vhd
+28
-0
28 additions, 0 deletions
modules/wishbone/wishbone_pkg.vhd
with
28 additions
and
0 deletions
modules/wishbone/wishbone_pkg.vhd
+
28
−
0
View file @
5c3207c0
...
...
@@ -68,8 +68,36 @@ package wishbone_pkg is
stall
:
std_logic
;
dat
:
t_wishbone_data
;
end
record
t_wishbone_slave_out
;
subtype
t_wishbone_master_in
is
t_wishbone_slave_out
;
-- variants for 64-bit data
subtype
t_wishbone_data64
is
std_logic_vector
(
63
downto
0
);
subtype
t_wishbone_byte_select_data64
is
std_logic_vector
(
7
downto
0
);
type
t_wishbone_master_data64_out
is
record
cyc
:
std_logic
;
stb
:
std_logic
;
adr
:
t_wishbone_address
;
sel
:
t_wishbone_byte_select_data64
;
we
:
std_logic
;
dat
:
t_wishbone_data64
;
end
record
t_wishbone_master_data64_out
;
subtype
t_wishbone_slave_data64_in
is
t_wishbone_master_data64_out
;
type
t_wishbone_slave_data64_out
is
record
ack
:
std_logic
;
err
:
std_logic
;
rty
:
std_logic
;
stall
:
std_logic
;
dat
:
t_wishbone_data64
;
end
record
t_wishbone_slave_data64_out
;
subtype
t_wishbone_master_data64_in
is
t_wishbone_slave_data64_out
;
subtype
t_wishbone_device_descriptor
is
std_logic_vector
(
255
downto
0
);
type
t_wishbone_byte_select_array
is
array
(
natural
range
<>
)
of
t_wishbone_byte_select
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment