OpenCores
URL https://opencores.org/ocsvn/i2c/i2c/trunk

Subversion Repositories i2c

[/] [i2c/] [trunk/] [rtl/] [vhdl/] [i2c_master_bit_ctrl.vhd] - Diff between revs 38 and 39

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 38 Rev 39
Line 35... Line 35...
----                                                             ----
----                                                             ----
---------------------------------------------------------------------
---------------------------------------------------------------------
 
 
--  CVS Log
--  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 $
--  $Date: 2003-08-12 14:48:37 $
--  $Revision: 1.8 $
--  $Revision: 1.9 $
--  $Author: rherveille $
--  $Author: rherveille $
--  $Locker:  $
--  $Locker:  $
--  $State: Exp $
--  $State: Exp $
--
--
-- Change History:
-- Change History:
--               $Log: not supported by cvs2svn $
--               $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
--               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.
--               Fixed a bug where the core would trigger an erroneous 'arbitration lost' interrupt after being reset, when the reset pulse width < 3 clk cycles.
--
--
--               Revision 1.6  2003/02/01 02:03:06  rherveille
--               Revision 1.6  2003/02/01 02:03:06  rherveille
--               Fixed a few 'arbitration lost' bugs. VHDL version only.
--               Fixed a few 'arbitration lost' bugs. VHDL version only.
Line 280... Line 284...
              elsif (clk'event and clk = '1') then
              elsif (clk'event and clk = '1') then
                if (rst = '1') then
                if (rst = '1') then
                  cmd_stop  <= '0';
                  cmd_stop  <= '0';
                  ial       <= '0';
                  ial       <= '0';
                else
                else
                  if (clk_en = '1') then
                  if (clk_en = '1' and cmd = I2C_CMD_STOP) then
                    if (cmd = I2C_CMD_STOP) then
 
                      cmd_stop <= '1';
                      cmd_stop <= '1';
                    else
                    else
                      cmd_stop <= '0';
                      cmd_stop <= '0';
                    end if;
                    end if;
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.