Skip to content

Commit

Permalink
Fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsmithTT committed Dec 3, 2024
1 parent 1d8c9dd commit 29762b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/wormhole/test_silicon_driver_wh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,11 @@ TEST(SiliconDriverWH, LargeAddressTlb) {
// Read the scratch register via a different TLB, different code path:
cluster.read_from_device(&value2, ARC_CORE, addr, sizeof(uint32_t), "REG_TLB");

// Mask off lower 16 bits; FW changes these dynamically:
value0 &= 0xffff0000;
value1 &= 0xffff0000;
value2 &= 0xffff0000;

// Check that the values are the same:
EXPECT_EQ(value1, value0);
EXPECT_EQ(value2, value0);
Expand Down

0 comments on commit 29762b8

Please sign in to comment.