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