URL
https://opencores.org/ocsvn/i2c/i2c/trunk
Subversion Repositories i2c
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 38 to Rev 39
- ↔ Reverse comparison
Rev 38 → Rev 39
/trunk/rtl/vhdl/i2c_master_bit_ctrl.vhd
37,10 → 37,10
|
-- CVS Log |
-- |
-- $Id: i2c_master_bit_ctrl.vhd,v 1.8 2003-08-09 07:01:13 rherveille Exp $ |
-- $Id: i2c_master_bit_ctrl.vhd,v 1.9 2003-08-12 14:48:37 rherveille Exp $ |
-- |
-- $Date: 2003-08-09 07:01:13 $ |
-- $Revision: 1.8 $ |
-- $Date: 2003-08-12 14:48:37 $ |
-- $Revision: 1.9 $ |
-- $Author: rherveille $ |
-- $Locker: $ |
-- $State: Exp $ |
47,6 → 47,10
-- |
-- Change History: |
-- $Log: not supported by cvs2svn $ |
-- Revision 1.8 2003/08/09 07:01:13 rherveille |
-- Fixed a bug in the Arbitration Lost generation caused by delay on the (external) sda line. |
-- Fixed a potential bug in the byte controller's host-acknowledge generation. |
-- |
-- Revision 1.7 2003/02/05 00:06:02 rherveille |
-- Fixed a bug where the core would trigger an erroneous 'arbitration lost' interrupt after being reset, when the reset pulse width < 3 clk cycles. |
-- |
282,12 → 286,11
cmd_stop <= '0'; |
ial <= '0'; |
else |
if (clk_en = '1') then |
if (cmd = I2C_CMD_STOP) then |
cmd_stop <= '1'; |
else |
cmd_stop <= '0'; |
end if; |
if (clk_en = '1' and cmd = I2C_CMD_STOP) then |
cmd_stop <= '1'; |
else |
cmd_stop <= '0'; |
end if; |
|
ial <= (sda_chk and not sSDA and isda_oen) or (sto_condition and not cmd_stop); |
end if; |