URL
https://opencores.org/ocsvn/i2c/i2c/trunk
Subversion Repositories i2c
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 46 to Rev 47
- ↔ Reverse comparison
Rev 46 → Rev 47
/trunk/rtl/verilog/i2c_master_byte_ctrl.v
37,10 → 37,10
|
// CVS Log |
// |
// $Id: i2c_master_byte_ctrl.v,v 1.6 2003-08-09 07:01:33 rherveille Exp $ |
// $Id: i2c_master_byte_ctrl.v,v 1.7 2004-02-18 11:40:46 rherveille Exp $ |
// |
// $Date: 2003-08-09 07:01:33 $ |
// $Revision: 1.6 $ |
// $Date: 2004-02-18 11:40:46 $ |
// $Revision: 1.7 $ |
// $Author: rherveille $ |
// $Locker: $ |
// $State: Exp $ |
47,6 → 47,10
// |
// Change History: |
// $Log: not supported by cvs2svn $ |
// Revision 1.6 2003/08/09 07:01:33 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.5 2002/12/26 15:02:32 rherveille |
// Core is now a Multimaster I2C controller |
// |
220,7 → 224,7
ld <= #1 1'b0; |
cmd_ack <= #1 1'b0; |
|
case (c_state) // synopsis full_case parallel_case |
case (c_state) // synopsys full_case parallel_case |
ST_IDLE: |
if (go) |
begin |
243,9 → 247,6
begin |
c_state <= #1 ST_STOP; |
core_cmd <= #1 `I2C_CMD_STOP; |
|
// generate command acknowledge signal |
cmd_ack <= #1 1'b1; |
end |
|
ld <= #1 1'b1; |
320,9 → 321,6
// assign ack_out output to bit_controller_rxd (contains last received bit) |
ack_out <= #1 core_rxd; |
|
// // generate command acknowledge signal |
// cmd_ack <= #1 1'b1; |
|
core_txd <= #1 1'b1; |
end |
else |
/trunk/rtl/vhdl/i2c_master_byte_ctrl.vhd
37,10 → 37,10
|
-- CVS Log |
-- |
-- $Id: i2c_master_byte_ctrl.vhd,v 1.4 2003-08-09 07:01:13 rherveille Exp $ |
-- $Id: i2c_master_byte_ctrl.vhd,v 1.5 2004-02-18 11:41:48 rherveille Exp $ |
-- |
-- $Date: 2003-08-09 07:01:13 $ |
-- $Revision: 1.4 $ |
-- $Date: 2004-02-18 11:41:48 $ |
-- $Revision: 1.5 $ |
-- $Author: rherveille $ |
-- $Locker: $ |
-- $State: Exp $ |
47,6 → 47,10
-- |
-- Change History: |
-- $Log: not supported by cvs2svn $ |
-- Revision 1.4 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.3 2002/12/26 16:05:47 rherveille |
-- Core is now a Multimaster I2C controller. |
-- |
271,7 → 275,6
else -- stop |
c_state <= st_stop; |
core_cmd <= I2C_CMD_STOP; |
host_ack <= '1'; -- generate acknowledge signal |
end if; |
|
ld <= '1'; |