aboutsummaryrefslogtreecommitdiffstats
path: root/icetime/icetime.cc
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2019-03-20 11:38:36 +0100
committerSylvain Munaut <tnt@246tNt.com>2019-03-20 11:38:36 +0100
commit472fd1a56f0323c3fe43b8f222bdb8b4bcbc07d5 (patch)
tree2cb295d7859f13795a28e9194c2c6efa5d1a7713 /icetime/icetime.cc
parentfa1c932452e8efe1dfcc6ff095e3f7130a7906b1 (diff)
downloadicestorm-472fd1a56f0323c3fe43b8f222bdb8b4bcbc07d5.tar.gz
icestorm-472fd1a56f0323c3fe43b8f222bdb8b4bcbc07d5.tar.bz2
icestorm-472fd1a56f0323c3fe43b8f222bdb8b4bcbc07d5.zip
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 <tnt@246tNt.com>
Diffstat (limited to 'icetime/icetime.cc')
-rw-r--r--icetime/icetime.cc7
1 files changed, 6 insertions, 1 deletions
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<std::string> &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)
{