2020-02-15 21:38:45 -06:00
|
|
|
/******************************************************************************
|
|
|
|
* Memember functions for data structure FlowManager
|
|
|
|
******************************************************************************/
|
|
|
|
#include "openfpga_flow_manager.h"
|
|
|
|
|
2022-10-06 19:08:50 -05:00
|
|
|
#include "vtr_assert.h"
|
|
|
|
|
2020-02-15 21:38:45 -06:00
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2020-03-22 16:26:15 -05:00
|
|
|
/**************************************************
|
|
|
|
* Public Constructor
|
|
|
|
*************************************************/
|
|
|
|
FlowManager::FlowManager() {
|
|
|
|
/* Turn off compress_routing as default */
|
|
|
|
compress_routing_ = false;
|
|
|
|
}
|
|
|
|
|
2020-02-15 21:38:45 -06:00
|
|
|
/**************************************************
|
2022-10-06 19:08:50 -05:00
|
|
|
* Public Accessors
|
2020-02-15 21:38:45 -06:00
|
|
|
*************************************************/
|
2022-10-06 19:08:50 -05:00
|
|
|
bool FlowManager::compress_routing() const { return compress_routing_; }
|
2020-02-15 21:38:45 -06:00
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* Private Mutators
|
|
|
|
******************************************************************************/
|
|
|
|
void FlowManager::set_compress_routing(const bool& enabled) {
|
|
|
|
compress_routing_ = enabled;
|
|
|
|
}
|
|
|
|
|
|
|
|
} /* end namespace openfpga */
|