diff options
author | David Shah <davey1576@gmail.com> | 2018-01-29 14:02:37 +0000 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-01-29 14:02:37 +0000 |
commit | aa2b857d7374246d8f026af32cb3a4f7ded867b0 (patch) | |
tree | a6db7ccda2e0b68ed7c19fcda955c409ef33e66f /icetime | |
parent | dd49c058a553bfd1538539197f63847e24fab0f6 (diff) | |
download | icestorm-aa2b857d7374246d8f026af32cb3a4f7ded867b0.tar.gz icestorm-aa2b857d7374246d8f026af32cb3a4f7ded867b0.tar.bz2 icestorm-aa2b857d7374246d8f026af32cb3a4f7ded867b0.zip |
Updated 5k timing data, icetime regression fix
Diffstat (limited to 'icetime')
-rw-r--r-- | icetime/icetime.cc | 11 |
1 files changed, 7 insertions, 4 deletions
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); + } + } } |