Commit caa41a3d authored by Tristan Gingold's avatar Tristan Gingold

Fix slot addresses in mockturtle_queue.h

parent e87abb14
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment