diff options
Diffstat (limited to 'tests/ice40/up5k.cc')
-rw-r--r-- | tests/ice40/up5k.cc | 3 |
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) |