URL
https://opencores.org/ocsvn/i2c/i2c/trunk
Subversion Repositories i2c
Compare Revisions
- This comparison shows the changes necessary to convert path
/i2c/trunk
- from Rev 76 to Rev 75
- ↔ Reverse comparison
Rev 76 → Rev 75
/rtl/vhdl/i2c_master_bit_ctrl.vhd
273,9 → 273,7
if (nReset = '0') then |
filter_cnt <= (others => '0'); |
elsif (clk'event and clk = '1') then |
if ( (rst = '1') or (ena = '0') ) then |
filter_cnt <= (others => '0'); |
elsif (filter_cnt = 0) then |
if ((rst = '1') or (filter_cnt = 0)) then |
filter_cnt <= clk_cnt(15 downto 2); |
else |
filter_cnt <= filter_cnt -1; |