-
Notifications
You must be signed in to change notification settings - Fork 0
/
HardwareComponentConverterTxt.h
41 lines (26 loc) · 1.2 KB
/
HardwareComponentConverterTxt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef HardwareComponentConverterTxt_h
#define HardwareComponentConverterTxt_h
#include "HardwareComponent.h"
#include "ReconfigurableRegion.h"
#include <iostream>
#include <vector>
#include <systemc>
#include <utility>
#include <set>
class HardwareComponentConverterTxt{
public:
public:
HardwareComponentConverterTxt();
std::string translateType(HardwareComponent::DataType *type);
std::string translatePort(HardwareComponent::PortInfo *port);
std::string translateParam(HardwareComponent::Param* paramInfo);
std::string translateSignal(sc_signal_resolved *signal);
std::string translateDeclaration(HardwareComponent::HardwareComponentInfo* compInfo);
std::string getNameForHardwareComponentFile(std::string projectPath, HardwareComponent *topComponent);
std::set<HardwareComponent::HardwareComponentInfo* > getUsedComponents(HardwareComponent *comp);
void buildTopComponentFile(std::string filePath, HardwareComponent *topComponent);
void buildReconfRegionsDescriptionFile(std::string path, std::string projectName, ReconfigurableRegion *region);
std::string buildArchitectureDescriptionFile(std::string path, Architecture *arch);
private:
};
#endif //HardwareComponentConverterTxt_h