chili-chips-ba / openeye-CamSI

A truly opensource camera serial interface. No frills. No backdoors that compromise security. Outstanding signal integrity. Hi-rez video pipeline with remote connectivity. For Sony, Series7 & open FPGA makers on limited budget. Augments openXC7 CI/CD, challenging its timing-savvy. Promotes the lesser-known EU boards.
https://nlnet.nl/project/TISG
BSD 3-Clause "New" or "Revised" License
25 stars 5 forks source link

issue#3 - Optimizations of I2C Master controller #16

Open Juninho99 opened 5 months ago

Juninho99 commented 5 months ago

Improvement: i2c_top/i2c_ctrl.sv Module

Description

We need to enhance the i2c_top.sv and i2c_ctrl.sv modules by addressing several critical issues and optimizing its performance. The following tasks have been identified for this improvement:

Tasks

Details

1. Remove Unnecessary Flip-Flops

There are several flip-flops in the current design that are either not used or are redundant. These need to be identified and removed to streamline the module.

2. Fix Clock 'Runt' Issue

There is a known issue where a 'runt' clock pulse appears immediately after activation. This needs to be fixed to ensure stable clock signals throughout the module's operation.

3. Detailed Simulation of State Transitions

A thorough simulation is required to closely observe the transitions between states. Particular focus should be on the behavior of the clock signal during these transitions to ensure smooth and error-free operation.

4. Eliminate Redundant State

There appears to be a redundant state in the state machine. This state should be identified and removed to simplify the state machine and improve the efficiency of the module.

chili-chips-ba commented 2 months ago

@Juninho99 is this ripe now for closure?