aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ice40/lp1k.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ice40/lp1k.cc')
-rw-r--r--tests/ice40/lp1k.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ice40/lp1k.cc b/tests/ice40/lp1k.cc
index 392cf5c6..c80d43f9 100644
--- a/tests/ice40/lp1k.cc
+++ b/tests/ice40/lp1k.cc
@@ -9,6 +9,7 @@ class LP1KTest : public ::testing::Test
protected:
virtual void SetUp()
{
+ IdString::global_ctx = nullptr;
chipArgs.type = ArchArgs::LP1K;
chipArgs.package = "tq144";
ctx = new Context(chipArgs);
@@ -28,7 +29,7 @@ TEST_F(LP1KTest, bel_names)
ASSERT_EQ(bel, ctx->getBelByName(name));
bel_count++;
}
- ASSERT_EQ(bel_count, 1416);
+ ASSERT_EQ(bel_count, 1418);
}
TEST_F(LP1KTest, wire_names)