aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-03-29 09:53:06 +0100
committerGitHub <noreply@github.com>2020-03-29 09:53:06 +0100
commit3d3b222e2a130a5a21c326262c7d208b49bbad67 (patch)
tree6c77696798a669a784d37e2a41def9d98b3c3822 /ice40
parenta3ede0293a50c910e7d96319b2084d50f2501a6b (diff)
parentbd68d6035cfb4b49bc7a2183a8ce751c3b7c5b57 (diff)
downloadnextpnr-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.cc2
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;