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

change include systemc-ams in headers

parent 60f22d36
No related branches found
No related tags found
1 merge request!234New lip6
......@@ -71,7 +71,7 @@ public class Header {
if (tdf != null) {
headerPrimitiveTDF = "#ifndef " + tdf.getName().toUpperCase() + "_H"+ CR
+ "#define " + tdf.getName().toUpperCase() + "_H" + CR2
+ "#include <cmath>" + CR + "#include <iostream>" + CR + "#include <systemc-ams>" + CR2;
+ "#include <cmath>" + CR + "#include <iostream>" + CR + "#include <systemc-ams.h>" + CR2;
} else {
headerPrimitiveTDF = "";
}
......@@ -91,7 +91,7 @@ public class Header {
public static String getClusterHeader(SysCAMSTCluster cluster) {
if (cluster != null) {
headerCluster = "#include <systemc-ams>" + CR;
headerCluster = "#include <systemc-ams.h>" + CR;
LinkedList<SysCAMSTBlockTDF> blocks = cluster.getBlockTDF();
for (SysCAMSTBlockTDF b : blocks) {
......
......@@ -68,7 +68,7 @@ public class HeaderCluster {
if (tdf != null) {
headerPrimitiveTDF = "#ifndef " + tdf.getName().toUpperCase() + "_TDF_H"+ CR
+ "#define " + tdf.getName().toUpperCase() + "_TDF_H" + CR2
+ "#include <cmath>" + CR + "#include <iostream>" + CR + "#include <systemc-ams>" + CR2;
+ "#include <cmath>" + CR + "#include <iostream>" + CR + "#include <systemc-ams.h>" + CR2;
} else {
headerPrimitiveTDF = "";
}
......@@ -93,7 +93,7 @@ public class HeaderCluster {
headerCluster = "#ifndef " + cluster.getClusterName().toUpperCase() + "_TDF_H"+ CR
+ "#define " + cluster.getClusterName().toUpperCase() + "_TDF_H" + CR2;
headerCluster += "#include <systemc-ams>" + CR;
headerCluster += "#include <systemc-ams.h>" + CR;
for (SysCAMSTBlockTDF b : tdf) {
headerCluster = headerCluster + "#include \"" + b.getName() + "_tdf.h\"" + CR;
......
......@@ -71,7 +71,7 @@ public class HeaderSoclib {
if (tdf != null) {
headerPrimitiveTDF = "#ifndef " + tdf.getName().toUpperCase() + "_TDF_H"+ CR
+ "#define " + tdf.getName().toUpperCase() + "_TDF_H" + CR2
+ "#include <cmath>" + CR + "#include <iostream>" + CR + "#include <systemc-ams>" + CR2;
+ "#include <cmath>" + CR + "#include <iostream>" + CR + "#include <systemc-ams.h>" + CR2;
} else {
headerPrimitiveTDF = "";
}
......@@ -96,7 +96,7 @@ public class HeaderSoclib {
headerCluster = "#ifndef " + cluster.getClusterName().toUpperCase() + "_TDF_H"+ CR
+ "#define " + cluster.getClusterName().toUpperCase() + "_TDF_H" + CR2;
headerCluster += "#include <systemc-ams>" + CR;
headerCluster += "#include <systemc-ams.h>" + CR;
for (SysCAMSTBlockTDF b : tdf) {
headerCluster = headerCluster + "#include \"" + b.getName() + "_tdf.h\"" + CR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment