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
8a729d5b
Commit
8a729d5b
authored
13 years ago
by
Tomasz Wlostowski
Committed by
Tomasz Wlostowski
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
wishbone_pkg: added int line for xwb_* structs, component declaration for xwb_spi
parent
76e580b4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/wishbone/wb_spi/xwb_spi.vhd
+1
-1
1 addition, 1 deletion
modules/wishbone/wb_spi/xwb_spi.vhd
modules/wishbone/wishbone_pkg.vhd
+19
-1
19 additions, 1 deletion
modules/wishbone/wishbone_pkg.vhd
with
20 additions
and
2 deletions
modules/wishbone/wb_spi/xwb_spi.vhd
+
1
−
1
View file @
8a729d5b
...
...
@@ -23,7 +23,7 @@ entity xwb_spi is
pad_miso_i
:
in
std_logic
);
end
xwb_spi
;
end
xwb_spi
;
architecture
rtl
of
xwb_spi
is
...
...
This diff is collapsed.
Click to expand it.
modules/wishbone/wishbone_pkg.vhd
+
19
−
1
View file @
8a729d5b
...
...
@@ -22,7 +22,7 @@ package wishbone_pkg is
std_logic_vector
(
1
downto
0
);
type
t_wishbone_interface_mode
is
(
CLASSIC
,
PIPELINED
);
type
t_wishbone_master_out
is
record
cyc
:
std_logic
;
stb
:
std_logic
;
...
...
@@ -39,8 +39,26 @@ package wishbone_pkg is
err
:
std_logic
;
rty
:
std_logic
;
stall
:
std_logic
;
int
:
std_logic
;
dat
:
t_wishbone_data
;
end
record
t_wishbone_slave_out
;
subtype
t_wishbone_master_in
is
t_wishbone_slave_out
;
type
t_wishbone_device_descriptor
is
std_logic_vector
(
255
downto
0
);
component
xwb_spi
generic
(
g_interface_mode
:
t_wishbone_interface_mode
);
port
(
clk_sys_i
:
in
std_logic
;
rst_n_i
:
in
std_logic
;
slave_i
:
in
t_wishbone_slave_in
;
slave_o
:
out
t_wishbone_slave_out
;
desc_o
:
out
t_wishbone_device_descriptor
;
pad_cs_o
:
out
std_logic_vector
(
7
downto
0
);
pad_sclk_o
:
out
std_logic
;
pad_mosi_o
:
out
std_logic
;
pad_miso_i
:
in
std_logic
);
end
component
;
end
wishbone_pkg
;
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