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
ad931f87
Commit
ad931f87
authored
10 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
irqm: correct out-of-date component definition
parent
ae79f336
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/wishbone/wb_irq/wb_irq_pkg.vhd
+21
-15
21 additions, 15 deletions
modules/wishbone/wb_irq/wb_irq_pkg.vhd
with
21 additions
and
15 deletions
modules/wishbone/wb_irq/wb_irq_pkg.vhd
+
21
−
15
View file @
ad931f87
...
...
@@ -93,21 +93,27 @@ package wb_irq_pkg is
name
=>
"IRQ_CTRL "
)));
component
wb_irq_master
is
generic
(
g_channels
:
natural
:
=
32
;
-- number of interrupt lines
g_round_rb
:
boolean
:
=
true
;
-- scheduler true: round robin, false: prioritised
g_det_edge
:
boolean
:
=
true
-- edge detection. true: trigger on rising edge of irq lines, false: trigger on high level
);
port
(
clk_i
:
std_logic
;
-- clock
rst_n_i
:
std_logic
;
-- reset, active LO
--msi if
irq_master_o
:
out
t_wishbone_master_out
;
-- Wishbone msi irq interface
irq_master_i
:
in
t_wishbone_master_in
;
-- ctrl interface
ctrl_slave_o
:
out
t_wishbone_slave_out
;
ctrl_slave_i
:
in
t_wishbone_slave_in
;
--irq lines
irq_i
:
std_logic_vector
(
g_channels
-1
downto
0
)
-- irq lines
);
generic
(
g_channels
:
natural
:
=
32
;
-- number of interrupt lines
g_round_rb
:
boolean
:
=
true
;
-- scheduler true: round robin, false: prioritised
g_det_edge
:
boolean
:
=
true
;
-- edge detection. true: trigger on rising edge of irq lines, false: trigger on high level
g_has_dev_id
:
boolean
:
=
false
;
-- if set, dst adr bits 11..7 hold g_dev_id as device identifier
g_dev_id
:
std_logic_vector
(
4
downto
0
)
:
=
(
others
=>
'0'
);
-- device identifier
g_has_ch_id
:
boolean
:
=
false
;
-- if set, dst adr bits 6..2 hold g_ch_id as device identifier
g_default_msg
:
boolean
:
=
true
-- initialises msgs to a default value in order to detect uninitialised irq master
);
port
(
clk_i
:
std_logic
;
-- clock
rst_n_i
:
std_logic
;
-- reset, active LO
--msi if
irq_master_o
:
out
t_wishbone_master_out
;
-- Wishbone msi irq interface
irq_master_i
:
in
t_wishbone_master_in
;
-- ctrl interface
ctrl_slave_o
:
out
t_wishbone_slave_out
;
ctrl_slave_i
:
in
t_wishbone_slave_in
;
--irq lines
irq_i
:
std_logic_vector
(
g_channels
-1
downto
0
)
-- irq lines
);
end
component
;
component
wb_irq_slave
is
...
...
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