Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Mock Turtle
Commits
fdc2c469
Commit
fdc2c469
authored
Jul 12, 2022
by
Dimitris Lampridis
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hdl: Also take into account strobe when selecting mqueue slot
parent
c1ff8306
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
mt_mqueue_wishbone_slave.vhd
hdl/rtl/mqueue/mt_mqueue_wishbone_slave.vhd
+6
-4
No files found.
hdl/rtl/mqueue/mt_mqueue_wishbone_slave.vhd
View file @
fdc2c469
...
...
@@ -60,15 +60,17 @@ architecture arch of mt_mqueue_wishbone_slave is
signal
wb_write
:
std_logic
;
signal
wb_read
:
std_logic
;
signal
wb_en
:
std_logic
;
begin
-- arch
wb_en
<=
slave_i
.
cyc
and
slave_i
.
stb
;
slot_num
<=
slave_i
.
adr
(
18
downto
16
);
in_area_sel
<=
slave_i
.
cyc
when
slave_i
.
adr
(
15
)
=
'0'
else
'0'
;
out_area_sel
<=
slave_i
.
cyc
when
slave_i
.
adr
(
15
)
=
'1'
else
'0'
;
in_area_sel
<=
wb_en
when
slave_i
.
adr
(
15
)
=
'0'
else
'0'
;
out_area_sel
<=
wb_en
when
slave_i
.
adr
(
15
)
=
'1'
else
'0'
;
wb_write
<=
slave_i
.
cyc
and
slave_i
.
stb
and
slave_i
.
we
;
wb_read
<=
slave_i
.
cyc
and
slave_i
.
stb
and
not
slave_i
.
we
;
wb_write
<=
wb_en
and
slave_i
.
we
;
wb_read
<=
wb_en
and
not
slave_i
.
we
;
gen_slots
:
for
i
in
0
to
g_CONFIG
.
slot_count
-1
generate
incoming_o
(
i
)
<=
...
...
Dimitris Lampridis
@dlampridis
mentioned in commit
4f4b361d
·
Jan 06, 2023
mentioned in commit
4f4b361d
mentioned in commit 4f4b361d780513a27f9fc6434f5ccc0681ab72e3
Toggle commit list
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