Skip to content

Commit

Permalink
format python file
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuchita Khare committed Feb 15, 2024
1 parent be5cfc2 commit 1af7fbd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/lib_i2s/i2s_slave_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,9 @@ def run(self):
# the range 32 - 63, lr_clock outputs 1, else it outputs 0.
time = float(xsi.get_time())

time = self.wait_until_ret(time + (clock_half_period*64)) # Add extra delay to ensure that the i2s_slave device sees the LRCLK transitions in the first for loop below

time = self.wait_until_ret(
time + (clock_half_period * 64)
) # Add extra delay to ensure that the i2s_slave device sees the LRCLK transitions in the first for loop below

lr_counter = data_bits + (data_bits // 2) + (is_i2s_justified)
lr_count_max = (2 * data_bits) - 1
Expand Down Expand Up @@ -176,8 +177,6 @@ def run(self):
xsi.drive_port_pins(self._bclk, bclk1)
time = self.wait_until_ret(time + clock_half_period)



error = False

xsi.drive_port_pins(self._setup_resp_port, 0)
Expand Down

0 comments on commit 1af7fbd

Please sign in to comment.