diff options
author | David Shah <dave@ds0.me> | 2020-03-29 09:53:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-29 09:53:06 +0100 |
commit | 3d3b222e2a130a5a21c326262c7d208b49bbad67 (patch) | |
tree | 6c77696798a669a784d37e2a41def9d98b3c3822 /ice40 | |
parent | a3ede0293a50c910e7d96319b2084d50f2501a6b (diff) | |
parent | bd68d6035cfb4b49bc7a2183a8ce751c3b7c5b57 (diff) | |
download | nextpnr-3d3b222e2a130a5a21c326262c7d208b49bbad67.tar.gz nextpnr-3d3b222e2a130a5a21c326262c7d208b49bbad67.tar.bz2 nextpnr-3d3b222e2a130a5a21c326262c7d208b49bbad67.zip |
Merge pull request #415 from smunaut/fix_iob_oe_reg
ice40: Fix output register timing analysis for registered output enable
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/arch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index a43c4c21..6d07a949 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -1037,7 +1037,7 @@ TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, in } } if (port == id_OUTPUT_ENABLE) { - if ((cell->ioInfo.pintype & 0x18) == 0x18) { + if ((cell->ioInfo.pintype & 0x30) == 0x30) { return TMG_REGISTER_INPUT; } else { return TMG_ENDPOINT; |