Skip to content
Snippets Groups Projects
Commit 1e171e3f authored by Daniela Genius's avatar Daniela Genius
Browse files

bugfix nbproc

parent fda319f9
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ public class AvatarConnector{
}
AvatarConnectingPoint getconectingPoint1(){
return connectingPoint2;
return connectingPoint1;
}
AvatarConnectingPoint getconectingPoint2(){
......
......@@ -49,6 +49,7 @@ public class TopCellGenerator
public String generateTopCell() {
String icn;
/* first test validity of the hardware platform*/
if(TopCellGenerator.avatardd.getNbCPU()==0){
System.out.println("***Warning: require at least one CPU***");
......@@ -108,7 +109,6 @@ public class TopCellGenerator
}
public void saveFile(String path) {
try {
System.err.println(path + GENERATED_PATH + "top.cc");
FileWriter fw = new FileWriter(path + GENERATED_PATH + "/top.cc");
......@@ -119,6 +119,7 @@ public class TopCellGenerator
}
saveFileDeploy(path);
saveFileProcinfo(path);
saveFileNBproc(path);
}
public void saveFileDeploy(String path) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment