2020-01-15 21:28:04 -06:00
|
|
|
#ifndef OPENFPGA_ARCH_H
|
|
|
|
#define OPENFPGA_ARCH_H
|
2020-01-12 23:39:38 -06:00
|
|
|
|
|
|
|
#include "circuit_library.h"
|
2020-01-17 17:44:57 -06:00
|
|
|
#include "technology_library.h"
|
2020-01-18 13:51:25 -06:00
|
|
|
#include "simulation_setting.h"
|
2020-01-12 23:39:38 -06:00
|
|
|
|
2020-01-16 21:22:56 -06:00
|
|
|
/* namespace openfpga begins */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2020-01-12 23:39:38 -06:00
|
|
|
/* A unified data structure to store circuit-level settings,
|
|
|
|
* including circuit library, technology library and simulation parameters
|
|
|
|
*/
|
2020-01-16 21:22:56 -06:00
|
|
|
struct Arch {
|
2020-01-12 23:39:38 -06:00
|
|
|
CircuitLibrary circuit_lib;
|
2020-01-17 17:44:57 -06:00
|
|
|
TechnologyLibrary tech_lib;
|
2020-01-18 13:51:25 -06:00
|
|
|
SimulationSetting sim_setting;
|
2020-01-12 23:39:38 -06:00
|
|
|
};
|
|
|
|
|
2020-01-16 21:22:56 -06:00
|
|
|
} /* namespace openfpga ends */
|
|
|
|
|
2020-01-12 23:39:38 -06:00
|
|
|
#endif
|