Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit core collection
Commits
3d8841a0
Commit
3d8841a0
authored
Nov 07, 2013
by
Wesley W. Terpstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eca: include a queue suitable for passing actions to a real-time OS
parent
0a65f5dd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
478 additions
and
5 deletions
+478
-5
Manifest.py
modules/wr_eca/Manifest.py
+1
-0
eca_pkg.vhd
modules/wr_eca/eca_pkg.vhd
+11
-5
eca_queue_channel.vhd
modules/wr_eca/eca_queue_channel.vhd
+466
-0
No files found.
modules/wr_eca/Manifest.py
View file @
3d8841a0
...
...
@@ -8,6 +8,7 @@ files = [
"eca_sdp.vhd"
,
"eca_search.vhd"
,
"eca_flags.vhd"
,
"eca_queue_channel.vhd"
,
"eca_walker.vhd"
,
"eca_wb_channel.vhd"
,
"eca_wb_event.vhd"
,
...
...
modules/wr_eca/eca_pkg.vhd
View file @
3d8841a0
...
...
@@ -180,18 +180,24 @@ package eca_pkg is
-- Put the action into a queue and fire an interrupt to 'tag'
component
eca_queue_channel
is
generic
(
g_log_queue_depth
:
natural
:
=
8
;
g_counter_bits
:
natural
:
=
24
;
g_log_clock_factor
:
natural
:
=
8
;
-- clocks q, q, i are within 256*
a2i_dual_clock
:
boolean
:
=
true
;
a2q_dual_clock
:
boolean
:
=
true
);
port
(
a_clk_i
:
in
std_logic
;
a_rst_n_i
:
in
std_logic
;
a_channel_i
:
in
t_channel
;
q_clk_i
:
in
std_logic
;
q_rst_n_i
:
in
std_logic
;
q_slave_i
:
in
t_wishbone_slave_in
;
q_slave_o
:
out
t_wishbone_slave_out
;
i_clk_i
:
in
std_logic
;
i_rst_n_i
:
in
std_logic
;
i_master_o
:
out
t_wishbone_master_out
;
i_master_i
:
in
t_wishbone_master_in
);
i_master_i
:
in
t_wishbone_master_in
;
q_clk_i
:
in
std_logic
;
q_rst_n_i
:
in
std_logic
;
q_slave_i
:
in
t_wishbone_slave_in
;
q_slave_o
:
out
t_wishbone_slave_out
);
end
component
;
-- Put low bits of param to address tag
...
...
modules/wr_eca/eca_queue_channel.vhd
0 → 100644
View file @
3d8841a0
This diff is collapsed.
Click to expand it.
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