Renaming of Bridge and Memory units in DIPLODOCUS architecture diagram
If a Bridge or a Memory unit are named as "Bridge" or "Memory" without any other heading of trailing characters, the simulation code cannot be compiled. In the case of a Bridge unit, the following g++ compilation error is raised:
out Makefile.defs:39: recipe for target 'lib/appmodel.o' failed out make: Leaving directory '/home/andrea/emb-cloud-ran/designs/TTool/simulators/c++2' error out appmodel.cpp: In constructor ‘CurrentComponents::CurrentComponents()’: error out appmodel.cpp:54:30: error: expected type-specifier before ‘Bridge’ error out Bridge* Bridge = new Bridge(2,"Bridge", 1, 4); error out ^ error out make: *** [lib/appmodel.o] Error 1
A similar error is raised in the case of a Memory unit. Apparently the C++ code generation engine does not add trailing characters to the identifiers of Bridge and Memory objects to distinguish them from the class identifiers Bridge and Memory.