From 472fd1a56f0323c3fe43b8f222bdb8b4bcbc07d5 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Wed, 20 Mar 2019 11:38:36 +0100 Subject: icetime: Split timing 'get_delay' functions per device This should reduce the memory requirement during build of icetime, not trying to compile one huge file all at once Signed-off-by: Sylvain Munaut --- icetime/icetime.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'icetime/icetime.cc') diff --git a/icetime/icetime.cc b/icetime/icetime.cc index e7c0cd7..2feedfe 100644 --- a/icetime/icetime.cc +++ b/icetime/icetime.cc @@ -746,7 +746,12 @@ const std::set &get_inports(std::string cell_type) return inports_map.at(cell_type); } -#include "timings.inc" +double get_delay_lp384(std::string cell_type, std::string in_port, std::string out_port); +double get_delay_lp1k(std::string cell_type, std::string in_port, std::string out_port); +double get_delay_lp8k(std::string cell_type, std::string in_port, std::string out_port); +double get_delay_hx1k(std::string cell_type, std::string in_port, std::string out_port); +double get_delay_hx8k(std::string cell_type, std::string in_port, std::string out_port); +double get_delay_up5k(std::string cell_type, std::string in_port, std::string out_port); double get_delay(std::string cell_type, std::string in_port, std::string out_port) { -- cgit v1.2.3