Skip to content

Commit

Permalink
add extra debug register to confirm mapping #798
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Gardner-Stephen committed Apr 4, 2024
1 parent 5695921 commit 43f417d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vhdl/keypad_i2c.vhdl
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ begin
-- Show error status from I2C
fastio_rdata(7 downto 6) <= "10";
fastio_rdata(5 downto 0) <= debug_status;
elsif fastio_addr(7 downto 0) = "11111100" then
fastio_rdata <= x"42";
else
-- Else for debug show busy count
fastio_rdata <= to_unsigned(busy_count,8);
Expand Down

0 comments on commit 43f417d

Please sign in to comment.