OpenFPGA/libs/EXTERNAL/libtatum/tatum_test/util.hpp

12 lines
385 B
C++
Raw Normal View History

2020-01-03 21:42:17 -06:00
#pragma once
#include <set>
#include <vector>
#include "tatum/TimingGraphFwd.hpp"
#include "tatum/TimingConstraintsFwd.hpp"
#include "tatum/delay_calc/FixedDelayCalculator.hpp"
float relative_error(float A, float B);
void remap_delay_calculator(const tatum::TimingGraph& tg, tatum::FixedDelayCalculator& dc, const tatum::util::linear_map<tatum::EdgeId,tatum::EdgeId>& edge_id_map);