~ruther/vhdl-i2c

987035cd215d71ee109cae9038fe55d6cf83ea76 — Rutherther 1 year, 5 months ago ae22db9
fix: full_on skips indices
1 files changed, 2 insertions(+), 2 deletions(-)

M src/ssd1306/full_on.vhd
M src/ssd1306/full_on.vhd => src/ssd1306/full_on.vhd +2 -2
@@ 98,10 98,10 @@ begin  -- architecture a1
                (curr_index + 1) when go_next = '1' else
                curr_index;

  go_next <= '1' when tx_ready = '1' and curr_index < INIT_DATA'length else '0';
  go_next <= '1' when tx_ready = '1' and curr_index < INIT_DATA'length and curr_state = COUNT else '0';


  tx_valid <= '1' when tx_ready = '1' and curr_index < INIT_DATA'length else '0';
  tx_valid <= '1' when go_next = '1' else '0';
  tx_data <= INIT_DATA(curr_index) when curr_index < INIT_DATA'length else "00000000";

  next_state <= START when start_i = '1' and curr_state = IDLE else

Do not follow this link