aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ice40/lp8k.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/lp8k.cc
parent82ec1be31f2a13bca04cf1a6b69789c9cee0e535 (diff)
downloadnextpnr-c8e7249440c940cca6e15640809f6cb864022249.tar.gz
nextpnr-c8e7249440c940cca6e15640809f6cb864022249.tar.bz2
nextpnr-c8e7249440c940cca6e15640809f6cb864022249.zip
Tests pass now
Diffstat (limited to 'tests/ice40/lp8k.cc')
-rw-r--r--tests/ice40/lp8k.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ice40/lp8k.cc b/tests/ice40/lp8k.cc
index 940e1c20..e8e9cb0b 100644
--- a/tests/ice40/lp8k.cc
+++ b/tests/ice40/lp8k.cc
@@ -9,6 +9,7 @@ class LP8KTest : public ::testing::Test
protected:
virtual void SetUp()
{
+ IdString::global_ctx = nullptr;
chipArgs.type = ArchArgs::LP8K;
chipArgs.package = "ct256";
ctx = new Context(chipArgs);
@@ -28,7 +29,7 @@ TEST_F(LP8KTest, bel_names)
ASSERT_EQ(bel, ctx->getBelByName(name));
bel_count++;
}
- ASSERT_EQ(bel_count, 7968);
+ ASSERT_EQ(bel_count, 7979);
}
TEST_F(LP8KTest, wire_names)