From b39798b9d053f6196854ea35ed2185fc64db0db4 Mon Sep 17 00:00:00 2001
From: apvrille <ludovic.apvrille@eurecom.fr>
Date: Mon, 13 May 2019 09:23:59 +0200
Subject: [PATCH] Update on FPGA: xml with ID

---
 simulators/c++2/src_simulator/arch/FPGA.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/simulators/c++2/src_simulator/arch/FPGA.cpp b/simulators/c++2/src_simulator/arch/FPGA.cpp
index 464ee183e7..519b925f79 100644
--- a/simulators/c++2/src_simulator/arch/FPGA.cpp
+++ b/simulators/c++2/src_simulator/arch/FPGA.cpp
@@ -388,7 +388,7 @@ int FPGA::allTrans2XML(std::ostringstream& glob, int maxNbOfTrans) const {
   int total = 0;
   for(TransactionList::const_iterator i=_transactList.begin(); i != _transactList.end(); ++i){
     if (cpt >= begining) {
-      (*i)->toXML(glob, 0, _name);
+      (*i)->toXML(glob, 0, _name, _ID);
       total ++;
     }
     cpt ++;
@@ -401,7 +401,7 @@ void FPGA::latencies2XML(std::ostringstream& glob, unsigned int id1, unsigned in
   for(TransactionList::const_iterator i=_transactList.begin(); i != _transactList.end(); ++i){
     if ((*i)->getCommand() !=NULL){
       if ((*i)->getCommand()->getID() == id1 || (*i)->getCommand()->getID() == id2){
-        (*i)->toXML(glob, 0, _name);
+        (*i)->toXML(glob, 0, _name, _ID);
       }
     }
   }
-- 
GitLab