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
caa41a3d
Commit
caa41a3d
authored
Apr 04, 2018
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix slot addresses in mockturtle_queue.h
parent
e87abb14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mockturtle_queue.h
software/include/hw/mockturtle_queue.h
+2
-2
No files found.
software/include/hw/mockturtle_queue.h
View file @
caa41a3d
...
...
@@ -20,9 +20,9 @@
// Common for all incoming/outgoing slots in the queue
#define TRTL_MQ_BASE_GCR (0x0)
// Incoming slot base address, relative to BASE_HMQ
#define TRTL_MQ_BASE_IN(slot) (0x4000 + (
slot) * 0x400
)
#define TRTL_MQ_BASE_IN(slot) (0x4000 + (
(slot) << 16)
)
// Outgoung slot base address, relative to BASE_HMQ
#define TRTL_MQ_BASE_OUT(slot) (0x8000 + (
slot) * 0x400
)
#define TRTL_MQ_BASE_OUT(slot) (0x8000 + (
(slot) << 16)
)
// MQ slot registers, relative to the base address of each slot: TRTL_MQ_BASE_IN(slot_no) or TRTL_MQ_BASE_OUT(slot_no)
#define TRTL_MQ_SLOT_COMMAND 0
...
...
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