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

12 lines
385 B
C++

#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);