added top process to sim config artifact

This commit is contained in:
Fabian Posch 2024-01-11 19:01:10 -05:00
parent d6ef1dbf0d
commit 9e1cc9d0e4

View file

@ -200,6 +200,8 @@ class ActArtifact: public Artifact {
struct testcase_t { struct testcase_t {
/** Commands to be executed for this testcase */ /** Commands to be executed for this testcase */
std::vector<std::string> commands; std::vector<std::string> commands;
/** Top process for the simulation */
std::string top;
/** This simulation should be run by multiple noes */ /** This simulation should be run by multiple noes */
bool parallelizable; bool parallelizable;
/** Maximum pipeline load factor that should be allowed */ /** Maximum pipeline load factor that should be allowed */
@ -225,7 +227,7 @@ class SimConfigArtifact: public Artifact {
* *
* @return std::vector<testcase_t> Vector of all generated testcase structures * @return std::vector<testcase_t> Vector of all generated testcase structures
*/ */
std::vector<testcase_t> get_content() { return testcases; }; std::vector<testcase_t>& get_content() { return testcases; };
/** /**