aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ice40/up5k.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-23 14:56:30 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-23 14:56:30 +0200
commitc8e7249440c940cca6e15640809f6cb864022249 (patch)
tree2e78787680601ac3703b43d7e68c86cd9adea1cf /tests/ice40/up5k.cc
parent82ec1be31f2a13bca04cf1a6b69789c9cee0e535 (diff)
downloadnextpnr-c8e7249440c940cca6e15640809f6cb864022249.tar.gz
nextpnr-c8e7249440c940cca6e15640809f6cb864022249.tar.bz2
nextpnr-c8e7249440c940cca6e15640809f6cb864022249.zip
Tests pass now
Diffstat (limited to 'tests/ice40/up5k.cc')
-rw-r--r--tests/ice40/up5k.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ice40/up5k.cc b/tests/ice40/up5k.cc
index f6a58b3a..c7de5269 100644
--- a/tests/ice40/up5k.cc
+++ b/tests/ice40/up5k.cc
@@ -9,6 +9,7 @@ class UP5KTest : public ::testing::Test
protected:
virtual void SetUp()
{
+ IdString::global_ctx = nullptr;
chipArgs.type = ArchArgs::UP5K;
chipArgs.package = "sg48";
ctx = new Context(chipArgs);
@@ -28,7 +29,7 @@ TEST_F(UP5KTest, bel_names)
ASSERT_EQ(bel, ctx->getBelByName(name));
bel_count++;
}
- ASSERT_EQ(bel_count, 5414);
+ ASSERT_EQ(bel_count, 5438);
}
TEST_F(UP5KTest, wire_names)