Commit e2860fde authored by Federico Vaga's avatar Federico Vaga

wrtd: define RT version

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent 3b1a65a0
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
#ifndef __WRTD_COMMON_H #ifndef __WRTD_COMMON_H
#define __WRTD_COMMON_H #define __WRTD_COMMON_H
#define WRTD_IN_RT_ID 0x347D0000
#define WRTD_OUT_RT_ID 0x347D0001
/* WR Node CPU Core indices */ /* WR Node CPU Core indices */
#define WRTD_CPU_TDC 0 /* Core 0 controls the TDC mezzanine */ #define WRTD_CPU_TDC 0 /* Core 0 controls the TDC mezzanine */
#define WRTD_CPU_FD 1 /* Core 1 controls the FD mezzanine */ #define WRTD_CPU_FD 1 /* Core 1 controls the FD mezzanine */
......
...@@ -438,7 +438,7 @@ struct rt_application app = { ...@@ -438,7 +438,7 @@ struct rt_application app = {
.name = "wrtd-input", .name = "wrtd-input",
.version = { .version = {
.fpga_id = 0x115790de, .fpga_id = 0x115790de,
.rt_id = 0xbadc0fee, .rt_id = WRTD_IN_RT_ID,
.rt_version = RT_VERSION(2, 0), .rt_version = RT_VERSION(2, 0),
.git_version = GIT_VERSION .git_version = GIT_VERSION
}, },
......
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