DIPLODOCUS exception when generating simulation code from a design containing a HWA unit
In case a DIPLODOCUS architecture diagram contains a HWA unit, when generating simulation code the following exception is raised:
slaves: ,static_cast<Slave>(Bridge0),static_cast<Slave>(0),static_cast<Slave>(0),static_cast<Slave>(Bridge0) Exception in thread "Thread-34" java.lang.ClassCastException: tmltranslator.HwA cannot be cast to tmltranslator.HwCPU at tmltranslator.tomappingsystemc2.TML2MappingSystemC.makeDeclarations(TML2MappingSystemC.java:384) at tmltranslator.tomappingsystemc2.TML2MappingSystemC.generateMainFile(TML2MappingSystemC.java:139) at tmltranslator.tomappingsystemc2.TML2MappingSystemC.generateSystemC(TML2MappingSystemC.java:133) at ui.window.JDialogSystemCGeneration.generateCode(JDialogSystemCGeneration.java:835) at ui.window.JDialogSystemCGeneration.run(JDialogSystemCGeneration.java:661) at java.lang.Thread.run(Thread.java:745)