-
Notifications
You must be signed in to change notification settings - Fork 0
/
Architecture.h
37 lines (28 loc) · 849 Bytes
/
Architecture.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
#ifndef Architecture_h
#define Architecture_h
#include "HardwareComponent.h"
/**
* An architecture is composed by a hardware component synthesized for
* a specific reconfigurable region
**/
class Architecture{
public:
/*Hardware componenent that is the top component in this architecture*/
HardwareComponent *topComponent;
/*Region in which this arcthicture fits into*/
std::string regionName;
/*architecture identifier*/
int uid;
/*bitstream used to implement this architecture*/
std::string bitstream;
/*description file containing the main components into this architecture*/
std::string descriptionFile;
public:
Architecture(HardwareComponent *topComponent, std::string regionName) : topComponent(topComponent), regionName(regionName)
{
uid = -1;
bitstream = "";
descriptionFile = "";
}
};
#endif