From aa2b857d7374246d8f026af32cb3a4f7ded867b0 Mon Sep 17 00:00:00 2001 From: David Shah Date: Mon, 29 Jan 2018 14:02:37 +0000 Subject: Updated 5k timing data, icetime regression fix --- icetime/icetime.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'icetime') diff --git a/icetime/icetime.cc b/icetime/icetime.cc index 66357fa..8365826 100644 --- a/icetime/icetime.cc +++ b/icetime/icetime.cc @@ -496,10 +496,13 @@ void read_chipdb() if(mode == ".extra_cell") { std::string key = std::string(tok); - int x = atoi(strtok(nullptr, " \t\r\n")); - int y = atoi(strtok(nullptr, " \t\r\n")); - std::string name = std::string(strtok(nullptr, " \t\r\n")); - extra_cells[make_tuple(cellname, tile_x, tile_y, cell_z)][key] = make_tuple(x, y, name); + if(key != "LOCKED") { + int x = atoi(strtok(nullptr, " \t\r\n")); + int y = atoi(strtok(nullptr, " \t\r\n")); + std::string name = std::string(strtok(nullptr, " \t\r\n")); + extra_cells[make_tuple(cellname, tile_x, tile_y, cell_z)][key] = make_tuple(x, y, name); + } + } } -- cgit v1.2.3