OpenFPGA/libs/EXTERNAL/libtatum/libtatumparse/tatumparse/tatumparse_common.hpp

25 lines
417 B
C++
Raw Normal View History

2020-01-03 21:42:17 -06:00
#ifndef TATUMPARSE_COMMON_HPP
#define TATUMPARSE_COMMON_HPP
#include "tatumparse.hpp"
namespace tatumparse {
struct NodeTag {
NodeTag(int domain, float arr_val, float req_val)
: domain_id(domain), arr(arr_val), req(req_val) {}
int domain_id;
float arr;
float req;
};
struct NodeResult {
int id;
std::vector<NodeTag> tags;
};
}
#endif