diff options
author | David Shah <davey1576@gmail.com> | 2019-02-20 09:43:12 +0000 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2019-02-20 21:23:43 +0000 |
commit | a7ea3f58e32a910f02d8dd7923a44d75a2b06e57 (patch) | |
tree | c781698d5b3015be00f4bb1d17fc82be970404ff | |
parent | 4c7306185e68824cd24e666946ca7b277169c16b (diff) | |
download | nextpnr-a7ea3f58e32a910f02d8dd7923a44d75a2b06e57.tar.gz nextpnr-a7ea3f58e32a910f02d8dd7923a44d75a2b06e57.tar.bz2 nextpnr-a7ea3f58e32a910f02d8dd7923a44d75a2b06e57.zip |
ice40: Fix timing class of 'padin' GB outputs
Signed-off-by: David Shah <davey1576@gmail.com>
-rw-r--r-- | ice40/arch.cc | 2 | ||||
m--------- | tests | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index 23a2130c..4370b581 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -1021,7 +1021,7 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, in return TMG_IGNORE; } else if (cell->type == id_SB_GB) { if (port == id_GLOBAL_BUFFER_OUTPUT) - return TMG_COMB_OUTPUT; + return cell->gbInfo.forPadIn ? TMG_GEN_CLOCK : TMG_COMB_OUTPUT; return TMG_COMB_INPUT; } else if (cell->type == id_SB_WARMBOOT) { return TMG_ENDPOINT; diff --git a/tests b/tests -Subproject 691dfb8204131bec7f1c5e139764bf418640f94 +Subproject baf928b5c688d1d8409da28f76c36f74e79a93a |