Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EtherBone Core
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
EtherBone Core
Commits
78281e50
Commit
78281e50
authored
11 years ago
by
Mathias Kreider
Browse files
Options
Downloads
Patches
Plain Diff
interfaces for V2
parent
25ecb508
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
hdl/eb_slave_core/eb_internals_pkg.vhd
+48
-0
48 additions, 0 deletions
hdl/eb_slave_core/eb_internals_pkg.vhd
hdl/eb_slave_core/eb_rx_fsm.vhd
+54
-0
54 additions, 0 deletions
hdl/eb_slave_core/eb_rx_fsm.vhd
with
102 additions
and
0 deletions
hdl/eb_slave_core/eb_internals_pkg.vhd
0 → 100644
+
48
−
0
View file @
78281e50
library
IEEE
;
--! Standard packages
use
IEEE
.
std_logic_1164
.
all
;
use
IEEE
.
numeric_std
.
all
;
--! Additional library
library
work
;
use
work
.
wishbone_pkg
.
all
;
package
eb_internals_pkg
is
subtype
t_tag
is
std_logic_vector
(
1
downto
0
);
constant
c_tag_wb_drop
:
t_tag
:
=
"00"
;
constant
c_tag_wb_copy
:
t_tag
:
=
"01"
;
constant
c_tag_cfg_req
:
t_tag
:
=
"10"
;
constant
c_tag_pass_on
:
t_tag
:
=
"11"
;
component
eb_rx_fsm
is
port
(
clk_i
:
in
std_logic
;
rstn_i
:
in
std_logic
;
rx_cyc_i
:
in
std_logic
;
rx_stb_i
:
in
std_logic
;
rx_dat_i
:
in
std_logic_vector
(
31
downto
0
);
rx_stall_o
:
out
std_logic
;
mux_empty_i
:
in
std_logic
;
tag_stb_o
:
out
std_logic
;
tag_dat_o
:
out
t_tag
;
tag_stall_i
:
in
std_logic
;
pass_stb_o
:
out
std_logic
;
pass_dat_o
:
out
std_logic_vector
(
31
downto
0
);
pass_stall_i
:
in
std_logic
;
cfg_o
:
out
t_wishbone_master_out
;
-- cyc always hi
cfg_stall_i
:
in
std_logic
;
wb_o
:
out
t_wishbone_master_out
;
wb_stall_i
:
in
std_logic
);
end
component
;
end
package
;
This diff is collapsed.
Click to expand it.
hdl/eb_slave_core/eb_rx_fsm.vhd
0 → 100644
+
54
−
0
View file @
78281e50
library
IEEE
;
--! Standard packages
use
IEEE
.
std_logic_1164
.
all
;
use
IEEE
.
numeric_std
.
all
;
--! Additional library
library
work
;
--! Additional packages
use
work
.
eb_internals_pkg
.
all
;
use
work
.
wishbone_pkg
.
all
;
entity
eb_rx_fsm
is
port
(
clk_i
:
in
std_logic
;
rstn_i
:
in
std_logic
;
rx_cyc_i
:
in
std_logic
;
rx_stb_i
:
in
std_logic
;
rx_dat_i
:
in
std_logic_vector
(
31
downto
0
);
rx_stall_o
:
out
std_logic
;
mux_empty_i
:
in
std_logic
;
tag_stb_o
:
out
std_logic
;
tag_dat_o
:
out
t_tag
;
tag_stall_i
:
in
std_logic
;
pass_stb_o
:
out
std_logic
;
pass_dat_o
:
out
std_logic_vector
(
31
downto
0
);
pass_stall_i
:
in
std_logic
;
cfg_o
:
out
t_wishbone_master_out
;
-- cyc always hi
cfg_stall_i
:
in
std_logic
;
wb_o
:
out
t_wishbone_master_out
;
wb_stall_i
:
in
std_logic
);
end
entity
;
architecture
behavioral
of
eb_rx_fsm
is
signal
begin
end
architecture
;
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