Skip to content

Commit

Permalink
reproduce adjacent register write bug #798
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Gardner-Stephen committed Apr 6, 2024
1 parent e1e0a25 commit 77947f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vhdl/tb_keypad_i2c.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ begin
if debug_reg6 /= x"91" then
assert false report "PCA9555 register had $91 written to it, but contained $" & to_hexstring(debug_reg6) & " after the write.";
end if;
if debug_reg7 /= x"FF" then
assert false report "PCA9555 register 6 had $91 written to it, and reg 7 should have $FF, but contained $" & to_hexstring(debug_reg7) & " after the write to the OTHER register.";
end if;

end if;
end loop;
Expand Down

0 comments on commit 77947f4

Please sign in to comment.